All Questions
Tagged with azure-ad-b2c asp.net-mvc
100
questions
0
votes
0
answers
26
views
Azure B2C Authentication Error IDX20803 and IDX20804 in Production Environment
I'm currently running an application in a production environment hosted on Azure (.net 8), which is set up with Azure B2C authentication. Recently, I've started to see a large number of failed ...
0
votes
2
answers
82
views
Azure b2c still authenticated after hitting logout
I'm implementing Azure B2C with an ASP.NET MVC app on .NET 4.8. Our process uses cookie authentication and local user accounts with a custom flow policy, which works great.
The issue is that I am ...
0
votes
1
answer
75
views
Refresh Tokens and MicrosoftIdentityWebApp
We currently use the AddMicrosoftIdentityWebApp approach to enable authentication using Azure AD B2C. Specifically, we use the following code:
services.AddAuthentication()
.AddCookie(...
0
votes
2
answers
82
views
Store Azure AzureADB2C object in ASP .NET MVC application as a Key Vault secret
I have AzureADB2C object in my ASP.NET MVC application stored in the appsettings.json file.
I want to store Azure AzureADB2C object as a Key Vault secret and then access it from Program.cs like so:
...
0
votes
1
answer
195
views
HttpContext.User.Identity.Name always returning null
I'm using the B2C ID Provider. The authentication part in my app is working correctly. However, I'm encountering an issue when attempting to retrieve information about the logged-in user. The ...
0
votes
0
answers
90
views
Azure AD V1.0 calling refresh token missing signature
I need to get the id_token from Azure AD whit refresh token but when I am getting it. it`s missing signature and lots of data.
We have a .Net application and a Java Springboot application and they ...
0
votes
0
answers
70
views
Azure AD B2C custom policy for simple signin using OpenID Connect fails on form submit
We are building a website using ASP.NET 6.0.408.
This is a multi-tenant app, meaning customers share the same database.
We distinguish the customer making the request by the subdomain.
For example if ...
0
votes
2
answers
120
views
How to select userflow based on request's subdomain? (ASP.NET, Azure AD B2C, Microsoft.Identity.Web)
We have a website made using ASP.NET 6.0.408.
This is a multitenant app, meaning it has one database for multiple customers.
A customer is identified by the subdomain of the request.
If a user ...
1
vote
1
answer
209
views
Azure Active Directory B2C SignOut Issue
I'm integrating Azure ActiveDirectory B2C in an MVC ASP.NET Core web app. I've added the following config:
in appsettings.json
"AzureADB2C": {
"Instance": "https://...
0
votes
0
answers
479
views
MSAL Issue when using login Pop up in .net MVC
I have an issue on azure AD authenticate, I want to make a social sign up form and implement the popup login on that, but when the user success login with social login the popup not close and the ...
0
votes
1
answer
51
views
Linking Social Account into Local Account on Azure AD B2C from authenticated user in .net MVC
Greeting,
I have a scenario, when the user that already login to my system and try to link their account into google social account (if their account is gmail) by clicking 1 button.
I have browsing ...
0
votes
1
answer
1k
views
/sign-in-oidc is returning 404 when sigining in using Azure AD B2C
This question is similar to Why is /signin-oidc returning 404 after using Azure AD sign-in? and Identity Server 404 after login (stuck on signin-oidc) except I'm already doing the solution for that (...
0
votes
1
answer
158
views
After an authenticated user closes my web app, how can I force them to reauthenticate with Azure B2C on reopening?
I am using Azure B2C with local accounts in an ASP.NET core MVC web app, using the Microsoft.Identity.Web.UI to provide account controller (proof of concept), and using the recommended B2C_1_SignIn ...
1
vote
1
answer
375
views
Azure AD B2C, ASP.NET Mvc and JQuery Ajax - Refreshing expired token via Ajax problem
I have a web application that is built using .NET 7.0 and Mvc/Razor. This application is secured by Microsoft Identity libraries and Azure AD B2C. I have added the [Authorize] attribute to the Mvc ...
0
votes
1
answer
348
views
Can I run custom middleware after authentication but before ClaimsTransformation.cs?
Can I run custom middleware after authentication but before ClaimsTransformation.cs?
ClaimsTransformation uses a token to make an external API call to get some information on the logged in user. I ...