Closed franciscojrp closed 7 years ago
As what you pass to the expiration claim is only calculated once:
static let AccesTokenValidationLength = Date() + (60 * 5) // 5 Minutes later
after 5 minutes all fresh tokens are already outdated
Good catch! I always forget about this repository so sorry it has taken me a while to get this upgraded.
As what you pass to the expiration claim is only calculated once:
static let AccesTokenValidationLength = Date() + (60 * 5) // 5 Minutes later
after 5 minutes all fresh tokens are already outdated