将Azure AD用作Azure B2C的身份验证提供程序

时间:2020-03-16 00:51:29

标签: azure-active-directory azure-service-fabric azure-ad-b2c

我有一个angular-cli(v8)Web应用程序,希望用户可以使用其现有的Azure AD帐户登录。

我碰到了这篇文章,解释了如何使用Azure B2C向角度8应用程序添加身份验证,并开始遵循该文章中概述的步骤。 https://about-azure.com/using-azure-ad-b2c-with-angular-8/

Azure AD不在身份验证提供程序列表中 enter image description here

是否可以将Azure AD添加为身份验证提供程序?

从技术上讲,我的应用程序是使用.net core 3.1的Service Fabric应用程序。我知道Visual Studio提供了“添加连接服务”,可以在其中选择Azure AD。

那是行不通的,因为它为MVC应用程序配置了身份验证(选项use.MVC),而我没有MVC应用程序,因此它不起作用(我已经尝试过)

1 个答案:

答案 0 :(得分:0)

是否可以将Azure AD添加为身份验证提供程序?

是,您需要选择新的OpenID Connect提供程序,并将Azure AD配置为身份提供程序。

enter image description here

参考:

Set up sign-in for a specific Azure Active Directory organization in Azure Active Directory B2C