How to refresh JWT manually
I understand that the JWT may expire before the session expires. In this case, I check whether the JWT is expired before I issue a new JWT.
I've tried this method so far but no avail:
I've tried this method so far but no avail:
- getting the session using the expired jwt so I can call
api.getTokenby placing the session token but no avail as calling getSession only returns null