How can we redirect user after successfull signup using Azure AD B2C Local account sign up page

AgroP 0 Reputation points
2023-11-21T12:19:17.4466667+00:00

I want to redirect user to signin page when he successfully signup using Local account sign up page of Azure AD B2C.

Note - We are using User Flow.

Microsoft Entra ID
Microsoft Entra ID
A Microsoft Entra identity service that provides identity management and access control capabilities. Replaces Azure Active Directory.
20,485 questions
{count} votes

2 answers

Sort by: Most helpful
  1. James Hamil 22,981 Reputation points Microsoft Employee
    2023-11-21T21:40:39.78+00:00

    Hi @AgroP , to redirect the user to the sign-in page after a successful sign-up using the Azure AD B2C Local account sign-up page, you can follow these steps:

    1. In the Azure portal, go to your Azure AD B2C tenant and select "User flows" from the left-hand menu.
    2. Select the user flow that you want to modify (in this case, the Local account sign-up page).
    3. Under "Properties", select "Page UI customization".
    4. In the "Page contract" section, select "Sign-up page".
    5. Scroll down to the "Page controls" section and select the "Continue button".
    6. In the "Action" section, select "Redirect".
    7. In the "Target page" section, select "Sign-in page".
    8. Save your changes.

    Please let me know if you have any questions and I can help you further.

    If this answer helps you please mark "Accept Answer" so other users can reference it.

    Thank you,

    James


  2. James Hamil 22,981 Reputation points Microsoft Employee
    2023-11-30T19:59:14.25+00:00

    Hi @AgroP , I apologize for the confusion in the previous response. It looks like you'll have to use custom policies for this. However, this sample should help set it up.

    You could also ask for the email using B2C, and then send the user to the sign in or sign up page based on if it exists using a single policy like Jas talks about here. Please let me know if you have any questions and I can help you further.

    If this answer helps you please mark "Accept Answer" so other users can reference it.

    Thank you,

    James

    0 comments No comments