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
0
votes
1 answer

Magic link: OpenIdConnectAuthenticationHandler: message.State is null or empty

Reference: https://github.com/azure-ad-b2c/samples/tree/master/policies/sign-in-with-magic-link Using this in your Production Application - Could you please help how can we use authentication library to create a state and handle authentication…
0
votes
2 answers

Azure AD B2C - How do we skip email verification (for 2FA) during token refresh?

my custom policy has custom 2FA verification sent to email during login user journey. I am using DisplayControls together with SessionManagement to send a single 2FA email message during login. However, during token refresh, the 2FA email message is…
0
votes
1 answer

Hide the url shown in WebViews in iOS when signing in using ADB2C and react-native-msal

Problem: I want to hide the url that is shown in the WebViews when logging in using ADB2C in iOS. Platform: React Native library: react-native-msal The Url Shown in red Things I tried: I tried changing the parameters ios_webviewType?:…
0
votes
0 answers

Azure AD B2C: Force password reset first logon not working (using custom policies)

I'm trying to force password reset after the first logon (in Azure ADB2C) using the Custom Policies as explained here. I'm able to login and get a proper JWT Token but I didn't manage to let it works. I followed different paths: I tried to merge…
0
votes
0 answers

Azure AD B2C Custom Policies are not Respecting B2C Password Protection Configuration

In order to protect B2C accounts from brute force password attacks, I followed this Microsoft Documentation: https://learn.microsoft.com/en-us/azure/active-directory-b2c/threat-management I'm currently experiencing these issues with custom policies…
0
votes
1 answer

Azure B2C SSO, can different claim data be sent depending on the client application

Our company is setting up Azure B2C as our IDP. If we have 2 different applications that will authorise through B2C, can you send different claim data with the token depending on which application the user is signing in to? From some research it…
0
votes
0 answers

Signup using invitation mail

Can we send a magic link for signup via Azure AD B2C policy rather than the application sending it? The sample at https://github.com/azure-ad-b2c/samples/tree/master/policies/invite shows the app sending the B2C signup link.
0
votes
1 answer

User token from Azure B2C Tenant

I have to migrate users from an Azure Active Directory B2C Tenant (oldtenant) to another (newtenant) using Seamless migration In the oldtenant I have some "users" (with @oldtenant.onmicrosoft.com) and some "Azure AD B2C users" (with…
0
votes
3 answers

Customise UI in azure active directory b2c for custom policies

I am trying to customize the UI for the azure b2c login page. In the login form I want to change the value of the placeholder for the input field, and the text value of the Sign in button from "Sign in" to "Log in". I have changed the values in the…
bippan
  • 239
  • 1
  • 2
  • 11
0
votes
2 answers

Do I need to add guest users to authenticate with Azure B2C?

I'm writing an app that authenticates with Azure B2C. For each user that I want to authenticate, do I need to add them as a guest user in my B2C portal? Or is there a setting that will allow my app to authenticate anyone, without having to add them…
MG123
  • 402
  • 2
  • 14
0
votes
1 answer

AD users in B2C tenant

I am wondering if it is possible to let's say connect the Azure AD with the Azure B2C, in order that the Azure AD users are able to login in my custom policy. I already implemented one, including MFA. I was reading this article, but I am not sure if…
Emaborsa
  • 2,360
  • 4
  • 28
  • 50
0
votes
1 answer

Passing multiple id_token_hint to the custom policy

With reference to the following page: https://learn.microsoft.com/en-us/azure/active-directory-b2c/id-token-hint Is there a way to send multiple JWT tokens to a custom policy so that they all can be validated in the policy? Reason I ask is as per…
0
votes
0 answers

B2C verification emails do not deliver

I have a situation where the verification emails sent from a B2C tenant at sign-up do not deliver to users with email addresses for certain domains like free.fr, neuf.fr, laposte.net, club-internet.fr, etc. Could the use of a third-party email…
Nana
  • 3
  • 2
0
votes
0 answers

Retrieve second parameter from stringCollection

How can I retrieve the second value of stringCollection, like ['Ana', 'Clara] And output this values in two different claims, e.g: // Ana // Clara I searched for and nowhere describes how…
Reni Dantas
  • 117
  • 10
0
votes
3 answers

process Azure AD B2C custom policy is using to hash data

I am attempting to use this process to hash data in custom policy: https://learn.microsoft.com/en-us/azure/active-directory-b2c/general-transformations#hash I need to hash data the same way in c# that will be sent as claims to the policy, and then…
heather
  • 21
  • 3