Questions tagged [azure-ad-b2c-custom-policy]

Azure AD B2C custom policies are configuration files for defining Azure AD B2C tenant. They are commonly used for addressing complex scenario that cannot be addressed through user flows.

Sample scenarios https://github.com/azure-ad-b2c/samples/tree/master#sample-scenarios

To provide product feedback, visit the Azure Active Directory B2C Feedback page.

1054 questions
1
vote
1 answer

hide cancel and navitation in webview embbed B2C

I am doing an authentication in xamarin forms, using b2c, they asked me to embed the pop-up screen that triggers and in turn hide or eliminate both the cancel and the navigation bar, has someone done that part or otherwise modify it? (thanks in…
1
vote
1 answer

How to render two custom policies within the same HTML file on Azure B2C?

is it possible to achieve the aimed scenario? My Product Brand Name
1
vote
1 answer

B2C - How to override sign up now link (custom policy)

I used this documentation to override a forgot password link in singInOrSignup custom policy, and it works perfectly : https://learn.microsoft.com/en-us/azure/active-directory-b2c/add-password-reset-policy?pivots=b2c-custom-policy How can I please…
Nicolas
  • 167
  • 8
1
vote
0 answers

input claim for extension_passwordResetOn always "undefined"

I am trying to set up a custom B2C policy according to sample available at: https://github.com/azure-ad-b2c/samples/blob/master/policies/force-password-reset-after-90-days/policy/TrustFrameworkExtensions.xml The problem I face is that on every sign…
veselinks
  • 11
  • 1
1
vote
0 answers

B2C modifying entered from B2C login username before loging-in to AD

I'm using Azure AD B2C Local Accounts Sign-in with custom policies. Is there a way to intercept the username entered before validation, modify it and then continue with validation with the modified name? I am using a single tenant for multiple…
h8tow8
  • 143
  • 9
1
vote
1 answer

Azure AD B2C Custom Policy error message customization

In Azure B2C, we are using custom policy for reset password userflow and we are trying to change the error message from 'This information is required' to 'Email address is required', 'Verification Code is required' etc etc. To do this as per below…
1
vote
1 answer

ADB2C Custom Policy to attempt login-NonInteractive then attempt login via REST API

I'm trying to create a custom login policy within Azure ADB2C (Identity Experience Framework), where we capture email address and password, then use these claims to attempt local account sign in (login-NonInteractive), but (and this is the awkward…
1
vote
1 answer

B2c Custom policy for sign in

I'm looking to create a custom policy in the following scenario User is created in tenant by job that has custom attributes for users case reference and Ni Number (i know how to do this) User gets a sign in page. There is no sign up page Sign in…
72GM
  • 2,926
  • 3
  • 27
  • 33
1
vote
1 answer

Localize Azure B2C error message 'A user with the specified credential could not be found' error message'

I am writing a custom policy for reset password on Azure B2C. When the user tries to reset password on an account that doesn't exist, this message shows up: 'A user with the specified credential could not be found' error message'. As per the…
davidx1
  • 3,525
  • 9
  • 38
  • 65
1
vote
1 answer

Implementing AD B2C custom policy with separation of email entering and sign-in sign-up steps

I'm trying to implement custom AD B2C policy which should work in the following way: First, user lands on screen with email field, he enters his email and clicks on "Next" button. Then, if user with entered email is already exists in local directory…
Vanya Makhlinets
  • 248
  • 1
  • 4
  • 13
1
vote
1 answer

How to Implement Localization for Azure Adb2c (Custom Policy) In flutter (dart)?

I am trying to implement a localization for Azure Adb2c in Flutter, in angular localization is implemented using ui_locales = language in configuration, I can't achive this in Flutter aad_oauth. Is there any other ways to implement this?
1
vote
1 answer

B2C Custom Policy error with client certificates

I am using B2C custom policies to federate to the external Azure AD Identity Provider. I was successful before when federating with client secrets, but trying to switch to certificates now, and getting an error "No url encoding for asymmetric keys".…
1
vote
1 answer

ADB2C custom policy - Writing a federated user is not setting the correct UPN in user profile

We are allowing External Azure AD users to signup and login to our application via a custom policy. The shell user that is being created in our adb2c directory does not get the UPN that I want in the user profile (screen shot below). I want the upn…
Sdiego
  • 27
  • 4
1
vote
2 answers

Custom claims included in implicit flow, but not included in PKCE flow

For some reason my token configuration is not respected when using authorization code flow (response_type=code). organization, and displayName are missing from the both the id and auth tokens. When I use implicit grant flow (response_type=id_token)…
Jakub Bochenski
  • 3,113
  • 4
  • 33
  • 61
1
vote
1 answer

How to Unlink a Work or School account in B2C?

I'm looking for an example of how to unlink an Azure Work/School account from a B2C user. I've used this sample policy Account-Linkage-Unified and can successfully link a Work/School account, but the unlinking uses the below Metadata tag to find…
Rich Wray
  • 23
  • 3