Closed guanacone closed 3 years ago
backend implementation for refreshing access-token.
Decided to only decode the provided JWT as its verified by the preceding passport middle ware. JWT is decoded to retrieve user._id and user.email. to be reencoded in new JWT.
user._id
user.email.
backend implementation for refreshing access-token.
Decided to only decode the provided JWT as its verified by the preceding passport middle ware. JWT is decoded to retrieve
user._id
anduser.email.
to be reencoded in new JWT.