Closed matthewvalimaki closed 7 years ago
Any integer is technically a valid UNIX epoch time so it must have been something other than an integer?
What was the value that you had exp
set to?
It was long format of UTC. So noticing that took me a while. I simply forgot to make it integer.
Gotcha!
This is minor but took some time from me to figure out. For example if
exp
is not a number containing a NumericDate value then_scheduleAccessTokenRefresh
will go into an indefinite loop because of(expiresAt * 1000)
will be NaN. Perhaps a simple numeric check in_validate
would be sufficient.