Relative Content

Tag Archive for azureazure-ad-b2cazure-ad-b2c-custom-policy

Azure b2c cutom policy signin validation profile

Hi i would like to create a custom policy tosign up/sign in Azure b2c with a validation profile, if user email does not exist in local Db it should fail, if user email exist in the local db but is the first time, it must register this user in Azure B2C with this idp and store this idp in local db and continue with the usr journey as authenticated user, if the user email and idp match the one store in the local db, it should conntinue with the signin user journey.

B2C Custom Policy: DisplayControl can’t validate/combine phone

I am struggling with a seemingly simple B2C custom policy that is used to sign in using phone number authentication. It is failing when trying to combine the countryCode and nationalNumber in a Validation Display Control. When using app insights to diagnose, it appears nothing is getting set even though I am typing the phone number. The country code should be defaulted to the US. CombineCountryCodeAndNationalNumber is untouched from the MS supplied templates.

Azure B2C custom policies select the redirect URL during sign-up/sign-in

I’m using Azure B2C custom policies for sign-in/sing-up flows.
Before running Custom Policy I can choose ReplyUrl for redirection after sign-in/sign-up.
But my flow can create different types of user and each one should be redirected to a different site.
There are any way to override redirectURL during sign-up/sign-in flow in the custom policies XML?
(I’m using OpenIdConnect)