Тёмный

Authentication Flow in Next.js (Complete Tutorial) 

Cosden Solutions
Подписаться 110 тыс.
Просмотров 8 тыс.
50% 1

Опубликовано:

 

24 окт 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 50   
@rog0079
@rog0079 День назад
Finally, someone not using 3rd party libraries to implement authentication. Thanks for this!
@hikmetmelik
@hikmetmelik 2 дня назад
Sir, you are the best instructor ever. I started a brand new project with Next.js and you uploaded a fresh new video right on topic. Thank you! (I commented before watching it, I'm sure it's great anyway ) 🔥
@mohamedsalimbensalem6118
@mohamedsalimbensalem6118 Час назад
you're the best instructor I've ever found! I've been watching your tutorials since you had 1K subscribers. I'd really appreciate it if you could cover more about React Native.
@kunnykk6468
@kunnykk6468 2 дня назад
Finally, the Next.js course is up! I knew you’d come through, dude🔥
@yonathanhailemelekot5238
@yonathanhailemelekot5238 2 дня назад
The most underrated React/Next.js YT channel. you deserve more recogition Sir.
@denisshvets7768
@denisshvets7768 2 дня назад
Just in time. I was researching the topic and this video came out. What a luck. Thanks.
@insensibility
@insensibility 2 дня назад
I was just watching one of your shorts, wishing you could do NextJS. You're awesome, man. I keep on recommending you to people wanting to learn React and Tanstack. You're the GOAT!
@ShaynPutnam
@ShaynPutnam 2 дня назад
Literally just found this dude yesterday, and today he puts out a video of EXACTLY what I was looking for!!!
@merlinmeraldz
@merlinmeraldz 2 дня назад
I really like your videos 🎉 Hopefully we get more NextJs videos. Thanks a lot for a well explained content.
@MrDerterminator1992
@MrDerterminator1992 2 дня назад
Thank you so much for showing the bare minimum to really understand the required steps in auth. FYI, you get the pending state as the third argument directly from useActionState hook. const [state, formAction, isPending] = useActionState(fn, initialState)
@jayelemartermulo8574
@jayelemartermulo8574 22 часа назад
thank you so much. you make it such that i can make a nextjs app with a separate backend without depending in 3rd party library
@Amitkumar-ps1dt
@Amitkumar-ps1dt 2 дня назад
I am from India I am big fan of you and your tutorial specific on React, and Next Kindly make some videos on node, express and Mongo also Your videos helps a lot Thanks Love from India
@gagancg1433
@gagancg1433 20 часов назад
Great Video finally ! It would be nice to have auto refresh token implementation in nextjs
@Q-Productions23
@Q-Productions23 2 дня назад
Hey, Bro Could you Please make this but in the scenario where Nodejs is the backend and Nextjs Frontend?
@_andrewpeacock
@_andrewpeacock 2 дня назад
Would *LOVE* to see some more content on Remix or the new Tanstack Start
@Farruh_13
@Farruh_13 2 дня назад
Do you plan to make a video about Front-end architecture?
@mehmethanifierenler3612
@mehmethanifierenler3612 День назад
very very thanks
@codesius
@codesius 2 дня назад
I believe useActionState also now returns isPending state (the old useFormState did not), so I don't think you need to rely on useFormStatus just for pending anymore. I could be wrong though. It's been some time since I read the docs on it.
@LehmannMr
@LehmannMr 20 часов назад
You should take a look at next-safe-action. This takes it even a step further.
@patrickamaechi1881
@patrickamaechi1881 День назад
would be great to also maybe include refresh token rotation just to extend the feature already implemented
@void-deus
@void-deus 2 дня назад
wow thanks
@ElektronikZarmaa
@ElektronikZarmaa 19 часов назад
Thank you. Where is the starter code? Is it a code-along tuto?
@kinggrey2511
@kinggrey2511 2 дня назад
Can we have more interviews like proper interview I got asked questions like event loop, event bubling difference between http server and express etc stuff I know it was a kinda big company but iam a 3rd students like who ask those questions. I prefer these kind of interview questions please also thanks for your hooks playlist.❤❤❤❤
@cb73
@cb73 День назад
Good stuff… just a little side note on login validation. There is no reason to validate passwords when logging in.
@rgagankumar5191
@rgagankumar5191 2 дня назад
Great tutorial. Confusing part is how do i extend the session expiry time, when they are logged in Need help on this.. 🙏🏻🙏🏻
@bharatdubey83
@bharatdubey83 2 дня назад
WHEN WILL THE NEXT JS COURSE COME
@sidalisaadi1961
@sidalisaadi1961 2 дня назад
Great video! I would like to know how auth solutions like clerk work, do you have to make a request for their api each time you need to verify the auth? how does the hooks to get user work..?
@cosdensolutions
@cosdensolutions День назад
You use their API as a backend, and then they also store cookies that the hooks use. It's basically what we did but they manage all for you and expose some hooks and components to use
@balduin_b4334
@balduin_b4334 2 дня назад
did you verify that the middleware is working on a vercel deployment of nextjs? i dont think it works because jose isnt edge runtime compatible.
@novianto2346
@novianto2346 2 дня назад
How about using react hook form for form handling? Can we combine the server action with react hook form?
@cosdensolutions
@cosdensolutions День назад
yeah you can!
@datle2863
@datle2863 День назад
Is the middleware file actually used here or it is just for server simulation? I dont see you use it anywhere so im curious
@cosdensolutions
@cosdensolutions День назад
Next.js automatically uses it and runs it before every request
@hieunguyen0801
@hieunguyen0801 2 дня назад
Can you make a video tutorial on custom fetch of nextjs like axios in a real project?
@harou22
@harou22 34 минуты назад
Can you not crash the server by spoofing the formData requests and sending e.g. null instead? Object.fromEntries(null) will throw with type error.
@kennethlau8108
@kennethlau8108 День назад
can this tutorial to be redone in nextjs 14 without useActionState as nextjs 15 is still quite buggy for production.
@waleedsharif618
@waleedsharif618 2 дня назад
Same steps with NextJS 15 ? Which released today
@cosdensolutions
@cosdensolutions 2 дня назад
yeah this is 15
@vikashmaurya9824
@vikashmaurya9824 2 дня назад
How I can implement csrf token in nextjs with authentication?
@vira5995
@vira5995 2 дня назад
next video on nextauth Please🙏
@dasarimanoj3086
@dasarimanoj3086 2 дня назад
Are we actually getting Next.js tutorials on this channel?
@cosdensolutions
@cosdensolutions 2 дня назад
What do you mean?
@dhanrajshetty645
@dhanrajshetty645 2 дня назад
​@@cosdensolutions Since you post react videos that's why.
@cosdensolutions
@cosdensolutions 2 дня назад
Yeah sure, but that comment felt like it was a bad thing and I just wanted to clarify and understand
@dasarimanoj3086
@dasarimanoj3086 День назад
@@cosdensolutions Noo 🥲sorry if I have framed the question in that way. I was asking can we expect more of nextjs content on this channel further going is what I was requesting you 😅
@seagull2345
@seagull2345 15 часов назад
Same thing for React Native, please.
@niklausmikaelson7332
@niklausmikaelson7332 День назад
Refresh token ?
@tonyvito5062
@tonyvito5062 50 минут назад
Not secure tho and could have a lot of issues since you're not refreshing that jwt token
@EmilWall
@EmilWall 2 дня назад
passwrong 😂😂
Далее
Svelte 5 Is Like React, But Better
19:33
Просмотров 57 тыс.
HOC Pattern in React
20:51
Просмотров 11 тыс.
How is this Website so fast!?
13:39
Просмотров 558 тыс.
Next.js 15 is here! Does it fix Next 14?
10:29
Просмотров 32 тыс.
Next.js 15 just fixed Server Actions (faster & safer)
8:13
FREE maps for any app - replace Google maps TODAY
27:21
Svelte 5 Ruined Svelte (and that's why I love it)
12:37
Google Drive hates developers now
23:56
Просмотров 80 тыс.
Zod Validation in React (Complete Tutorial)
29:44
Просмотров 10 тыс.
This Folder Structure Makes Me 100% More Productive
24:36
No One Hires Jr Devs So I Made A Game
39:31
Просмотров 224 тыс.