Hi, I am building SPA with auth0
client. I want to use refresh tokens to get new tokens.
I followed this and everything is working.
I am just very curious that this package does not handle automatically refreshing tokens. I mean, I can program it very easily by reading exp
of idToken
and few seconds before its expiration, I would call getTokenSilently()
, which works fine, but…:
Is there any standardised way how to refresh tokens automatically?
Thank you