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
When loading the react SPA, currently I have to run getAccessTokenSilently() on a poll of a few seconds to constantly check when an accessToken is available again. I also have to do this when refreshing the browser window. I lose all my authenticated state from the useAuth() hook. This is not an ideal solution. Having read about refresh tokens rotation I was wondering if the auth0 handles this internally automatically or whether I need to implement a strategy to retrieve the refresh-token and ultimately authenticated state. Either way, an example would be useful on the quickstart.
The text was updated successfully, but these errors were encountered:
When loading the react SPA, currently I have to run getAccessTokenSilently() on a poll of a few seconds to constantly check when an accessToken is available again. I also have to do this when refreshing the browser window. I lose all my authenticated state from the useAuth() hook. This is not an ideal solution. Having read about refresh tokens rotation I was wondering if the auth0 handles this internally automatically or whether I need to implement a strategy to retrieve the refresh-token and ultimately authenticated state. Either way, an example would be useful on the quickstart.
The text was updated successfully, but these errors were encountered: