Next JS project to apply authentication
Explain Access Token and Refresh Token ℹ️
- used into requests to check user and session
- have a minimum duration
- it's dangerous if token save critical informations and have a long duration
- used to update access token time expiration without the login necessity
- have a long duration