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: [ Ссылка ]
MongoDB episode: [ Ссылка ]
You can donate here: [ Ссылка ]
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
![](https://s2.save4k.ru/pic/h-68sqxycJY/maxresdefault.jpg)