Questions tagged [aad-b2c]

Synonym of azure-ad-b2c tag https://stackoverflow.com/tags/azure-ad-b2c/

174 questions
0
votes
1 answer

How to extract info from nested external idp access token in a custom policy?

I have a custom policy which produce b2c token with nested idp_access_token. I want my b2c token to include email claim. I have email (unique_name/sub claims) in nested idp_access_token. So, is it possible to have some kind of ClaimTransformation,…
0
votes
1 answer

No email for id token for B2C built in flow

I have B2C tenant for Azure Active Directory 1 (AD_1). I'd like to authenticate users from external AD_2. SignUp_SignIn flow was create for B2C tenant, all claims were selected. This flow related to custom open id provider with next settings, see…
Anton Putau
  • 632
  • 1
  • 7
  • 31
0
votes
1 answer

Error when Creating B2C User Attributes/Extension Attributes/Custom Claims

I'm trying to create, delete, or modify B2C extension attributes in the User Attributes tab under Azure AD B2C resource, because some of our existing ones are misnamed. But, whenever I try to add a User Attribute, I get the following error every…
0
votes
0 answers

Same-Site cookie issue when securing blazor server website with AAD B2C

I have configured a "Sign up and sign in" user flow in AAD B2C and integrated with my blazor server web application. The login user is successfully authenticated, and I am redirected to my application. The problem is, in the developers tool…
0
votes
0 answers

Azure B2C - Custom Policy - Error connecting identity provider DocCheck

I Have been trying to add a OAuth2.0 custom policy for Azure AD B2C to connect with External IDP (DocCheck). Same policy has google claim provider also which is working . I have verified ClientId And ClientSecret with DocCheck app registration and…
0
votes
0 answers

AADB2C90304 User journey went into a bad state. Claims exchange with id 'LocalAccountSigninEmailExchange' could not be found in orchestration step '2'

I am creating users using Microsoft Graph API as follows var userToAddToAAD = new User { AccountEnabled = true, DisplayName = $"{firstName} {lastName}", MailNickname = $"{firstName}{lastName[0]}", PasswordProfile = new…
0
votes
0 answers

B2C custom policy: How on sign up screen implement a link to sign in screen?

I was running a sample: Dynamic sign up or sign in Live demo When I executed test 3” In the sign-up or sign-in page select the Sign-up now link. Azure Azure AD B2C will take you to the sign-up page where you provide and verify your email…
Michael Freidgeim
  • 26,542
  • 16
  • 152
  • 170
0
votes
1 answer

ADB2C policies fails on ValidationTechnicalProfile

I am facing an issue, in my ValidationTechnicalProfile, if I remove this from ValidationTechnicalProfiles, login works, but with this ValidationTechnicalProfile it fails…
0
votes
1 answer

How to use a dynamic Bearer token in restful technical profile in ADB2C?

I have an API that I could access using a bearer token that has a TTL of 1 hour. I need to consume this API through ADB2C. As per the Microsoft Documentation, the bearer token is read from a policy Key…
0
votes
0 answers

ADB2C - SMS OTP verifies any random digits

I'm using AzureADMFAProtocolProvider to send OTP and verify it. I'm successfully receiving an OTP as SMS. However, ADB2C accepts any random OTP as valid OTP and takes user to the next orchestration step. Before moving to the next orchestration step,…
0
votes
1 answer

How to read users using username in ADB2C?

How do I define a technical profile with operation "read" using username? I tried input type as "signInNames.userName", "signInNames.username" - but the adb2c page directly throwns an exception error without a ADB2C code. This is how I defined the…
0
votes
1 answer

Azure AD B2C change email and update session

I've written an AAD B2C custom policy which allows the user to update their sign-in email. There are examples of how to do this on GitHub (e.g. https://github.com/azure-ad-b2c/samples/tree/master/policies/change-sign-in-name). The policy works fine,…
erionpc
  • 368
  • 3
  • 15
0
votes
1 answer

In B2C Custom Policies, how do I add a Informational Message Above an InputClaim textbox field?

In the password reset flow that I currently have, when the user clicks on the 'Forget your password?' link below the Sign in and Password text field, it leads to the page with the image below: Normally, its just asking for the User to enter their…
0
votes
0 answers

Azure B2C Custom policy - Changing the default action on email verification page

Using a B2C custom policy when you press enter on the email verification page in the screenshot below. The default is to click the continue button, this doesnt make a lot of sense on the first step of typing your email and wanting to press the send…
0
votes
1 answer

Password reset link azure b2c

I am using self-service password reset flow in b2c sign-up/sign-in policy. It's working fine, I am trying figure out if there's a way to expose that link on our actual website which can take users directly to their password reset subjourney. Is this…