Hybrid Authentication Scenario - Azure AD B2C and Azure AD

I have a scenario where we need to authenticate corporate users through Azure AD, but external users through Azure AD B2C are all from the same login screen.

There are several web applications that will use this feature. Applications come from various technology stacks, ranging from .Net to Java-Spring + Angular 2.

What is your recommended approach for this? Sorry if this question has already been asked and answered, but he could not find many recommendations on this issue. Will MSAL solve this problem? In addition, Java has not yet implemented an MSAL implementation. Will Azure AD B2C Premium support this?

Thanks in advance for your help!

+5
source share
1 answer

Currently, the only option is to support both Azure AD and Azure AD B2C, regardless of your applications. You must ask the user to choose between the two identity providers, and then call the correct one.

It is planned to add support for Azure AD org users as an identity provider in Azure AD B2C, in which case two integrations are not required. However, this opportunity will not be in the near future.

I joked a bit about how to support both in a .NET application, maybe this will help you on the right track: https://github.com/dstrockis/AAD-B2C-Hybrid

+4
source

Source: https://habr.com/ru/post/1257646/


All Articles