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
626 stars 373 forks source link

ADAL.js Popup sign in failure in Edge/IE with error message “Popup Window is null.” #881

Closed harryhaomsft closed 4 years ago

harryhaomsft commented 5 years ago

I'm submitting a...


[ ] Regression (a behavior that used to work and stopped working in a new release)
[X ] Bug report  
[ ] Performance issue
[ ] Feature request
[ ] Documentation issue or request
[ ] Other... Please describe:

Browser:

Library Name

Current behavior

Our teamrecently started using ADAL.js for authentication. And we are seeing a lot of customers using Edge are seeing problems signing in with popup window.

We can also repro the problem on our side - when ADAL.js try to open the popup window, Edge instead opens up a full browser window. And ADAL.js will fail signin, with error message "Error opening popup: Popup Window is null. This can happen if you are using IE".

Is this a bug with ADAL.js or EDGE/IE? What's the cause of this issue? Is there a work around for this? And is there going to be a fix for this?

Is this known issue related to this issue? https://github.com/AzureAD/azure-activedirectory-library-for-js/wiki/Known-issues-on-Edge

Expected behavior

The popup window should be a popup window instead of a full browser window. And user should be able to do sign in in the popup window.

sameerag commented 4 years ago

Can you try moving to msal js?

All current authentication work from microsoft is delivered through msal js library here. adal js is still supported only for security fixes. We would recommend to move to msal js for any advanced feature asks.

jmckennon commented 4 years ago

Closing this as we're assuming this is no longer an issue. We recommend that everyone switch to msal js here for advanced features and bugfixes.