Questions tagged [azure-b2c]

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

304 questions
6
votes
3 answers

Azure B2C Sign Out, then Sign In does not challenge the user with a password prompt

I am using Azure AAD B2C to manage my users and auth flow. I am trying to create a user experience where the user can log in under a different account. The user should be able to Log Out of their account and then click Sign In and be able to provide…
Rob S.
  • 1,044
  • 7
  • 25
4
votes
2 answers

Azure B2C client credentials flow throws invalid_grant AADB2C90085

I followed this resource: https://icareb2cdev.b2clogin.com/icareb2cdev.onmicrosoft.com/B2C_1A_DEMO_CLIENTCREDENTIALSFLOW/oauth2/v2.0/token Azure B2C App registrations: Protected web api Expose an api App ID URI = https://{my tenant…
Exegesis
  • 1,028
  • 1
  • 18
  • 47
4
votes
1 answer

Prepopulate values on Azure b2C from the query parameters using Custom Policies

I have followed the instructions provided in Any way to provide default values for inputs in an Azure AD B2C custom policy? . Unable to get the query parameter and save it on Azure B2C The GivenName shows as NULL. My technical profile looks like…
Kev
  • 45
  • 6
3
votes
2 answers

Azure b2c throwing undefined error which is vague error and should be user/email exists error?

this undefined error is thrown by Azure B2C when i try to signup an existing user can i fix this issue somhow?
momin naveed
  • 141
  • 10
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…
3
votes
1 answer

Next auth v4 Error [ERR_TLS_CERT_ALTNAME_INVALID]: Hostname/IP does not match certificate's altnames

Need authorization using azure b2c All settings from original documentation https://next-auth.js.org/providers/azure-ad-b2c import AzureADB2CProvider from 'next-auth/providers/azure-ad-b2c'; import NextAuth from 'next-auth'; export default…
3
votes
1 answer

Migrate Azure AD B2C user flows to custom policies

We are considering to start with the built-in user flows for our application in B2C. We want to benefit from the standard flows to register users, have forgotten password workflow in place, have MFA, etc... However, as business requirements for our…
Sam Vanhoutte
  • 3,247
  • 27
  • 48
3
votes
1 answer

Combining two methods of MFA in Azure B2C

I'm interested in whether I can configure both methods of 2FA for my app in B2C? So that a user can then choose how he wants to sign in: with MFA via SMS or via authenticator app
3
votes
1 answer

Azure Active Directory B2C new user invite to set their initial password

In short: how to set up Azure B2C to pre-create users and invite them to set their initial password (rather than reset it). We have public facing website that an organisation can pay for and it gives them access to their own area. We add one or…
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…
3
votes
1 answer

Can I access an Azure B2C tenant with Microsoft Graph Explorer?

Microsoft provides information for accessing Azure B2C with the Graph API. https://learn.microsoft.com/en-us/azure/active-directory-b2c/microsoft-graph-operations They have examples for utilizing Postman and Visual Studio. Both of which require a…
Appleoddity
  • 647
  • 1
  • 6
  • 21
2
votes
1 answer

Updates to converged applications are not allowed in this version

We are trying to create secrets for applications in b2c tenant from powershell. After searching a lot, came across these commands that are working fine for normal applications. $StartDate = Get-Date $EndDate =…
2
votes
1 answer

Blazor WASM - User.Identity?.IsAuthenticated == true but unable to get access token without user intervention

I have a dotnet 7 Blazor WASM app, using Azure AD B2C (via AddMsalAuthentication in Program.cs). The homepage of the app allows anonymous access, and features a call-to-action to login if the user is not authenticated. In the layout used by the…
Paul Suart
  • 6,505
  • 7
  • 44
  • 65
2
votes
1 answer

Dont write new B2C account to directory until validation technical profile is complete

I am creating a custom policy in Azure B2C. This policy currently allows a user to signup for an account, after which we validate some info from the user and write a custom claim into the user object via an API call. At the moment the user object is…
2
votes
1 answer

OpenId Connect Front-Channel logout alternative - redirect chain?

Recently I got interested in OpenId Connect related topics. OpenId Connect Front-Channel logout is a way to inform all applications which use browser session that logout happened in one of them. Since the solution use iframes and 3-party cookies,…
michals
  • 61
  • 1
  • 5
1
2 3
20 21