Closed joseph-d-p closed 6 years ago
I'm using Angular 2.
Inside my auth guard has the line:
context.handleWindowCallback();
However, on other tabs, even though a user is authenticated in one tab, it redirects to sign-in page and has all adal.* session storage fields empty.
I tried using the Session Storage but was unsuccessful.
The Session Storage had the updated values after the attempted sign-in with id_token:
id_token
adal.error: "Invalid_state" adal.error.description: "Invalid_state. state: xxxxx-xxxx-xxxx-xxxx-xxx" adal.token.renew.status: "Completed"
How can I manage the session efficiently on multiple tabs using ADAL.js?
After setting the cacheStorage to localStorage it's now working!
cacheStorage
localStorage
I'm using Angular 2.
Inside my auth guard has the line:
However, on other tabs, even though a user is authenticated in one tab, it redirects to sign-in page and has all adal.* session storage fields empty.
I tried using the Session Storage but was unsuccessful.
The Session Storage had the updated values after the attempted sign-in with
id_token
:How can I manage the session efficiently on multiple tabs using ADAL.js?