-
Notifications
You must be signed in to change notification settings - Fork 426
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
Silent renew stops after 400 token response and second browser "back" navigation #1321
Comments
This occurs for me as well with the following: Angular 13.3.1
|
This is a consistent and annoying problem, has anyone found a workaround? |
I am back again in 2023 to ask if anyone has found a workaround for this. The user experience is terrible with this bug. When a user presses the back button multiple times there is a chance the entire app reloads due to the error from the IDS and having to go back to the IDS to 're-authenticate' instead of silent renewing. |
Describe the bug
Silent renew seems to be triggered with response 400, after navigating back twice. After that silent renew stops and does not renew token. It seems that on navigating back second time silent renew triggers with same code in payload.
To Reproduce
Expected behavior
Navigating back should not trigger silent renew and should not stop silent renew.
Screenshots
Desktop:
Additional context
Tested on angular-auth-oidc-client 11.6.11 (angular 11) and 12.0.3 (angular 12).
The text was updated successfully, but these errors were encountered: