Reputation: 75
I f I set JWTSessions.refresh_exp_time = 180, I can max. refresh the token after 3 minutes from login, no matter how many times it was refreshed before?
The refresh time is not increased when I refresh a token. Am i right?
jwt_session 2.5.2 rails 6.1.3
Upvotes: 0
Views: 407
Reputation: 2411
It will refresh the token every time you call refreshtoken. And simply put, the 3 minutes countdown is restarted.
Upvotes: 1