In this video we are integrating a Google Calendar with our Next.js app using Next-Auth and demystifying things like access_tokens, refresh_tokens, token_expiry, session-token cookies and id_tokens.
#nextauth #oauth2 #nextjstutorial #next14 #googleoauth #reactjs #frontenddevelopment
Code:
https://github.com/rajeshdavidbabu/ne...
Auth V5 issue:
https://github.com/nextauthjs/next-au...
https://github.com/nextauthjs/next-au...
✨ My Links -
Discord: / discord
X.com: / rajeshdavidbabu
Want a shoutout?? : https://www.passionfroot.me/rajesh-babu
Github: https://github.com/rajeshdavidbabu
Timecodes:
0:00 - Intro
1:24 - Chapters
2:01 - OAuth 2.0 Detailed Implementation
5:30 - Setting up google oauth on console
8:31 - Next-auth V5 with google provider
14:42 - Saving access_tokens in a JWT cookie
16:15 - Accessing google calendar using access-token
17:51 - Auth V5 issue that you need to know
20:23 - Handling Token Expiry
24:15 - Final thoughts
Watch video Build OAuth 2.0 Integration with Next-Auth V5, Next 14 and Google OAuth online without registration, duration hours minute second in high quality. This video was added by user Raj talks tech 30 March 2024, don't forget to share it with your friends and acquaintances, it has been viewed on our site 1,848 once and liked it 56 people.