Closed cheslijones closed 3 years ago
Did you able to resolve it @cheslijones ?
Anyone find a fix for this? Not sure if the same, but I get this error when I try to call authProvider.getAccessToken( ... forceRefresh : true)
periodically with a setInterval()
. This always causes a page reload which breaks page's state.
Any update?
@cheslijones have you been able to resolve this issue? I run into the same problem and cannot find the way to resolve it.
Library versions
react-aad-msal
:2.3.5
msal
:1.4.3
Describe the bug Using an Incognito Chrome window, I navigate to my running web application, login to Azure AD, and then click a button that does a
.getAccessToken()
. The first time I do this, it fails and reloads the web app. The second time I do it, it performs it successfully.Expected behavior I expected it to get the access token the first time I clicked the button.
To Reproduce I can provide my code:
Desktop (please complete the following information):