Popup authentication with other domain as redirect URI than application URI #2320
Closed
1 of 5 tasks
Labels
msal-angular
Related to @azure/msal-angular package
question
Customer is asking for a clarification, use case or information.
Library
msal@1.x.x
or@azure/msal@1.x.x
@azure/msal-browser@2.x.x
@azure/msal-angular@0.x.x
@azure/msal-angular@1.x.x
@azure/msal-angularjs@1.x.x
Description
I'm using MSAL in an embedded Angular app. Due to embedding, I don't have a public endpoint which is reachable from the outside (for redirect URI).
So I have hosted the application somewhere else, and after authentication (via popup) I want to retrieve the id_token and access_token from the popup. But MSAL doesn't recognize the popup came back with a result.
Examples:
I'm running the Angular app local (so not embedded in another application). And the URL is: https://localhost:4200.
The redirect URL i'm using is: https://localhost:4200. This works fine, and the app is logged in successfully.
When running local again, (https://localhost:4200) and setting the redirect URL to https://angular-host.z6.web.core.windows.net/ the popup is showing the Angular application homepage, with in the URL the right id_token / access_token params.
The text was updated successfully, but these errors were encountered: