Login popup cross domain redirectUri #5104
Labels
answered
Question has received "first qualified response"
public-client
Issues regarding PublicClientApplications
question
Customer is asking for a clarification, use case or information.
Core Library
MSAL.js v2 (@azure/msal-browser)
Core Library Version
2.28.1
Wrapper Library
Not Applicable
Wrapper Library Version
0.0.0
Public or Confidential Client?
Public
Description
Hi MSAL,
When tried to use loginPopup with
redirectUri
on the same domain such ashttp://localhost:5000/blank.html
, the procedure works flawlessly. But can I useredirectUri
pointing to a cross domain page, for example here is the blank page I want to use: https://likidu.github.io/kaido-callback/blank.html, while the app is on some other domain or localhost. I tested it, the problem is the popup cannot close which is similar to #5091.My questions are:
redirectUri
with an absolute URI that is different from my main app domain?blank.html
. But not sure if that matters...I have to use another domain because my app is running in an environment which the app URI will always be
http://app_name.localhost:8081
which Azure AD B2C does not support this format as Redirect URIs. I have to consider put it as the external domain starts withhttps://
.MSAL Configuration
Relevant Code Snippets
Identity Provider
Azure B2C Basic Policy
Source
External (Customer)
The text was updated successfully, but these errors were encountered: