-
Notifications
You must be signed in to change notification settings - Fork 2.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Popup fails to open https://login.microsoftonline.com/ #5296
Comments
@diamant-isufi-sveasolar Are you sure it isn't hitting login.microsoftonline.com and then immediately redirecting back to your app? In cases where you already have an active session with AAD you may be redirected back without interacting with the page. Try collecting some network logs to confirm. |
@tnorling it does go to https://login.microsoftonline.com, but then it redirects me back to my app inside the popup, so it doesn't close. |
Does the url of the popup include the #code= or has the hash been stripped off? |
@tnorling The login.microsoftonline route opens up, it then redirects me back to the web route, but fails to close.. I am then stuck in the popup having the route that should be in the browser. This is a screenshot of the logs |
This issue requires attention from the MSAL.js team and has not seen activity in 5 days. @sameerag please follow up. |
@diamant-isufi-sveasolar What are you using as authority in the authConfig? Is it a multi-tenant application |
@diamant-isufi-sveasolar this should be fixed in version 2.30.0, please upgrade and let us know. |
@diamant-isufi-sveasolar This issue has been automatically marked as stale because it is marked as requiring author feedback but has not had any activity for 5 days. If your issue has been resolved please let us know by closing the issue. If your issue has not been resolved please leave a comment to keep this open. It will be closed automatically in 7 days if it remains stale. |
Core Library
MSAL.js v2 (@azure/msal-browser)
Core Library Version
2.28.2
Wrapper Library
MSAL React (@azure/msal-react)
Wrapper Library Version
1.4.6
Public or Confidential Client?
Public
Description
There is this issue that sometimes the popup fails to open https://login.microsoftonline.com/, instead it opens the URL that my project is hosted in(e.g: staging.test123.com), so the URL is the same in the browser and in the popup. This leads to me not being able to complete the sign in, no errors appear in the info logger.
Am I missing something in the config, or should I provide any fallback route for https://login.microsoftonline.com/.
MSAL Configuration
Relevant Code Snippets
Identity Provider
Azure AD / MSA
Source
External (Customer)
The text was updated successfully, but these errors were encountered: