You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
How to set expire time when create a new jwt token?
And how to check a token is expired? Does below codes working?
local jwt_obj = jwt:verify("jwt-key", token,
{
lifetime_grace_period = 120,
require_exp_claim = true
}
)
The text was updated successfully, but these errors were encountered:
How to set expire time when create a new jwt token?
And how to check a token is expired? Does below codes working?
local jwt_obj = jwt:verify("jwt-key", token,
{
lifetime_grace_period = 120,
require_exp_claim = true
}
)
The text was updated successfully, but these errors were encountered: