Published On May 25, 2024
We implement : Login, Signup and Refresh Tokens APIs and learn the differences between an access and a refresh token, and how to handle them in our authentication flow.
Configuration episode: • NestJs - Configuration [10]
MongoDB episode: • NestJs - MongoDB [11]
You can donate here: https://buymeacoffee.com/computerix
Make sure to leave a like & Subscribe!
Timestamps:
-------------------------
0:00 - Introduction & Overview
2:02 - Signup API (Schema, DTOs, Logic)
13:48 - Login API & JWT
25:44 - Handling Refresh Tokens
31:00 - Refresh Tokens API
38:00 - Authentication Guard & Protected Routes
50:15 - Storing one refresh token per person
52:50 - Summary
show more