David Shochet
David Shochet

Reputation: 5395

How to authenticate an application using both Azure AD and Azure AD B2C

We have a Blazor Server web application. It is set to be authenticated with Azure AD, so our employees can sign in. But we need also to allow general public to register and sign in. So the user should be given a choice to login using either an individual account or work/school account. I registered the application with Azure B2C and got all the IDs that may be needed, but can't figure out what else needs to be done to make it work. Can you give me some reference?

Upvotes: 1

Views: 436

Answers (1)

rbrayb
rbrayb

Reputation: 46803

You should federate Azure AD and Azure AD B2C.

The flow is then:

  • App. configured to B2C
  • User gets the login page
  • Login page has the ability to log in with local account or with a button that takes them to Azure AD
  • User chooses flow they want

Upvotes: 1

Related Questions