Skip to main content

All Questions

0 votes
0 answers
14 views

Using AzureB2C Invite flow prevents EnableTokenAcquisitionToCallDownstreamApi from working. Can I use two custom policies?

I'm trying to work with AzureB2C's invite flow from their samples (https://github.com/azure-ad-b2c/samples/tree/master/policies/invite) I have setup the two custom policies B2C_1A_InvitePolicy ...
Tomas McGuinness's user avatar
1 vote
1 answer
36 views

How to implement AD B2C authentication on an ASP Net Core application that has Razor pages and web API in a single application

I am trying to secure the application using AD B2C, The application has Razor Pages and WebAPI. The razor pages .cs file has requests to the webapi using httpClient. I have gone through the sample B2C ...
ANIKET JHA's user avatar
0 votes
0 answers
90 views

Issue with Token Generation in ASP.NET Core 8 using Azure AD B2C: Error AADSTS50049

I'm working on an ASP.NET Core 8 API called ApiApp secured with Azure AD B2C and an ASP.NET Core MVC application called WebApp. Everything works fine, and I can call ApiApp from WebApp. I want to ...
micex's user avatar
  • 43
0 votes
1 answer
97 views

Error AADSTS50049: "Unknown or invalid instance" in ASP.NET Core 8 MVC with Azure AD B2C

I am working on an ASP.NET Core 8 MVC application and using Azure AD B2C for authentication management. Below is my appsettings.json configuration: "AzureAdB2C": { "Instance": &...
micex's user avatar
  • 43
0 votes
0 answers
31 views

Issue implementing impersonation in ASP.NET Core Web App via Azure B2C custom policy

We have several websites that use several different tech stacks that we would like to implement user impersonation, so an admin can login as a given user, see what they see, and be able to walk them ...
user25230787's user avatar
1 vote
1 answer
76 views

How to authenticate a user that was redirected to a web application from a desktop application

I am having an issue trying to use Azure AD B2C to use SSO between my desktop application and my web application. The issues is almost exactly what is described in this question: Microsoft Question I ...
Justin Armstrong's user avatar
1 vote
1 answer
70 views

Getting errors while implementing Azure AD B2C authentication on my ASP.NET Core web application

To setup B2C authentication on my application, I have performed the required steps i.e. B2c tenant creations and app registration. But I'm getting this error: I read through bunch of articles on ...
ANIKET JHA's user avatar
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(...
Kiran Ramaswamy's user avatar
0 votes
1 answer
86 views

Azure AD B2C authentication in an ASP.NET Core application

I want to implement authentication using azure ad b2c. I have covered all the prior requirements such as an azure b2c tenant account (directory) and have an idea of registering application. My main ...
ANIKET JHA's user avatar
0 votes
1 answer
109 views

Configure .NET 8 Blazor SSR (Static) app to work with Entra ID in Azure AD B2C

I am having trouble configuring a .NET 8 Blazor SSR Static application to work with Entra ID in Azure AD B2C. In Program.cs I have this: builder.Services.AddAuthentication(OpenIdConnectDefaults....
user1843640's user avatar
  • 3,819
0 votes
0 answers
237 views

ASP.NET Core 8 Web API w/ Angular SPA - Issuer mismatch on token which sometimes self resolves

I am in the process of upgrading an app from Azure AD B2C to Entra ID for customers. My understanding is that the general configuration details are the same as those for a single-org Azure AD app. The ...
samDTMSP's user avatar
-1 votes
1 answer
101 views

Correlation failed. - Azure AD B2C not able to connect and validate Auth0 users

I am adding Auth0 as one of the IDPs in Azure ADB2C via custom policies. I have added Auth0(OpenId connect) technical profile like below in custom policies, however, when a user tries to log in, I am ...
Sachin's user avatar
  • 531
0 votes
1 answer
750 views

Multiple Bearer Authentication Schemes in ASP.NET Core Using Microsoft.Identity.Web

I understand it is possible using the custom JWT Providers to add multiple Authentication Schemes in one application. In the following documentation: https://github.com/AzureAD/microsoft-identity-web/...
Mason A's user avatar
  • 86
0 votes
1 answer
83 views

Error integrating Azure B2C in Blazor Wasm project

I've created a new Blazor WebAssembly project and tried to integrate authentication with Azure B2C using Microsoft.Identity.Web version 2.6.1 along with Microsoft.Identity.Web.UI 2.6.1. However, ...
micex's user avatar
  • 43
2 votes
1 answer
166 views

Securing Controllers in ASPNET Core with Azure Ad and Azure AD B2C

We have an ASP NET Core We API (.NET8) running in an Azure App Service. We are using Microsoft Identity Web (2.16.1) and configure Startup like this services ....
Pat Long - Munkii Yebee's user avatar

15 30 50 per page
1
2 3 4 5
18