3

when i create a jwt access token and if im using a refresh token

this access token expires every 15 min

am i supposed to code a whole separate route in the backend api for the refresh token so i can make a request to the whole route to trigger the refresh token and generate a new access token?

or should the backend automatically trigger refresh token whenever it receives a request and realizes the access token has expired?

Comments
Add Comment