Relative Content

Tag Archive for azure-ad-b2cazure-ad-b2c-custom-policyaad-b2c

Azure AD B2C Bad Request Message

I am building identity layer in my app using AAD B2C. I got across very unpleasant behavior of the service. If there is a certain internal error, it responds with the page with only raw text in it: Bad request. I do not need help figuring out what causes the error (in my case it is the fact, that facebook UI allows multiple submissions in consent window which fires multiple callbacks to AAD B2C, which can’t handle that).

Azure AD B2C custom policies: Validation in ConvertStringToPhoneNumberClaim claims transformation doesn’t work

I am working on an app using B2C custom policies. Currently, I am replacing an extension attribute containing users’ phone numbers with Microsoft’s built-in Mobile phone attribute. In connection with this, I have tried using the claims transformation ConvertStringToPhoneNumberClaim (https://learn.microsoft.com/en-us/azure/active-directory-b2c/phone-number-claims-transformations#convertstringtophonenumberclaim), which takes two strings (representing the phone number and the country code) and validates the phone number. If the phone number is invalid, it’s supposed to return an error message, and if it’s valid, it returns the number in a valid format with the phoneNumber datatype.

Implementing MFA for customer accounts not in Azure Active Directory B2C (Azure AD B2C) directory

We are implementing Azure B2C as identity system for an application. Our customer accounts are not in Azure Active Directory B2C (Azure AD B2C) directory. We are using Sign-in with REST API identity provider for user sign-in process. We are looking for solutions where we can use email or phone as MFA for customer accounts not in Azure AD B2C directory. It would be great if any available solutions could be shared for reference.

B2C Identity Experience Framework doesn’t generate the token in the last stage

I’m working on an Azure AD B2C custom policy to validate an email through a RESTful endpoint. If the validation and email verification are successful, I want to generate a token. I’m currently at the last step to generate the token, but I get the following URL: https://jwt.ms/?code=eyJraWQiOiI2WllIUmttREwyXzBvREF6UHhQWHZ. without any token in there. I am using it’s went to the last step.

Enable 2FA with push Notification with Azure Adb2C

I want to enable push notification through Microsoft Authentication App for MFA with Azure Active Directory with adb2c. By default there are user flow with Email, SMS, Phone Call and Timed OTP flow(Through Authenticator app). Can anyone help by suggesting the way to achieve the same?