Add B2C sign in/up page in an iframe when using custom domain

NHering22101 106 Reputation points
2021-04-05T06:09:05.623+00:00

If we use the custom domain of Microsoft B2C https://learn.microsoft.com/en-gb/azure/active-directory-b2c/custom-domain?pivots=b2c-user-flow, is it then possible in our SPA to load the sign in/up page within an iframe?

Microsoft Entra External ID
Microsoft Entra External ID
A modern identity solution for securing access to customer, citizen and partner-facing apps and services. It is the converged platform of Azure AD External Identities B2B and B2C. Replaces Azure Active Directory External Identities.
2,634 questions
0 comments No comments
{count} votes

Accepted answer
  1. AmanpreetSingh-MSFT 56,301 Reputation points
    2021-04-05T06:51:31.36+00:00

    Hi @NHering22101 · Thank you for reaching out.

    We have recently introduced Embedded sign-in experience that provides inline frame element <iframe>, you can embed the Azure AD B2C sign-in user interface directly into your web application, for which use of custom domains for your policies is a pre-requisite.

    Note: This feature is currently in preview.

    -----------------------------------------------------------------------------------------------------------

    Please "Accept the answer" if the information helped you. This will help us and others in the community as well.


0 additional answers

Sort by: Most helpful