-
Notifications
You must be signed in to change notification settings - Fork 94
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
Token renewal operation failed due to timeout. #269
Comments
I face the same error. Unfortunately, this problem makes my whole application useless. Any ideas on this? |
I am also facing this issue, it seems like this library is using MSAL v1 endpoint which utilizes iframe to renew the tokens now discouraged by modern browsers. for this MSAL.js v2.0 endpoint was introduced to resolve it. checkout https://docs.microsoft.com/en-us/azure/active-directory/develop/v2-oauth2-auth-code-flow |
It's pretty weird. I haven't experienced this issue for one day. But now the token-renewal fails like before. @AndrewCraswell could you please have a look on this? |
Should be resolved by #238 |
@GraemeF thanks for your respond. It helped me a lot. Is there any way we can fix it ourselves or should we still wait for another update? |
Library versions)
react-aad-msal
: 2.3.5 (latest) and 2.2.1msal
: 1.4.0 (latest) and 1.2.0Describe the bug
1-10 minutes after the initial login, we and our clients get redirected to the Microsoft login screen. From there on the only way to login again is to delete the cookies.
Additionally, the following error is logged multiple times to the console:
MSAL Authentication Error! Error-Code: token_renewal_error | Error-Message: Token renewal operation failed due to timeout.
Interesting Notes
Our Setup:
Our setup is almost the same as described in your documentation.
Desktop:
I am grateful for any help. :)
The text was updated successfully, but these errors were encountered: