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

Use Recaptcha Enterprise with Azure B2C Custom Policies using the unifiedssp page

We wanted to implement ReCATPCHA Enterprise in our Azure B2C setup. ReCAPTCHA works by inserting a hidden input field in the login form. Once submitted we readout this value and send a request to google for the ReCAPTCHA assessment. If the…
Thibault Lesuisse
  • 395
  • 1
  • 3
  • 8
1
vote
1 answer

Azure AD B2C, 2 types of password, how to know which one?

This is the situation, Azure AD B2C custom policy: There are 2 types of passwords for my users, LongTermPasswords and temporary passwords.Long Term passwords must have at least 12 characters, and they follow a regular expression. Temporary passwords…
myself
  • 103
  • 7
1
vote
1 answer

Azure AD B2C ChangePassword custom policy "Invalid username or password."

there is a problem with Azure AD B2C custom policy for the password change. I'm combining User Flows and Custom Policies for the Azure AD B2C. Everything works fine: signup, login, reset password, impersonate user. The custom policy for changing the…
1
vote
0 answers

Sending a SAML LogoutRequest with SessionIndex from Azure AD B2C

We have a simple B2C user journey where the user authenticates via a 3rd party SAML Identity Provider and then does an api call to an external system based on the attributes received from the IdP. After completing the user journey the user should be…
1
vote
2 answers

AADB2C90080: The provided grant has expired. Please re-authenticate and try again

We are using azure/msal-angular v2.3 with ADB2C Custom policies having MFA enabled with either Phone or Email method. Many LIVE users are reporting issues while logging in. At times they need to do MFA twice (at times thrice) to get into the…
1
vote
0 answers

Pass parameter from application to custom B2C policy claim

I have a Timer, that manages Blazor application session time. After it expires, application redirects me to login page. The login page is implemented via B2C custom policies and as far as I know it is configurable with claims. Is it possible to…
1
vote
1 answer

Azure Active Directory B2C with Azure Front door auth response uses wrong domain

We are using Azure Active Directory B2C in combination with Azure Front door. When signing in with a password and username it works fine, but when signing in with a social provider it shows the wrong domain. Before sign in: After sign in with…
1
vote
1 answer

B2C Custom Impersonation Policy Giving Error

I am trying to create a custom policy that allows a user to impersonate another user. It is based off the impersonation sample (https://github.com/azure-ad-b2c/samples/tree/master/policies/impersonation) and uses the starter pack. However I didn't…
1
vote
1 answer

Single Sign Out in Azure AD B2C using Custom policies not working as expected

We are trying to implement SSO Azure AD B2C using Custom policies. We have a single App Registration with 2 redirect URIs for 2 Single Page Applications. The Single Sign In Process is working as expected. But we are facing an issue with Single Sign…
1
vote
0 answers

Azure B2C Custom Policy Social Button Showing Above Local Account Fields

I have added social logins to out custom policy. I am using the latest version of unifiedssp urn:com:microsoft:aad:b2c:elements:contract:unifiedssp:2.1.8 For some reason the div containing the social buttons are appearing above the local login,…
NigelW61
  • 51
  • 2
1
vote
0 answers

B2C Custom Policy Nested SubJourney

The Microsoft documentation on subjourneys state the following: A sub journey is called only from a user journey, it shouldn't call another sub journey.…
NigelW61
  • 51
  • 2
1
vote
0 answers

Azure B2C refresh token issues after revoke session due to Skew

I am following the details from the recent update to the policy start pack: https://github.com/Azure-Samples/active-directory-b2c-custom-policy-starterpack There appears to be a floor (or so I think) in the process. I have tried to details the…
NigelW61
  • 51
  • 2
1
vote
1 answer

Multiple query strings parameter handling in Azure AD B2C

We are developing ADB2C custom policies to handle the user authentication and registration requests coming from the client web app. I have a scenario, our web application is redirecting login / signup requests to B2C and that requests url append…
1
vote
1 answer

How to generate a JSON with a property containing .(dot) in one of the property in Custom Policies?

I am trying to generate JSON in custom policies for request body of an API. The required API request body is Required Request Body but while using the below code
1
vote
2 answers

Azure AD B2C Custom Policies - Include EmployeId claim

I have a web application that uses Azure AD B2C, with custom policies, for security. When I look at the user accounts in the Azure AD B2C portal, I can see an editable Employee Id field. This field would be very handy to store an internal company…
Dazfl
  • 627
  • 8
  • 23