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 Security Microsoft Entra Microsoft Entra External ID
Microsoft Security Microsoft Entra Microsoft Entra ID
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Alfredo Revilla - Upwork Top Talent | IAM SWE SWA 27,526 Reputation points Moderator
    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.


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.