UNSOLVED jwt expiration time
sandiprghane last edited by
is it possible to extend access token expiration time based on login user ?
user-1 token expiration time is 1 day
user-2 token expiration time is 2 days
dan last edited by
Not directly, no. The
expclaim is something that you can't modify. And 24 hours is a long time for a JWT anyway (we recommend seconds to minutes to ease revocation).
But you could set things up so that each of those folks got a refresh token, but that user-1's refresh token was revoked so they can't use it.