Currently if the jwt token is expired, no way to refresh the token.
Add provision where hitting a endpoint, say /refresh with the refreshToken (which one can get when login, in addition to token) can get you the new token.
Similarly endpoint /revoke will allow revoking any token, which can be useful for logout.
Currently if the jwt token is expired, no way to refresh the token.
Add provision where hitting a endpoint, say
/refreshwith the refreshToken (which one can get when login, in addition to token) can get you the new token.Similarly endpoint
/revokewill allow revoking any token, which can be useful for logout.