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

Azure B2C Custom Policy Can't Sign In

I am setting up a custom policy for Azure B2C and I have followed the instructions here: https://learn.microsoft.com/en-us/azure/active-directory-b2c/custom-policy-get-started This allows me to create an account but if I try to authenticate with the…
Michael Edwards
  • 6,308
  • 6
  • 44
  • 75
0
votes
1 answer

Azure B2C Rest API Error Still Creating Account

I have created a REST API for Azure B2C to return a claim or an error during the account creation flow. In my Custom Policy I have hooked up the API and it gets called. However if the API returns either a 400 or 409, the account is still created but…
0
votes
1 answer

Verification DisplayControl voice call button

I have found out that you can only have two actions in the display control - them being SendOTP and VerifyOTP (or something along those lines). Is there a way to add another button say "SendCall" for voice calls. I am using Twilio as the SMS gateway…
0
votes
2 answers

Why do I get a validation error when I try uploading B2C claim file. Where is the policy xml 'yourtenant.onmicrosoft.com'

First time working with B2C policies. Trying to upload the starter claims package for Local. All of the files give me the same error: Validation failed: 1 validation error(s) found in policy "B2C_1A_PASSWORDRESET" of tenant…
Dave
  • 13
  • 2
0
votes
1 answer

Adding Application Claims from User Flow into AAD B2C Custom Policy

This is the Azure B2C User Flow’s Application claims, where I can tick the Email Addresses and save it. UserFlow Application Claims How can I do this in custom policy? I am trying to add Multi-Tenant login to AAD B2C via custom policies and I need…
BCdeve
  • 3
  • 3
0
votes
1 answer

Get custom policy name based on authorisation code

I am using Active Directory B2C to authenticate users. We are leveraging on code flow. We have 3 custom policies defined and each of them has it's own token endpoint. I would like to dynamically infer the token endpoint based the the code received…
0
votes
1 answer

Does AAD B2C screens support JS widgets?

We are trying to embed a widget on the selfasserted screen. However, the widget doesnt come to life. Can a JS widget be embedded in a B2C screen?
0
votes
1 answer

How do you add a "Resend code" for Azure AD B2C phone sign-in

We are using the following passwordless policy: https://learn.microsoft.com/en-us/azure/active-directory-b2c/phone-authentication As per the screenshots in that post, the sign-up has a "Send new code" button but the sign-in does not. Is this by…
rbrayb
  • 46,440
  • 34
  • 114
  • 174
0
votes
0 answers

azure-ad-b2c Successful verification of otp message

In Azure-ad-b2c I want users to see that the otp has been successfully verified. However, in ad-b2c window there is no such message appearing and I am not able to find a way to populate a custom message like 'OPT verified'. All I could see is a…
madilgul
  • 23
  • 4
0
votes
1 answer

unable to sign In for MultiTenant Azure AD using Custom policies in AAD B2C from my asp.net core web app

I have set up multitenant sign in sign up in Azure AD using a B2C custom Policy. After uploading the policy and testing using Run Now button in Azure portal with a reply url https://jwt.ms and everything worked as expected, I got the token and my…
0
votes
1 answer

How to customize error text in Azure B2C error page api.error

Consider the error page from Azure B2C Question 1: How can we customize the text in this image? Question 2: Should we expect only this text and html structure (h2 and some divs) to appear or may it change depending on the internal/server…
Octopus
  • 661
  • 4
  • 21
0
votes
1 answer

How to prefill some of the fields in ADB2C custom policy?

I am working on an ADB2C Signup Custom Policy. There are some fields/user attributes which I want to prefill based on the values passed in url using some query parameter or so. I have tried {OAUTH-KV:query_parameter} claim resolver mentioned in the…
0
votes
1 answer

Azure AD B2C OpenID Connect provider with code flow - Auth Request from B2C does not pass code challenge and code_challange_method in request

We have configured OpenID Connect provider in Azure B2C that supports 'Authorization Code Flow with PKCE' (does not support implicit flow) Its a single page angular app, when user select the user store during login the auth request throws an error…
0
votes
1 answer

IEF - Setting Default Value in initial SelfAssertedAttributeProvider - passing as OutputClaim to next step in the journey not working

Attempting to find any way (tried endless combinations) to default a value from the initial journey step 1 SelfAssertedAttributeProvider (api.selfasserted) and output into claims bag for downstream usage OutputClaim as default value
felickz
  • 4,292
  • 3
  • 33
  • 37
0
votes
3 answers

Azure B2C - The provided token does not contain a valid issuer

I'm using Azure B2C to connect to an external OpenID Connect identity provider, i created a basic user flow within B2C which works but only brings back a small number of claims so i need to create a custom policy to pass custom input parameters to…