Forum Discussion

agour2410's avatar
agour2410
Copper Contributor
May 01, 2024

AD B2C Custom policy

Good evening,


We've developed a custom login and sign-up policy on AD B2C. The login process had three pages: 1. Phone number entry, 2. Country code and phone number(Phone number is added automatically from step 1) entry, and 3. OTP verification leading to token generation. We want to optimize this flow. Now, we aim to eliminate the first page and directly present page 2 (Country code and phone number). Although we've updated the journey and technical profile accordingly, the HTML rendering isn't functioning correctly. Is there something we overlooked?


Is there any other way to do it?

1 Reply

  • May take a look at this as well:

     

    • Update the Content Definitions: Ensure that the content definitions in your custom policy are correctly referencing the updated journey and technical profile. Sometimes, mismatches in content definitions can cause rendering issues.
    • Check the Claims Providers: Verify that the claims providers in your policy are correctly configured to handle the new flow without the phone number entry page. You might need to adjust the claims providers to ensure they align with the new process.
    • Review the Technical Profiles: Make sure that the technical profiles are correctly set up to handle the new flow. This includes ensuring that the necessary claims are being passed correctly between the steps.
    • Test the Policy: After making changes, test the policy thoroughly to ensure that the HTML rendering works as expected. You can use the "Run now" button in the Azure portal to test the policy and see if the changes are applied correctly.

Resources