Next.js Social Authentication with Google & Github | with next-auth

preview_player
Показать описание
Final Code:

⚙️ Gadgets I use for Recording:

💻 Laptop - Macbook PRO M1 - 16/512

🎤 MIC - Samson Technologies Q2U USB/XLR Dynamic Microphone

🖱️Mouse - Logitech G402 Gaming Mouse Hyperion Fury USB, Black

⌨️ Keyboard - Logitech K380 Multi-Device Bluetooth Keyboard

🖥️ Monitor - UltraSharp 24-Inch Screen Led-Lit Monitor (U2419H)

Do ask your question in the comments, and I do give replies to all comments.

LIKE, SUBSCRIBE, SHARE

#nextjs #nextjs13 #nextjsauthntication
Рекомендации по теме
Комментарии
Автор

Thanks a lot brother. This instantly helped me. the url im giving and many suggested didnt worked out, but you have said that. Thanks

wesleyarya
Автор

Final code is not avaliable in the git repo?

ZahidHussain-beeu
Автор

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

AlirezaMehrabiKali
Автор

bhai i have a ready made code want to integrate login with google in it can you please help me

codewithadnan
Автор

You helped me solve a real petty(i spent a half day trying to solve it😵‍💫) issue in my code. For some reason auth with Google would not work until I added the attribute type="button" on the signIn() button. Removing the attribute causes the whole thing not work. I wonder why though🤔

devmesh
Автор

sir can you please help me in the access denied error whenever I click on my google account, I even double checked the clientID and client secret

adityaupadhyay
Автор

Brother I have created the get method api in nextjs and after the build if I update the mongodb database and if I cll the get request api I'm not getting the updated data in the fetch how to over come that

monishbk
Автор

Hey, how to get authorization using next-auth. Like adding scopes and getting access to google docs, sheets drive etc.

codingwithsam
Автор

thanks, bro, clear and concise explanation

keshavakumar
Автор

Once again another excellent tutorial on next auth. Could you add role based login strategy in another video?

karendoran
Автор

Nicely explained, thank you..
Few question regarding the css, ,
Which is better for development, Bootstrap 5 or tailwind Css ?
Does Bootstrap 5 have css purge option like we have in Tailwind css ?

pankajwp
Автор

How can I do so that after registering automatically log in and send to the home page?

JuanSebastianNunezAlmeida
Автор

Hey, Nice Explanation dude,
I have one doubt....
I am using Google providers with firebase DB using next auth, when i try to login, its gets logged In successfully and get redirected to another page which i have set, but on pressing back button its gets back to the login page again although user is logged in.
please state the solution...

rahulshah
Автор

awesome ❤ thank you, you have saved my life today

BSK_Rick
Автор

Is it possible to do email verification with next auth by using the credentials provider

speedster
Автор

yr urdu me banaya kro english me waise bhi itni pri hai. qoum ke bre me socho angrezo se kia rshtedri hai

hmalykhan