I'm searching for next auth and when i Found lama dev made a video about auth I feel happy.
@keithgoddard41929 ай бұрын
Wow, this was so useful... your tutorials on NextJS have been a a lifesaver!
@AdeebJamil-k8n19 күн бұрын
00:04 Learn cookie-based authentication in Next.js without external libraries. 03:01 Creating a navigation bar and setting up authentication in Next.js. 09:02 Store secret keys and configure cookie options for sessions. 12:05 Implementing cookie-based authentication with session management in Next.js. 17:49 Implement user authentication with form data and session management. 20:42 Implementing session management and authentication in Next.js with cookie sessions. 26:22 Implement session checks and user redirection for authentication. 29:19 Updating user session without a database using revalidation. 35:08 Validate user sessions to manage access and permissions effectively. 37:54 Easily manage user sessions in Next.js with custom solutions. Crafted by Merlin AI.
@alexandrmeyer9 ай бұрын
Thank you VERY MUCH for a great introduction into Iron session. There is no much info about it. If you do more projects on the subject that would be megafantastic!
@b166er410 ай бұрын
i start 3 years ago with Lama ;), thx for all your content, i was just finishing updating my nextauth with typscript zod, and server actions.... i just make a suggestion, why dont you use middleware to control page access ? as you do in your mern project... i find it more clean and more safe ... happy coding my friend ;)
@Vg_19_0810 ай бұрын
Thank you for this, can you go more deep like ,role based auth like user,admin,super admin. And also route protection based on routes.Sociak media auth like google and github.Thank you
@theway_up10 ай бұрын
Perfect. Thanks for your content!
@NoorAziz-j1m9 ай бұрын
Your videos are amazing as usual, please create a course on next auth with next 14 using providers, protecting routes using middleware, thanks,
@emredurgunlu75709 ай бұрын
Excellent tutorial. Thank you very much.
@dennisngari355710 ай бұрын
Thanks lamadev. This one came at the right time..
@ioabhishek10 ай бұрын
Dropped at the right time, Thanks Lamadev
@dzseroldfabian45749 ай бұрын
I would like to see more video about advanced topics related to this
@san.d_10 ай бұрын
Thanks for another awesome tutorial, Lama. I really appreciate it.
@Praveen-x6b10 ай бұрын
thank you my dear brother...
@nyctophillia22929 ай бұрын
ITS that easy guys ♥😊 love ur content bro thank you so much ✨📚
@StenWasTaken7 ай бұрын
raelly good tutorial, i really like that you explain whats going on too
@nthiwafelix79679 ай бұрын
Thanks, really helpful.
@saar2r8 ай бұрын
AMAZING! Thank you so much for this clear video 🔥🔥
@umidbekermatov849310 ай бұрын
Thanks for the tutorial. Now I have a problem with internationalization in Next js 14 with Auth js V5. It would be perfect if the next tutorial is about it
@rasputinmoore9 ай бұрын
cool videooo.... since you're asking what kind of videos we'd like to watch i propose you one: Next.js with AWS with Lambda functions
@Gustavo-bi4hv10 ай бұрын
Could you give example using Social auth?
@pjborowiecki257710 ай бұрын
@LamaDev Thank you for this video. I agree with Gustavo-bi4hv, a continuation to this tutorial with OAuth social sign in or/and magic links would be great
@iredoxtech710410 ай бұрын
Thank you for doing this
@SantoshKumar-sm8pc10 ай бұрын
I will watch later but i hit like first because your content is always awesome thank you
@zabihullahjan256910 ай бұрын
Love you lama dev 😘😘😘😘😘😘😘😘 thanks alot for that video 🎉❤
@jaay068 ай бұрын
Thank you for this tutorial, been wishing to know more about auth And yes, please do more auth tutorials, maybe on on nextauth
@xczm2259 ай бұрын
damn cool video! sure please do more advanced stuff!
@Ethan_4049 ай бұрын
thank sir. that is literally helped me....
@coder533610 ай бұрын
Great
@agrikmajumdar19374 ай бұрын
Never knew that Mario's such a skill developer along with a skilled plumber
@mastergammer1008 ай бұрын
This worked for me, thank you a lot
@artrsv9 ай бұрын
Thank you for the video! Can you tell me how to access user data in client components in this configuration?
@shubhjhawar53909 ай бұрын
⨯ Error: Server Functions cannot be called during initial render. This would create a fetch waterfall. Try to use a Server Component to pass data to Client Components instead. I get this error when I try to get Session details in my client component, but your's is working in the same way. what am I missing?
@imkir4n10 ай бұрын
Wow perfect timing.
@mounir10110 ай бұрын
Great one! is this easiest way better than using middleware? thanks a lot and keep up the good work.
@imkir4n10 ай бұрын
please continue this and show us the important things such as token rotation .
@krzysztofs3t53210 ай бұрын
Great topic! Thank you very much for this material. BTW - I have special playlist created on YT only for your guides :D
@ניסיםעוזיאל10 ай бұрын
great tutorial, thanks
@liebebilder35299 ай бұрын
Could you please give me an idea how to translate dynamic texts in Next.js?
@YuuffyLIVE9 ай бұрын
Why does the logout function only work with form action={logout} and a submit button, but not with onclick handlers like a Button Component that uses onClick={logout} It always resolves in Uncaught in Promise | undefined
@EricLiebrecht8 ай бұрын
Because the logout function is only on the server and not the client. With the form action you are sending a request to the server to signal that this function should be executed. Every onclick handler is at the client
@dazaiosamuu-yi7sf9 ай бұрын
can you please make a project similar to tripadvisor with the mern stack
@sahilsharma1inspirationalTape9 ай бұрын
lama Sir can you make a tutorial for making ecommerce marketplace like amazon with minimal scss and nextjs 14 (server actions included, auth, payment gateway and other essential)
@amirseraj-bt2xs8 ай бұрын
Hi Thankyou for your videos, can you make a video about how can work with NextAuth v5 in Next.js 14 if we have laravel as backend Tnx alot
@TBDfilesLalit_kalyan3 ай бұрын
thank you so much sir....really aprociate you
@sachind.p67373 ай бұрын
@lamadev Thank you for making it so simple. But I have an issue of not getting the session that was saved. It works as expected on my local, but on a linux server, it seems to return a new session when i try to access the session that was saved earlier. Has anyone faced this issue, and how did you resolve it?
@cb737 ай бұрын
How are you not getting this error? "Error: Cookies can only be modified in a Server Action or Route Handler." when adding "const session = await getSession();" to a page?
@harunhatiboglu10 ай бұрын
Harikasın lamadev 🎉
@SachinSharma59010 ай бұрын
Bro this is good... But i am stuck how we will use using nodejs and nextjs auth Basically if we are setting cookies from backend server the how nodejs will get it ? With httpOnly ?
@jacobhollakitan380710 ай бұрын
Thank you Lama
@graphiclife54162 ай бұрын
Auth state doesn't change if your session expires or if you delete session from cookies (because it's cached). How can I fix this?
@tarekegnkeltaa10 ай бұрын
Thanks Dear! but we were waiting for the promised VS code extensions and shortcuts video.
@stcode592 ай бұрын
But how can you fetch those informations in client components then cause im struggling using cookies session with next js15
@wowgaming26639 ай бұрын
Lama i am confused how we know like e commerce website user add to card some product after logout and agin login how we. Fetch the user data how we know this user select this data
@joscript78468 ай бұрын
Each user will have separate IDs. So once u create a user, it's details get stored on Ur database, once u are fetching that user. U get to store his/her details or payloads inside Ur cookies or local storage or straight up with Ur Auth provider, so u check if this user is stored in the cookie is same with the one from Ur database
@filipmatic33382 ай бұрын
hey can someone tell me how do i implement Maxage functionality when user check the remember me box in iron-session
@potantirittisak84945 ай бұрын
Please make more advanced auth videos! Thanks!!
@sinthujanbalachandran66868 ай бұрын
Can't we use middleware to protect the routs rather than writing prtection codes inside each page?
@Ismail-hd4yz4 ай бұрын
I tried next auth. Could not figure out lot of things. So I did my own useAuth hook in React. Now everything fine.
@clashwithpnkj44644 ай бұрын
This is great tutorial but i have one query that is this secure method to do this? If i will use this method in my production website then what should i do to make more secure from attacks. Please send your feedbacks it will be helpful
@nayemalifahim670110 ай бұрын
How to host backend and frontend in different domains and use them together.
@SantoshKumar-sm8pc10 ай бұрын
through api and handle permissions
@ajaysh7310 ай бұрын
you are great!!☺
@ranawaqas40808 ай бұрын
login form is client componet so i can see call in network and password in payload how can we make this more secure ?
@gurushantupase33068 ай бұрын
This was awesome but could you please make for authorization with bearer token and how to protect the routes without any library then it will be the great.
@laduniestu7 ай бұрын
wow this is great tutorial, but are there any weaknesses in using an authentication system like this?
@khaledsanny48176 ай бұрын
What if its a separate backend using jwt ?
@Yunyun-o6m6 ай бұрын
Hi anyone here can help me please im also trying to create a page and when i started to implement iron-session and tried to implement the getSession in my Navbar it started to get an error like react-server-dom-webpack/client module not found very odd error but when i remove the getSession the page works again
@magolakenneth10242 ай бұрын
can you do a tutorial about firebase auth with role based access and session management
@vernevens15989 ай бұрын
Your code from git hub doesn't work.
@usamarazaaq726610 ай бұрын
Please an e-commerce app with Next Js 14 Mongodb , redux , stripe checkout and deployment on vercel.
@aminda686210 ай бұрын
great thanks
@Arvind__710 ай бұрын
What theme do you use?😕😕😕😕
@renchandara38910 ай бұрын
Want to see next js full course release
@gaming_zen_9910 ай бұрын
Bro make a video about both client side and server side validation together in next.js 14 with server actions
@rashid_rashi00910 ай бұрын
Great ❤
@HosseinPi9219 ай бұрын
@LamaDev please create a multi step form with react and framer motion
@shubhamupadhyay31748 ай бұрын
❤
@cryptoworld192310 ай бұрын
Lama can you provide advance project like Figma clone
@amelianceskymusic3 ай бұрын
What about Lucia?
@alishakhatri69196 ай бұрын
Can we change password like this even if we dont set in database ?
@mdsafikulislam911310 ай бұрын
Please make more related tutorials.
@shankar6610 ай бұрын
great video but as i informed you in a previous video comment, the authentication was a little confusing using auuth.dev. please make a separate video step by step and dont use typescript if possible.