SigIn/Login in Azure Active Directory B2C from a Blazor app

Guillem Soler Suetta 1 Reputation point
2020-10-21T16:39:41.68+00:00

Thank you very much in advance.

I want to implement a SignIn/Login page (in my site not in Azure) in a Blazor Server App that connects with a .Net Core API which in turn connects with an Azure Active Directory B2C.

The Blazor App should send the credentials (email and password) to a .Net Core Api and this one should send the credentials to Azure Active Directory and this one should sign in the user and return a token with the claims.

I'm a little bit lost because there are a lot of different Microsoft Learn with similar topics but I'm not really sure which blog/doc is the right one for my use case, it would be really great if someone pointed me in the right direction.

Thank you again.

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
Microsoft Entra ID
Microsoft Entra ID
A Microsoft Entra identity service that provides identity management and access control capabilities. Replaces Azure Active Directory.
19,465 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. 2020-10-21T17:03:29.227+00:00

    You would have to Configure the resource owner password credentials flow in Azure AD B2C for your API.

    --
    Please let us know if this answer was helpful to you. If so, please remember to mark it as the answer so that others in the community with similar questions can more easily find a solution.