Questions tagged [azure-ad-b2c]
Azure AD B2C is a cloud identity management solution for web and mobile applications targeting your customers (consumers and businesses).
2,383
questions with no upvoted or accepted answers
8
votes
0
answers
1k
views
asp net core 2 and Azure AD B2C, adding group based authorization
I'm creating an asp net core 2 web api using azure AD B2C for authentification.
I would like to use AD B2C groups to restrict the use of some controllers to admin members.
I've understood that for ...
7
votes
0
answers
866
views
Is it possible to close the log-in window of Azure AD B2C after redirecting to an electron using the system browser?
Current Situation
We built an Electron application that uses Web APIs guarded by Azure AD B2C.
The authentication process happens as follows:
User wants to log in
Electron prepares the initial OIDC ...
6
votes
0
answers
383
views
Azure AD B2C 2FA with SSO without having to verify twice
I have currently implemented the following with custom policies in my Azure AD B2C:
The user signs in with their Office or Google account.
If they have 2FA enabled on their social account, they ...
6
votes
1
answer
2k
views
Azure AD B2C login page is slow
I am using the Azure AD B2C authentication for Angular SPA. For some reason the login takes around 10 secs to load, when I check the browser dev tool there are 2 request which take most of the time. ...
6
votes
0
answers
2k
views
Multiple Authentication Schemes ASPNET Core 3
See Update below
I'm using Azure AD B2C and I'd like my users to be able to log in thru my web app as well as be able to utilize JWT bearer tokens and call Web API methods from a mobile app.
I can get ...
6
votes
0
answers
1k
views
Only login and logout flow works in Azure Active Directory B2C
I followed the official guide from Microsoft to setup ASP.NET Core Blazor WebAssembly standalone app with Azure Active Directory B2C which worked perfectly, login opens a new window that asks for ...
6
votes
1
answer
2k
views
How Do I Get the JWT Bearer Token Using B2C and Blazor
I've created a new Blazor app using the Visual Studio template adding B2C using the wizard during the project creation.
All works great with authentication. I can sign in using my favorite identity ...
6
votes
1
answer
902
views
Azure B2C Custom Policy - ID/Access tokens are not getting latest claims through Refresh Token
I've created Azure B2C custom policy to get claims in ID/Access token & getting refresh token through "authorization_code" grant. Then I've updated one of User claim i.e("displayName") through ...
6
votes
0
answers
1k
views
How to get Azure B2C Access Token on MVC app using Owin
My latest project has me making a MVC application. Basic requirements of the application are that is allows a user to sign in with Azure ADD B2C and allows users to manipulate data on an Azure App ...
5
votes
1
answer
2k
views
How can I manage Azure AD B2C with a service principal from the main directory
We are running Azure AD B2C to authenticate users in our application. We also managed to codify almost everything with Terraform and are pretty happy with it. Now we are attempting to move these ...
5
votes
0
answers
450
views
Login using Azure from a Capacitor built app opens a new login window outside the app
I am using capacitor 3.0 to build a native iOS app with React.
The app's user is expected to login first.
I want the user's login to be handled by Microsoft Azure ActiveDirectory B2C and followed this ...
5
votes
1
answer
1k
views
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 ...
5
votes
1
answer
1k
views
How to deal with multiple APIs with Azure B2C
I need assistance to understand the how Azure B2C can work in case if multiple APIs are required.
We have in this sample:
https://api01.azurefunction.com/
https://api02.azurefunction.com/
https://...
5
votes
2
answers
2k
views
Is iDP initiated SSO supported with a custom SAML iDP in Azure AD B2C?
I am working on adding a custom SAML 2.0 identity provider (Okta) to use with my B2C tenant. I have configured it and it works great when I initiate the login from my application. However, when I ...
5
votes
1
answer
2k
views
b2c msal User does not have an existing session and request prompt parameter
When I log in via loginRedirect I can see the MSAL token is populated on the redirect, but when attempting to use the token I get this error:
Could not silently retrieve token from storage.
...