-
Notifications
You must be signed in to change notification settings - Fork 360
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
getTokenSilently throws Timeout error #589
Comments
Thanks @alexandernanberg - we think that this may be resolved in #422. As that PR has not had any progress recently, we're going to take over the work and finish it off. Will report back once it's available. |
@alexandernanberg We have now released 1.13.1 which includes the change from #422 - could you please give it a try to see if it resolves your issue? Appreciate that it might be hard to determine that. |
@stevehobbsdev We're not using an interval anymore so I won't be able to say unfortunately. I think we can close this since I can't confirm |
I still have this problem when using it inside a chrome extension. These are my options:
|
@BjoernRave, if you haven't managed to resolve your problem, please raise a new issue, completing the template and providing a reproducible example (if possible), so that we have all the information we need to help. |
Describe the problem
I have an interval that runs every 15 minutes to update the token stored in React state. But when you leave the tab open overnight it will throw an Timeout error. There isn't any error logged to the Auth0 logs.
What was the expected behavior?
No error thrown
Reproduction
It's quite hard to reproduce since you need to wait for a while. Here is a simplified example of the code I'm using.
So run this and let it be in the background for a while (computer might need to be asleep) and then when you open it up there will be a runtime error thrown.
And here is the exact error that's thrown
Environment
auth0-spa-js
used: 1.12.1The text was updated successfully, but these errors were encountered: