Closed RodrigoAngeloValentini closed 6 years ago
It's not possible to refresh an expired token. You need to create a new one.
It's possible to implement different strategy aka JwtRefreshStrategy with same data as JwtStrategy, but with different name? In JwtStrategy name is 'jwt'. I need also one 'jwt-refresh' name. Can you add please method for set name to strategy?
Closing as this is a general question about JWT's with very little to do about the passport-jwt module. Questions like this are more suited for forums like StackOverflow.
How I do for refresh a expired token?