You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
react-adal library caches a delegated token by resource name (adal.access.token.keyhttps://organization.onmicrosoft.com/hello-world-app/). Usually when using adalFetch the library acquires new resource/delegated token when it doesn't find one in the storage.
When a different user logins in with same state i.e. by going back to the Microsoft login page using browser back button from a logged in app, adal library caches the new "id_token" and "access_token", but doesn't update the resource/delegated token. On every new request adal (the acquireToken method) is using the token from cache (which in this case is stale token).
The text was updated successfully, but these errors were encountered:
react-adal
library caches a delegated token by resource name (adal.access.token.keyhttps://organization.onmicrosoft.com/hello-world-app/
). Usually when usingadalFetch
the library acquires new resource/delegated token when it doesn't find one in the storage.When a different user logins in with same state i.e. by going back to the Microsoft login page using browser back button from a logged in app, adal library caches the new "id_token" and "access_token", but doesn't update the resource/delegated token. On every new request adal (the
acquireToken
method) is using the token from cache (which in this case is stale token).The text was updated successfully, but these errors were encountered: