Skip to content
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

Add allowRedirectInIframe flag to browser #2593

Merged
merged 6 commits into from
Dec 2, 2020
Merged

Conversation

jasonnutter
Copy link
Contributor

@jasonnutter jasonnutter commented Nov 12, 2020

By default, MSAL will block redirect operations if they are done inside an iframe, as we know the server will not support rendering the login UX in an iframe. However, there is at least one notable expection, the B2C embedded login UX feature (where the B2C login UI is allowed to be rendered inside an iframe), where invoking loginRedirect inside an iframe needs to be supported. This flag enables applications to opt out of that check if they know they need this functionality.

@github-actions github-actions bot added the msal-browser Related to msal-browser package label Nov 12, 2020
@jasonnutter jasonnutter added this to the @azure/msal-browser@2.8.0 milestone Nov 12, 2020
@coveralls
Copy link

coveralls commented Nov 12, 2020

Coverage Status

Coverage decreased (-0.1%) to 81.365% when pulling 9584fd4 on allowRedirectInIframe into 737b28c on dev.

@jasonnutter jasonnutter linked an issue Nov 30, 2020 that may be closed by this pull request
5 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
msal-browser Related to msal-browser package
Projects
None yet
Development

Successfully merging this pull request may close these issues.

SPA iframe support for loginRedirect flow
4 participants