In this video, I document myself working on the nextjs template and express-mongo server template.
And trying to understand and implement an authentication flow with access and refresh tokens with cookies in NextJS.
I also explain my learnings from the working of Access Tokens and Refresh Tokens and how they make your app secure.
00:15 - Intro & What I will be doing today ?
01:54 - Showing the UI Progress in the NextJS Template
02:50 - Showing Formik + Yup Validation Code
04:28 - Showing the almost done auth flow
07:14 - What is the use of a Refresh Token & Access Token ?
09:04 - Explaining What is Axios Request & Response Interceptor?
10:53 - Learnings and Open sourcing the template plans
Relevant Links : 👇
NextJs Template : https://github.com/saumya66/NextJS-Ch...
Server Template : https://github.com/saumya66/Node-Mong...
Loved the video ? You can share and tag me on 🧡:
👉 Twitter - @saumya4real - / saumya4real
👉 LinkedIn - / saumyanayak
Hi there! New to my Channel ? If so, Hi I'm Saumya !- This is the place where I document my life or my journey with the world towards my goals related to Life, Building Stuff, Learning, Computer Science , Programming, Productivity and above all just learning, improving & being better than yesterday.
Reach Me 👇:
👨💻 Github : https://github.com/saumya66 ✔
💙 Twitter Handle : / saumya4real
🟣 Twitch : / saumyanayak
📚 Personal Site : https://saumyanayak.vercel.app/
☑️ LinkedIn Profile : / saumyanayak
✍ Medium Blog : / saumyanayak
📙 Hashnode Blog : https://saumya.hashnode.dev/
💡 Dev.to Blog : https://dev.to/saumya66
Relevant Video Tags :