Server-side Blazor app unable to use multiple AD B2C User Flows

James Payne 1 Reputation point
2020-08-03T15:04:48.44+00:00

I have configured multiple Active Directory B2C user flows and can use each independently when I configure the "AzureAdB2C" settings in my appsettings.json file. If I don't use the appsettings.json and try and navigate to the b2clogin.com setting the correct tenant,user flow name and parameters it works to the point where it's returning to by Blazor app but then I get the following. 

15069-annotation-2020-07-31-094204.png

The app has ASPNETCORE_ENVIRONMENT set to Development but I get no further details on what the issue is.
What I'm trying to achieve is have a screen in Blazor where the user can their preferred signing method and be taken to that user flow, so, different users will use different flows.

Can user flows work like this with Blazor?

Microsoft Entra External ID
Microsoft Entra External ID
A modern identity solution for securing access to customer, citizen and partner-facing apps and services. It is the converged platform of Azure AD External Identities B2B and B2C. Replaces Azure Active Directory External Identities.
2,847 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Saurabh Sharma 23,806 Reputation points Microsoft Employee
    2020-08-04T00:10:20.06+00:00

    @James Payne - Can you please make sure that you have selected both access tokens an id tokens under implicit grant on application registrations blade. Please refer to the documentation which guides you to integrate Blazor application with Azure AD B2C.


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.