Тёмный

NextAuth Course - Complete Authentication with Credentials, Google & GitHub 

Daily Tuition
Подписаться 170 тыс.
Просмотров 95 тыс.
50% 1

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

 

26 сен 2024

Поделиться:

Ссылка:

Скачать:

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

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 124   
@rpals5412
@rpals5412 Год назад
It's VERY difficult to find any working example of next-auth with custom login page and the use of credential rather than a 3rd party identity provider. Very good tutorial! The chapters are absolutely amazing, I could easily find exactly the part of your video that explained the part of the implementation that I was struggling with. Thank you very much sir
@TornVeil7
@TornVeil7 Год назад
Uff that's true, I spend my whole day making that
@yasinnkhann
@yasinnkhann Год назад
You are the only one who has made a video on google auth and credential login/registration. Thank you so much man. You really saved me
@Veedsify
@Veedsify Год назад
This is amazing man, spent over 30gb data and money on courses to get this kind of authentication working in my nextjs 13 app😭 Thanks for this 🙏
@jeffqseid2169
@jeffqseid2169 Год назад
The only DETAILS tutorial for next-auth and its UI form example. I've been through so many videos and your video has helped me through to understand my doubts! Much thanks!
@fatherofthenight13
@fatherofthenight13 Год назад
This was an incredible breakdown. Everything so explicit and clear. Thank you for this!
@nikunjwani3580
@nikunjwani3580 Месяц назад
Very good tutorial! Information provided is good. The chapters are absolutely amazing. I can use the info in nextjs projects
@DailyTuition
@DailyTuition 27 дней назад
Glad it was helpful!
@muradshahbazov9166
@muradshahbazov9166 Год назад
Fascinating tutorial! I'm usually very skeptical of RU-vid tutorials, but this one was just perfect! Watched it in one day. Thank you for this, my friend.
@thrainii7324
@thrainii7324 Год назад
I LOVE YOU SO MUCH. I SEARCHED MANY VIDEOS FINALLY FIND WHAT I WAS LOOKING FOR I NEEDED THIS WHILE DEVELOPING MY APPLICATION AND IT IS NOW IT'S HAPPEN THANKS
@BSK_Rick
@BSK_Rick Год назад
i think that is the most completly tutorial that i have seen
@hooyah
@hooyah Год назад
The best tutorial nextauth credentials. Can you show us how to use nextauth credentials with external api, where the external api is return jwt token. And nextjs13 maybe interested 🙏
@AllysonTS
@AllysonTS Год назад
that would be cool
@TornVeil7
@TornVeil7 Год назад
Yes that would be great
@mygiita
@mygiita Год назад
A beautiful course, clear and on point, I'd give it six stars if it is in typescript. Anyway, I learned a lot and enjoyed it from start to finish. Thank you very much.
@zappl1437
@zappl1437 Год назад
The video is great. But I do not get where the Google signin user is stored. It is not in our database, right?
@bobziomeczek7958
@bobziomeczek7958 Год назад
thank you my friend. love u and wish u best life.
@naimislam5449
@naimislam5449 Год назад
Thanks, brother for the awesome tutorial, this tutorial really help me a lot.
@yashdeveloper
@yashdeveloper Год назад
Sir I have a dought we can easily sign in with Google and GitHub even if the user is not registerd in the database how can we authenticate user before sign in with next-auth ?
@tunghoang9373
@tunghoang9373 Год назад
How could I say...Thanks a lot for your awesome tutorial !
@appstuff6565
@appstuff6565 Год назад
Can you make an entended version for this tutorial in a 5-10 minute video for people using NextJS 13.4 on what we need to change from this tutorial ? Thanks!
@jkn.782
@jkn.782 Год назад
You made my day! THANK YOU akshay kashy sir!
@alandouglas96
@alandouglas96 Год назад
For anyone looking for assets or even the final code, every step is within different branches in the GitHub project linked in the description 🤓
@mouhamedaminebouzazi6879
@mouhamedaminebouzazi6879 Год назад
Life saver. I thought he forgot to push his changes at some point.
@chandrachurmukherjeejucse5816
Great help man!!
@vigneshk7630
@vigneshk7630 Год назад
brooo😭😭 thank you so much
@auychatcharin940
@auychatcharin940 Год назад
I finish this project and have to say thank you very much. Could you provide next step for Forgot Password Function?
@SarathChandran96
@SarathChandran96 Год назад
This is awesome tutorial . Hatsoff 👌👌👌
@mohamadrezakazemian5220
@mohamadrezakazemian5220 Год назад
great video!. i hope you'd make a video on how to use nextauth with prisma too
@ArifudinMyf
@ArifudinMyf Год назад
Thank you this tutor brother, and next please your make upload crud Image use with mongodb 😇🙏
@yashbansod1722
@yashbansod1722 Год назад
Thank you for this helpful tutorial. But can i ask you a question? So we don't have control over the Model with next google login? It creates an account and an user Model in the background? Or can we personalize this user Document for our needs?
@digiartpassion8513
@digiartpassion8513 11 месяцев назад
Awesome simply !I have a question, you have implemented GitHub and google with your client I’d and password, how will that work for others ? If I deploy ….will it accept other gmail and git credentials ?
@МаксВайнер-у4ч
@МаксВайнер-у4ч Год назад
You are the best!
@alextonca2875
@alextonca2875 Год назад
Amazing tutorial. Thank you.
@vernevens1598
@vernevens1598 6 месяцев назад
The more you let Git, Google and Tailwind do the thinking for you, the sooner you go from software developer to just a typist.
@SauravSinghGarg-yb2vu
@SauravSinghGarg-yb2vu Год назад
thank you
@hchashchina
@hchashchina Год назад
Thank you a lot for this tutorial! Do you have a video tutorial how to deploy applications like this?
@sandeeppillai2890
@sandeeppillai2890 Год назад
Very Good video... Please make video for how to save google login user details in mongodb....
@wolfie8748
@wolfie8748 5 дней назад
What if I want to protect multiple routes ?
@LeeLee-jz4vo
@LeeLee-jz4vo 2 года назад
please make a tutorial ,uploading image Register, thanks
@idynxcode5744
@idynxcode5744 Год назад
You are great! Thanks
@himanshuhota01
@himanshuhota01 Год назад
Really helpful brother
@080_snehelnandy3
@080_snehelnandy3 Год назад
instead on wasting time on css and designing you could just have explained the core concepts of nextauth that would be greate short and crisp
@MrBillykara
@MrBillykara Год назад
Great tutorial, you explain everything so well. I just have one problem. When I use credentials to signin "session" is always null, it never seems to pick up data. Everything else is perfectly fuctional. Can you help me please?
@nestofbleu4094
@nestofbleu4094 Год назад
up the same problem. i'm trying to console.log the result and it has object but when i tried to console.log session in frontend it doesnt have data.
@sa9dy
@sa9dy Год назад
Great video
@Richard-wg4lu
@Richard-wg4lu Год назад
can you explain how to handle the login error im receiving the auth failed error with status code 200 ok.
@Pardha-gt8jl
@Pardha-gt8jl 4 месяца назад
This video is very old and latest next js includes tailwind css with typescript
@DailyTuition
@DailyTuition 21 день назад
yes. It's true. I will make latest tutorial.
@mastercode7851
@mastercode7851 2 года назад
very good , thanks
@DailyTuition
@DailyTuition 2 года назад
Keep supporting🙏
@aidarousjibril6323
@aidarousjibril6323 Год назад
Hi bro, when the app is deployed to vercel no authentication works, should i change from localhost to real vercel domain name?
@ismailk7021
@ismailk7021 Год назад
I love the video. Its great. I just have a question. Where can we find the assets?
@yasserhy
@yasserhy Год назад
I want to plzzzz ask u a question. How can I use NextAuth with Google to authenticate the user and then pass the session to NestJS project to authenticate the user there also so I can use the guards features in NesfJS. There are not guides or tutorials about this at all
@souvikdey1797
@souvikdey1797 Год назад
Thanks a lot
@appstuff6565
@appstuff6565 Год назад
hey thanks for this. Can you do a updated NextJS 13.4 since many things changed? Thanks!
@ahmedharoon2740
@ahmedharoon2740 Год назад
thanks for great guide which can help us learning this topic. just one thing to ask, you are using Mongo DB what about a SQL based RDBMS like MySQL database? is there an easy way to use this same app with MySQL like just changes in config files? please help a newbie. regards
@abdelkaderelhachemiferdi9132
hello , am trying to make a simple project to login and register just like you did , i want to ask about the responses from the signup api . if i wanted to pop a modal saying username already exists or how can i catch the api response status and then pop a modal... thank you by the way this was so helpfull i hope u read my comment soon
@sa9dy
@sa9dy Год назад
Can you make authentication video using wpgraphql
@tanmaydey3448
@tanmaydey3448 Год назад
I have a question. How to enter your own API URL into the credential login form?
@yashbhardwaj9626
@yashbhardwaj9626 Год назад
Can we open this website in phone chrome
@Jack-ss4re
@Jack-ss4re Год назад
Perfect
@kedarsatwik6938
@kedarsatwik6938 Год назад
So is this a website that everyone one access .
@priscaonyeagoro9263
@priscaonyeagoro9263 Год назад
The project is not on your repo. And the sign up page isnt finished.
@krantikumar2369
@krantikumar2369 Год назад
How can we use google auth amd credential login/registration in React ?
@contentshark5122
@contentshark5122 11 месяцев назад
looks like your github doest have the complete code ...can you please replace with the actual link ?
@Jack-ss4re
@Jack-ss4re Год назад
NextAuth automatically handle persistent login through cookies ??
@Kats0unam1
@Kats0unam1 Год назад
Is it possible to have the final code ? I have styling not working as intended and its annoying to get which tailwind class is missing.
@kanuchinaza2984
@kanuchinaza2984 Год назад
I keep getting this error at 2:07:10 when we are testing with post man API resolved without sending a response for /api/auth/signup, this may result in stalled requests. error - unhandledRejection: Error [MongooseError]: Model.create() no longer accepts a callback pleasee can anyone help?
@jeffqseid2169
@jeffqseid2169 Год назад
new mongoose docs said that u cannot use callbacks in Model.create({ }, callbacks), so meaning you have to use Model.create({}).then().catch() use below instead to fix your error :) Users.create({ username, email, password : await hash(password, 12) }).then(data => { res.status(201).json({status: true, user: data}) }).catch(err => { return res.status(404).json({ err }) })
@yuragms3613
@yuragms3613 Год назад
@@jeffqseid2169 Thanks you a had each error. Your advice is work)
@jerrythomas5656
@jerrythomas5656 Год назад
@@jeffqseid2169 Thank you bro....u saved me
@marvin_e
@marvin_e Год назад
How can you implement auth with nextjs and an external API!!!?
@ikhwanrahman9595
@ikhwanrahman9595 Год назад
why does the {timestamps : true} feature in models not work?
@CoderSineNomine
@CoderSineNomine Год назад
it is a pity how old this tutorial become just in 7 months after launching of next js 13!
@sanvirahmed
@sanvirahmed Год назад
2:25:18 In profile page, I want to show users image, name, gender, status, and many more information. In that case, how can I get these information from the database? in session, I only get email and name
@riccohen6057
@riccohen6057 Год назад
You get email and name on the sesison, I only get email. I been trying to figure this out for hours now
@rodrigocastro2426
@rodrigocastro2426 Год назад
@@riccohen6057 did u fix that? im traying now
@rodrigocastro2426
@rodrigocastro2426 Год назад
did u fix it?
@wicho007
@wicho007 Год назад
any updates on this?
@hakanhakan6595
@hakanhakan6595 Год назад
openssl rand -base64 32 doesn't work on my computer
@MrAtomUniverse
@MrAtomUniverse Год назад
Do you have a version for nextjs 13
@SomaticSensorySexology
@SomaticSensorySexology Год назад
Hi if I want to use google provider, how do I link a new user for additional sign up information. We do not add in a user until they complete the register page but using google provider. Atm next-auth will automatically add in that user
@xaviergenolhac4489
@xaviergenolhac4489 Год назад
I think a res.send(response) is missing in the Sign Up chapter. In the video at 2:07:20 Postman returns the object, but without the res.send() I get this error: "API resolved without sending a response for /api/auth/signup, this may result in stalled requests"
@nclsDesign
@nclsDesign Год назад
That's because you are not returning it directly since you still have to do the db query and process it. If you want this error to disappear, you have to return a promise and then resolve it later on when you are done processing the information.
@johndeer8405
@johndeer8405 Год назад
@@nclsDesign greetings, is that promise in the video? I think I missed it as well.
@nclsDesign
@nclsDesign Год назад
@@johndeer8405 No, it's not. I had the same issue so I looked it up and Next.js wants a return value. It will work fine even with that warning however if you want it resolved, return a prmoise and handle the API code in there.
@marceloloyola446
@marceloloyola446 Год назад
@@nclsDesign hi, can you explain me pls. I have a problem with postman. it got stuck in post sending request
@yancoder20
@yancoder20 Год назад
sign up credentials don't work
@deepjyotideb1173
@deepjyotideb1173 Год назад
The user values are saved in the db when signing in via credentials but when signing via google or github, none of the user properties are saved in the db. How would you save the user properties when signing in using other providers?
@z1982_
@z1982_ Год назад
database adapter from next auth
@rajpreetsingh4672
@rajpreetsingh4672 2 года назад
Hi Daily Tuition, I have been watching your Video Series of NextAuth Login with MongoDB. But I have faced an weird Problem hopefully you could help me (if possible). When I am trying to Login, Formik won't get the Values and won't execute the Function for Credentials Login. And when I am using the Function directly inside the Button it will give me a 401 and says that there are now Users with that Email.... Hopefully you can help me. Nevertheless it is a great Video Series !!!
@WEBDEVIndo
@WEBDEVIndo Год назад
May I check your code, bro?
@siriusFish1
@siriusFish1 Год назад
Why are you using tailwind but also writing custom classes? In my experience, tailwind should make writing those classes unnecessary
@DjangoElRey
@DjangoElRey Год назад
I wonder why there is no email address verification? 🤔
@officialstarfi
@officialstarfi Год назад
1:53:42
@kRs-studios
@kRs-studios Год назад
Is it just me or are you zoomed in on your browser? because i coded along from the beginning and even cloned your finished project and the pages only look right when I'm zoomed out to 80% on my browser? Is this the same for others too?
@kRs-studios
@kRs-studios Год назад
zoomed out*
@alto-la
@alto-la Год назад
@@kRs-studios same for me, he may be using a larger screen. I adapt my css accordingly
@SENAPATIENTERTAINMENT
@SENAPATIENTERTAINMENT Год назад
Don't do the margin auto he does and that will fix the problem
@ՖելոՀարությունյան
I have a problem and I can't clone the finished project to check my project, please tell me how to do it 😊😊
@TheAppliancePlug
@TheAppliancePlug Год назад
Hi, I have a problem I am running into. So, when I check with Postman to make sure everything is running smoothly. I get the "Don't have form data". When I then add the body JSON; I don't get the object back, instead I get Connection failed. Can you please help with what maybe the problem will be. Thanks
@TheAppliancePlug
@TheAppliancePlug Год назад
never mind I figured out I had wrong password in local env file
@arampetrosyan6990
@arampetrosyan6990 Год назад
where is the code ara hambal
@arampetrosyan6990
@arampetrosyan6990 Год назад
lav aper gda
@alchemistmd2422
@alchemistmd2422 Год назад
🤟💌
@SENAPATIENTERTAINMENT
@SENAPATIENTERTAINMENT Год назад
Whenever I signin with google, it redirects me to localhost:3000/api/auth/signin?csrf=true
@vothanhtien4869
@vothanhtien4869 Год назад
f12 -> acces cookie -> delete cookie
@naxiryu1425
@naxiryu1425 Год назад
Thank you
@326_harshborad4
@326_harshborad4 Год назад
Bro wtf is your custom class "icon" for icon inside input tag ,bro specify it or give code of that class
@officialstarfi
@officialstarfi Год назад
1:46:55
@rafaelmarin0102
@rafaelmarin0102 Год назад
In development gives me error? Has it happened to anyone?
@dustybest5775
@dustybest5775 Год назад
This is an A+ level tutorial! SUPER helpful and informative. Great presentation. Awesome job all around. Thank you!
@sarangtamrakar8723
@sarangtamrakar8723 Год назад
Very Awesome Tutorial , I have implemented it via fast APi as backend & next js as frontend ... Please make a video on middleware.js file as well indepth.. Thanks a lot Bro
@khambui3308
@khambui3308 Год назад
thanks a lot sir, I spend a morning watching your video and it works successfully
@nzkdevsaider
@nzkdevsaider Год назад
Great video for anyone finding tutorial for Next Auth CredentialProvider.
@adamssCars
@adamssCars Год назад
Great tutorial! I think the credentials login is not working propperly. I am able to log in using any password.
@adityalokakshi1969
@adityalokakshi1969 Год назад
handlesignout is not working in my case,no error's on console
@peterjaeger4747
@peterjaeger4747 Год назад
Thank you. *Very* helpful
@sandeeppillai2890
@sandeeppillai2890 Год назад
Superb 👍👍👌👌👌
@SajjadHematiNourani
@SajjadHematiNourani Год назад
You are the 👑king 👑 of RU-vid tutorials.
@wchorski
@wchorski Год назад
that code snippiet `signIn('google', {callbackURL: process.env.NEXTAUTH_URL}` was a lifesaver
Далее
Как он понял?
00:13
Просмотров 129 тыс.
Это ваши Патрики ?
00:33
Просмотров 33 тыс.
Я ИДЕАЛЬНО ПОЮ
00:31
Просмотров 476 тыс.
Set up Google OAuth with Next.js using Next-Auth!
21:00
Connect Google Provider to Database - Next Auth
40:00
Web Developer Roadmap (2024) - Everything is Changing
25:02
Как он понял?
00:13
Просмотров 129 тыс.