Synonym of azure-ad-b2c tag https://stackoverflow.com/tags/azure-ad-b2c/
Questions tagged [aad-b2c]
174 questions
5
votes
1 answer
Content Security Policy error on login Azure B2C pages
Azure B2C pages throw Content Security Policy error on click Next/Continue buttons on different steps in login/reset-password flows. If I type email (or without email) and click Next button on the first step of login then error is thrown, but if…

Andriy Bilyak
- 51
- 3
5
votes
1 answer
Azure AD B2C: Cannot login immediately after going through a Password Reset Flow
We have created a built-in Password Reset user flow.
We register users automatically in B2C using the Microsoft Graph API and send an email with a direct link to the Password Reset flow for them to reset the password on the first login.
The user…

Alboz
- 1,833
- 20
- 29
3
votes
2 answers
Combined TOTP vs SMS vs Call MFA option on the B2C application
I tested the following sample: https://github.com/azure-ad-b2c/samples/tree/master/policies/pwd-reset-via-email-or-phone
and I can see below result:
However, I want to add the TOTP option to this page. I tried using the following sample but it is…

Amita
- 47
- 2
3
votes
2 answers
Azure AD B2C breaks OIDC spec
I've configured a custom policy with AAD B2C IEF per this link and am now trying to integrate it into API Gateway as a JWT authorizer per this link.
However, attempting to configure the authorizer throws an error
error updating API Gateway v2…

John B
- 1,129
- 14
- 23
3
votes
1 answer
Additional user input in B2C signin custom policy
I want to, during the sign in flow, ask the user for additional input, which would be used as an inputClaim in one of the next steps of the user journey in a custom policy. The value does not need to be persisted. Ideally, it would be done in the…

Mleszek
- 41
- 1
3
votes
2 answers
How to enrich azure b2c token with custom claims using api connectors and asp net core web api
I have a user flow B2C_1_singupsingin1
I added an api connector, embed it in this stream and the endpoint url for the API call.
Used…

Александр Климук
- 53
- 8
3
votes
1 answer
Azure AD B2C - Custom Policy "Session" is left in incorrect state after running the "Self-Served Password Reset"
We have a Custom Policy that is based on the SocialAndLocalAccounts starter pack.
We have been adding support from Home Realm Discovery based on this sample HomeRealmDiscovery-Modern to redirect users using third-party-providers to their correct…

Alboz
- 1,833
- 20
- 29
2
votes
1 answer
AAD B2C returned "AADB2C90090: The provided JWE is not a valid 5 segment token." when calling token API
I am working a POC to verify the migration of our Signup & Signup flow to Azure AD B2C. I have successfully called the API authorize to get the access token and id token. Then I tried to call /token to refresh the token according to document ,…

Benny
- 21
- 2
2
votes
1 answer
AAD B2C (MSAL) with Expo and react-native-msal error on init
I'm using expo@4.5.2 and react-native-msal@4.0.0
I've copied the B2CClient class from b2cClient.ts provided in the example directory of react-native-msal and my initialization is set up the same as in App.tsx example provided as well…

purple_cwsh
- 33
- 4
2
votes
0 answers
Get Access token (JWT) for AADB2C in Blazor Serverside app
I have a Blazor serverside application. To authenticate against it I have Azure AD B2C. I need to grab the access token (JWT) to authenticate against an API.
I have tried many possible answers of which none is working. The most common one is to use…

Laurent Greyling
- 84
- 6
2
votes
1 answer
Azure AD B2C tenant deletion fails
I can't delete my B2C directory.
I've followed the instructions at How do I delete my Azure AD B2C tenant?
fails, even though all Resource Status's are green.
I've purged all applications, signed into the tenant with the CLI and done an az ad app…

John B
- 1,129
- 14
- 23
2
votes
0 answers
Error from SAML TechnicalProfile when executed within SubJourney "80131515: ValidateAsync is not supported for Web.TPEngine.Providers.RestfulProvider"
I am setting up a SAML IDP in Azure AD B2C following this guide. It works fine when I execute it as an OrchestrationStep in a UserJourney but when I execute it as part of a SubJourney I get the following exception:
[
{
"Kind": "Headers",
…

tiberriver256
- 519
- 5
- 14
2
votes
2 answers
Azure AD B2C and MS Teams app (bot + tab) auth
We are working on integrating our app with MS Teams using a Teams app with a bot and a tab and we are struggling with the authentication.
Our scenario is:
We use Azure AD B2C for authentication to our app (using predefined user flows).
We have…

Ivan Sangines
- 440
- 5
- 11
1
vote
2 answers
Azure B2C limited local email address length 64 characters
When creating a local user with Azure B2C, the identity setup requires the following three properties: signInType, issuer and issuerAssignedId (doc). If the signInType is set to emailAddress, we are required to set the issuerAssignedId to the users…

Kieron MK
- 75
- 8
1
vote
2 answers
Logout_hint parameter not being added to AAD identity provider logout URL in B2C custom policy
I am trying to add a logout_hint parameter to the logout URL for a B2B identity provider in an Azure AD B2C custom policy.
I have verified that the login_hint parameter is being added correctly to the user's token claims, and have checked that the…

Andrii Dovhal
- 11
- 2