Skip to content Skip to sidebar Skip to footer

Azure Ad B2c Integration With Azure Ad Enable To Select Profiles

I have Azure AD B2C where two identity providers Google and Azure AD. Also I have custom policy to login made by this manual. When I click on Google login button in my app, there i

Solution 1:

I faced the same issue and I fixed it by adding below code in Configure method for OpenIdConnectOptions

options.Events = new OpenIdConnectEvents
 {

    ...
    OnRedirectToIdentityProvider = async (context) =>
    {
      context.ProtocolMessage.Prompt = "select_account";
    }
 };

Can you share your Startup.cs file?

Post a Comment for "Azure Ad B2c Integration With Azure Ad Enable To Select Profiles"