Questions tagged [azure-b2c]

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

304 questions
2
votes
1 answer

Blazor WASM - Multiple Authentication Schemes (Azure AD and B2C)

I am trying to implement multiple authentication schemes in Blazor WASM. I want my users to be able to login using either Azure AD or Azure B2C and I don't want to use Custom User Flows in Azure B2C as I have found that to be very complex and…
2
votes
1 answer

Azure Active Directory B2C AADB2C90051: No suitable claims providers were found

I have created custom policies with SSO and account migration (you can view them on GitHub here, Note: I removed/edited values for security reasons). I want users to be able to sign in with a social provider OR local account for the first time. I…
2
votes
1 answer

Blazor WASM AzureB2C Login-callback 404

I have a .NET 6 Blazor WASM project. I am using MSAL to authenticate using AzureB2C. It's hosted in Azure Static Web Apps. The app has been live and working entirely as expected. I am now receiving a 404 error after a successful login redirecting to…
2
votes
1 answer

Azure Ad B2C vs Keycloak

I have a question regarding keycloak and Azure Ad b2c. Both offres authentication with different identity providers. Main difference I can see is in authorization. With Keycloak I can easily manage claims and roles of users via admin portal. In…
rethon012
  • 23
  • 6
2
votes
0 answers

Microsoft Identity UI Account Controller Customization 404

I have set up a Azure B2C OpenIdConnect system for our website using Microsoft Identity Web (https://github.com/AzureAD/microsoft-identity-web}. I could sign-in and out of the system with out issue. I can still sign-in but I am unable to sign-out…
2
votes
0 answers

Maui Azure B2C Login returns empty AccessToken

I have implemented the Azure B2C authentication from this documentation. I did receive a token but my web api always returned 401. I assume, the docs are not valid for Azure B2C but only for Azure AD. I was playing around a little bit and I found…
Weissvonnix
  • 731
  • 7
  • 23
2
votes
3 answers

Azure B2C social logon with Twitter - AuthorizationError

I am setting up Twitter as a social login option following this doc reference on auto-account-link policies. It's been quite some time since I've finished the policy side but keep consistently getting the authorization error below: correlationId:…
2
votes
1 answer

Azure B2C You are already registered, please press the back button and sign in instead

I have created a custom B2C_1A_SIGNUP_SIGNIN Policy. Used Google Authentication. When I hit the create button mypersonaltenantid gets validated through a Azure Function. I am presented the error message You already registered, please press back…
Daniel
  • 9,491
  • 12
  • 50
  • 66
2
votes
1 answer

Azure Ad B2C - Output Claims do not return email address as a single value, but an array instead

For some reason Azure B2C returns an email_addressess claim instead of the standard open id policy spec claim for email. "email" or "http://schemas.xmlsoap.org/ws/2005/05/identity/claims/emailaddress". Why is this? It should return this along with…
Arra
  • 43
  • 1
  • 6
2
votes
1 answer

Get Azure B2C User Directory listing in Azure Function with MSAL.NET

We are currently getting a list of our Users using MS Graph and the directoryObjects/getByIds endpoint. In the Startup of the ASP NET Core API we are using Microsoft.IdentityModel.Clients.ActiveDirectory and this…
Pat Long - Munkii Yebee
  • 3,592
  • 2
  • 34
  • 68
2
votes
1 answer

How to implement loginRedirect using vuejs and azureb2c and msal.js

I'm trying to implement an SSO using Azure b2c and Vuejs and MSAL, but I'm getting some issues. msalConfig: { auth: { clientId: "******dd03", authority:"https://*****", knownAuthorities: [ …
Java user
  • 261
  • 3
  • 18
2
votes
0 answers

How to start Azure B2C User Flows from Blazor WASM application using MSAL 2

I've successfully configured the Azure B2C service so that a Blazor WASM application will launch my B2C_1_Signin User Flow by navigating to /authentication/login in my application. Now, I'm trying to launch my B2C_1_Signup User Flow. When I try…
Doug Clutter
  • 3,646
  • 2
  • 29
  • 31
1
vote
1 answer

Scope User.Read.All not works for azure b2c

I am able to get access token using custom scope user_impersonation. https://{tenant}.b2clogin.com/xxx.onmicrosoft.com/oauth2/v2.0/authorize?…
baton
  • 13
  • 3
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…
1
vote
1 answer

Azure B2C invalid_grant error when requesting token with app registration created with Graph API

I am setting up applications using the Client Credentials flow in Azure B2C. When I create an application through the Azure Portal, I am able to assign it a secret and API permissions, then call the token endpoint to retrieve an access token. …
p-bednar
  • 13
  • 2
1
2
3
20 21