Skip to content
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

The refresh token call is not being triggered when the network disconnects and then reconnects. #1438

Open
aadityaparcha1 opened this issue Sep 16, 2024 · 1 comment

Comments

@aadityaparcha1
Copy link

I am using angular-oauth2-oidc v15.0.1 in my Angular project to authenticate my application with the Identity Server. We have implemented a refresh token that is triggered just before the token expires. While everything generally works well, I encounter an issue when the network disconnects during a refresh token call, resulting in an "ERR_INTERNET_DISCONNECTED" error. After this error, the refresh token call does not retry.
Could you please suggest a smooth way to handle this situation?

@jnernest
Copy link

I do like to know is there a solution because once the refresh token call failed there is no retry happens which makes then still uses old token to authenticate which makes the calls to fail

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants