Question regarding b2c login for a deployed web app

Preston Checkan 1 Reputation point
2022-06-09T16:46:04.877+00:00

I apologize if my description doesn't include enough information. I am new to azure, and this is the first project I am working on using b2c.
The problem I am having is regarding logging a user in with b2c. When I log in locally there is no issue. We are directed to the login page, and it signs in successfully. 209992-auth1.png

When we deploy the application on azure, and we go to sign in. We are met with this instead 209942-auth2.png

We know very little about this kind of this, but from what I can tell we were thinking that it may have to do with the redirecturl in the b2c tenent. Any help at all would be greatly appreciated.

Microsoft Identity Manager
Microsoft Identity Manager
A family of Microsoft products that manage a user's digital identity using identity synchronization, certificate management, and user provisioning.
610 questions
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,639 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. 2022-06-10T04:04:31.707+00:00

    Hello @Preston Checkan , the error you're facing is caused by the lack of the client_id query parameter in your authentication URL. Ensure your application configuration contains the required values for the aforementioned and other required parameters. Take a look to this document for how to configure an ASP.NET Core application.

    If you're using Azure Web Apps please take a look to Configure an App Service app.

    For more information about error codes take a look to Error codes: Azure Active Directory B2C.

    Let us know if this answer was helpful to you or if you need additional assistance. If it was helpful, please remember to accept it so that others in the community with similar questions can more easily find a solution.

    0 comments No comments