sssebaaa
sssebaaa

Reputation: 75

jwt_session rails 6 token expiration

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

Answers (1)

Jeremie
Jeremie

Reputation: 2411

It will refresh the token every time you call refreshtoken. And simply put, the 3 minutes countdown is restarted.

Upvotes: 1

Related Questions