AzureAD / azure-activedirectory-library-for-js

The code for ADAL.js and ADAL Angular has been moved to the MSAL.js repo. Please open any issues or PRs at the link below.
https://github.com/AzureAD/microsoft-authentication-library-for-js/tree/dev/maintenance/adal-angular
Apache License 2.0
627 stars 374 forks source link

All tabs point to the same page if opened quickly after redirecting from login.microsoft.com #771

Closed reddykkk closed 4 years ago

reddykkk commented 6 years ago

We are using adal.js in our site. If we quickly open multiple links in new tabs, after getting token from login.microsoft.com they all point to the same site.

We are setting cacheLocaton: 'localStorage'. We can set it to sessionStorage, but this is causing loops when authentication.

Here is how I can repro it easily - let's say our site www.abcd.com and we have links like www.abcd.com/1, www.abcd.com/2, www.abcd.com/3 etc. I sent a mail myself with these links, clear browser cache and open these links quickly from the mail. After fetching token, all these point to the same url like www.abcd.com/1

We are using adal-angular version 1.0.17

nehaagrawal commented 6 years ago

@reddykkk is there a sample repo that you can share with us to reproduce this issue? For the loops issues, which browser are you seeing this issue?

jmckennon commented 4 years ago

Closing this issue as there hasn't been a response in some time, and we're assuming this is no longer a problem.

Additionally, all current authentication work from Microsoft is delivered through the msal js library here. adal js is still supported only for security fixes. We recommend moving to msal js for any advanced feature requests and bugfixes.