Relative Content

Tag Archive for azure-ad-b2c-custom-policy

Custom Email Verification Layout with User Flows

We are using B2C_1_SIGNIN_SIGNUP user flow but now we need to create our own email template for the Code Verification for Signups. It seems like we have to create a Custom policy to do that. Is there a way that we use User flow and somehow just add a policy for the code verification email portion? Or do we have to remove the user flow and do everything via Custom policy?

Set value to a claim

I am using Azure AD B2C with custom policy. It authorizes local and social accounts. The claim for the local user is read from AD B2C and it contains the oid claim.
The technical profile for the social account doesn’t have an oid output claim. How can I set in this case for the oid a “nothing”/”null”/”na” value? Ultimately the token should contain the oid claim with or without a relevant value.