Why to make "IsloggedInServer and the IsLoggedClient" function and add to every page, it will be repeating the same thing. Isn't the middleware a best option for this type?
The github code is missing the next-auth specific implementation for Google & github. Can you please push the code into the repo? It would help us to go through the code and implement.
Any idea how we can deploy this on Google Cloud Run (with variables & secrets) and/or Vercel? My ENV variables do not seem to work on either. Thanks man
Question: for authButtonsFiles - I am not certain why there are two buttons ( google / github ) when it could have been refactored into one for instance ? Did you had / do you have specific reasons or was it made just on the fly for the purpose of the video ?
Hi, thanks for the nice video. I notice that in production, as you click the button to use google or github, chrome flags your site as dangerous, why is that, any way to fix it.
when you "contiune with Google" does your data get saved on the prisma database, because when i try this, I cannot find the user data in my prisma studio
what if i use the credentials provider but forget password? does next-auth got any thing out of the box to handle that? like email resend reset password token?
I have a problem with authentication, how can I automatically cancel authentication? when i am logged in and i close windows then open it but it logs in by itself
Best way for a custom backend to integrate with Google provider, ideally i need mmy backend to track accounts through the creation of user entities in the backend as each user will have their own data.
hi, i did that but after try to login i have error below Try signing in with a different account. expected 200 OK, got: 403 Forbidden can't find anything for that
Hey man, nice explanation. Thank you. But Is there a way do the same kind of email checking like in the credentials provider with the Google Provider? Let's say I have a user table and when someone trying logging in with Google, their email needs to be cross-matched with a user from the user table. if matched they should be allowed to login otherwise redirect to login page. Can anyone suggest a solution for this problem? TIA
I could login using Github but it didn't redirect me to the "dashboard || timeline || etc" I stay in the same page with my session started. How can I do to redirect after login with github/google ?
It's called a "VIDEO TUTORIAL". So I have to go through and explain all the bits and details so everyone from beginner to advanced can easily understand and walk away happy. It says 10mins because anyone can add auth in 10mins but it doesn't necessarily mean that the video will be less than 10mins. The video is meant to make people understand not just implement it and walk away!
@@CoderOne I want to explore the previous video where you build the whole twitter clone. Could you give me the link of that video please? I need it urgently.
Why to make "IsloggedInServer and the IsLoggedClient" function and add to every page, it will be repeating the same thing.
Isn't the middleware a best option for this type?
You didn't use the latest version which is AuthJs, and you didn't use middleware, so what you showed is not very good
?
And didn't deploy on vercel, so credentials won't work
@@анче-у2шDoes the Nextjs project have to be deployed on vercel? Is it bound too deeply? Is there any other deployment method? Thank you,bro.
The github code is missing the next-auth specific implementation for Google & github. Can you please push the code into the repo? It would help us to go through the code and implement.
You forgot to show us how to set up the authorizatiion for GitHub, but otherwise... good video. I've learned a lot.
How i can store the user information to database like postgres if the user signed in using GitHub or other providers?
Same, and what if I want to remove any user how can I do that
great tutorial! question - how do you use hooks inside a condition? isnt it against react hooks rules?
Which vscode theme you are using ?
Any idea how we can deploy this on Google Cloud Run (with variables & secrets) and/or Vercel? My ENV variables do not seem to work on either. Thanks man
Excellent video!
top man keep it cool great job
how about next js next auth with nest js as a backend.....
thank you for the help, i have been struggling with authentication for weeks
Hi, in production the login doesent work, any idea why ? I use same urls for dev and production build, dev works great, production (local) not.
Question: for authButtonsFiles - I am not certain why there are two buttons ( google / github ) when it could have been refactored into one for instance ?
Did you had / do you have specific reasons or was it made just on the fly for the purpose of the video ?
Hi, thanks for the nice video. I notice that in production, as you click the button to use google or github, chrome flags your site as dangerous, why is that, any way to fix it.
very good tutorial.. thanks!!
Have you tried the refreh token strategy?
Very practical way of using next-auth with next js . Thanks
when you "contiune with Google" does your data get saved on the prisma database, because when i try this, I cannot find the user data in my prisma studio
what if i use the credentials provider but forget password? does next-auth got any thing out of the box to handle that? like email resend reset password token?
what theme is that
Why don't you need an adapter for the auth configs?
i have an error: Error with Permissions-Policy header: Unrecognized feature: 'ch-ua-form-factor'.
How i can fix this problem?
Great Job... I love your teach
how do you sign out of the github API? i can sign out on my app, but i'm still logged in through github :(
amazing video, thank you so much it helped me out a lot!!
Could you help me find the previous video?
I have a problem with authentication, how can I automatically cancel authentication? when i am logged in and i close windows then open it but it logs in by itself
can you explain us how to customize the sign in form?
like the GoogleSignInButton and GithubSignInButton
thanks
Nice video. please mind sharing what font and theme you are using for vscode?
Best way for a custom backend to integrate with Google provider, ideally i need mmy backend to track accounts through the creation of user entities in the backend as each user will have their own data.
Great tutorial, does the Google login and Credentials login handle the refresh token, CSRF etc !!!
where did you pass the nextauth secret?
Great job dude 🎉 tks
Thank you so much, its works
hi, i did that but after try to login i have error below
Try signing in with a different account.
expected 200 OK, got: 403 Forbidden
can't find anything for that
how can i use DiscordProvider?
Hey man, nice explanation. Thank you. But Is there a way do the same kind of email checking like in the credentials provider with the Google Provider? Let's say I have a user table and when someone trying logging in with Google, their email needs to be cross-matched with a user from the user table. if matched they should be allowed to login otherwise redirect to login page. Can anyone suggest a solution for this problem? TIA
Thank you kindly!
amazing video,can u show me the github repository? i really need it
said 5min
title 10min
video length 20min
I could login using Github but it didn't redirect me to the "dashboard || timeline || etc" I stay in the same page with my session started. How can I do to redirect after login with github/google ?
I too have the same issue sir, any update on your side?
good video sir
Great video. Where can I find the source code of this particular video?😃
nice video
Nice tut Bruh, bbut I can't get the Git Repo, I looked, up and down, but did not see it!
github.com/ipenywis/nextjs-auth
Where is the previous video where he built the whole clone? @CoderOne
i dont understand u add a lot of code before...
source code? github ?
github.com/ipenywis/nextjs-auth
2FA would make it even more secure
thanks bro
how can i get te toke.. ehe
Kindly make new video using authjs
✨👌
6:03 coding and talking is hard.
it took me over 1 h and i stil dont have that....
Good day greetings
its 20 min
Title: Add Authentication to Next.js in 10 mins
Video Duration: 20 mins.
It's called a "VIDEO TUTORIAL". So I have to go through and explain all the bits and details so everyone from beginner to advanced can easily understand and walk away happy. It says 10mins because anyone can add auth in 10mins but it doesn't necessarily mean that the video will be less than 10mins. The video is meant to make people understand not just implement it and walk away!
@@CoderOne I want to explore the previous video where you build the whole twitter clone.
Could you give me the link of that video please?
I need it urgently.
I don’t like people that start sentences with “oh”
unclear as hell
these captions are irritating