Refresh Token Rotation With Next-Auth V5 || Managing Tokens With A Custom Backend

tapaScript by Tapas Adhikary July 30, 2024
Video Thumbnail
tapaScript by Tapas Adhikary Logo

tapaScript by Tapas Adhikary

View Channel

About

Learn Programming fundamentals, Full-stack concepts, and Web Development using JavaScript, ReactJS, Next.js, and its ecosystems. Hello Developers, Welcome to tapaScript 👋. SUBSCRIBE to the channel so that you do not miss the in-depth learning experience. I am your teacher Tapas Adhikary, a developer passionate about UI, UX, Web Development, JavaScript, React, Next.js, Nodejs, Open Source, and FullStack engineering. I have dealt with code and computers since 2000, when I got into Computer Science and Engineering. Since 2004, the last 19 years have been an outstanding journey for me, learning and building production-ready software. I am on YouTube to teach you all I have gathered over these years. My passion for teaching, content creation, and building Open Source communities taught me about building and learning in public. I have been creating written content on my blog "GreenRoots Blog', FreeCodeCamp, CSS-Tricks, and other publications. Let's GO. SUBSCRIBE and JOIN.

Video Description

Enjoying my Videos & Teaching? Don't forget to, - ✅ Subscribe to: https://www.youtube.com/tapasadhikary - ✅ Join tapaScript as a member to enjoy the perks: https://www.youtube.com/channel/UCaYr5yxgOyk599Mnb3TGh-g/join Let's learn how to manage Access and Refresh tokens with Next-Auth(aka auth.js) version 5. This video tutorial will teach you about tokens, token management, access vs refresh tokens, and how to rotate refresh tokens. We will continue to build the project we started at the beginning of the Next-Auth V5 series and incorporate token management and rotation into it. Let's GO 🚀 Timecodes 0:00 - We Will Learn These 01:13 - Token, Access Token, Refresh Token 05:49 - The App 08:52 - Understanding Token Management 13:41 - APIs on Postman 16:39 - Login API call from authorized 22:07 - Next-Auth Callbacks: jwt and session 24:47 - Token Rotation Flow 26:18 - Access Token Expires and UI 36:57 - Refresh Token Rotation and UI 47:34 - What's Next? ## Source Code on tapaScript GitHub: - https://github.com/tapascript/learn-next-auth/tree/06-token-management (If you like, please support the project with a ⭐ and follow tapaScript on GitHub.) ## Join tapaScript Discord - https://discord.gg/YzUe4DbNAz ## Authentication & Authorization Video - https://www.youtube.com/watch?v=CvzPTeGv9Gw ## 🤝 My Links: - Blog: https://blog.greenroots.info/ - Follow on X(Twitter): https://twitter.com/tapasadhikary - Connect on LinkedIn: https://www.linkedin.com/in/tapasadhikary/ - Follow My Work on GitHub: https://github.com/atapas - Follow on Facebook: https://www.facebook.com/tapasadhi ## 👋 Liked my work? Thank You. You can sponsor me from here: - Sponsor Me: https://github.com/sponsors/atapas - Sponsor my Blog: https://blog.greenroots.info/sponsor ## About Me: Tapas Adhikary is an Educator at tapaScript, Tech enthusiast, Writer, YouTuber, and Open Source projects maintainer/contributor. He is a full-stack developer with vast experience in building SaaS solutions. He is the founder of the ReactPlay platform, which is driven by open-source projects and a fast-growing community. You can find more about him at https://tapasadhikary.com. #nextjstutorial #next #nextjs14 #nextauth #authentication #nextjs #nextjs13 #nextjsapprouter #thinkinginnextjs #nextjstutorial #next-auth #authjs #token #tokens #authorization

You May Also Like