简体   繁体   English

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

[英]Using Azure AD as a authentication provider for Azure B2C

I have an angular-cli (v8) web application where I want users to be able to sign-in using their existing Azure AD account.我有一个 angular-cli (v8) Web 应用程序,我希望用户能够使用他们现有的 Azure AD 帐户登录。

I came across the article explaining how to added authentication to an angular 8 application using Azure B2C and started to follow the step outlined in that article.我看到了解释如何使用 Azure B2C 向 angular 8 应用程序添加身份验证的文章,并开始按照该文章中概述的步骤进行操作。 https://about-azure.com/using-azure-ad-b2c-with-angular-8/ https://about-azure.com/using-azure-ad-b2c-with-angular-8/

Azure AD is not on the list of authentication providers Azure AD 不在身份验证提供程序列表中在此处输入图片说明

Is is possible to add Azure AD as an authentication provider?是否可以将 Azure AD 添加为身份验证提供程序?

Technically my application is an Service Fabric application using .net core 3.1.从技术上讲,我的应用程序是使用 .net core 3.1 的 Service Fabric 应用程序。 I know that Visual Studio offers and "Add Connect Services" where one can choose Azure AD.我知道 Visual Studio 提供了可以选择 Azure AD 的“添加连接服务”。

That does not work, because it configures authentication for a MVC application (options use.MVC) and I do not have an MVC application so it doesn't work (I have tried)这不起作用,因为它为 MVC 应用程序配置身份验证(选项 use.MVC),而我没有 MVC 应用程序,所以它不起作用(我试过)

Is is possible to add Azure AD as an authentication provider?是否可以将 Azure AD 添加为身份验证提供程序?

Yes, you need to select New OpenID Connect provider and configure Azure AD as an identity provider.是的,您需要选择新建 OpenID Connect 提供程序并将 Azure AD 配置为身份提供程序。

在此处输入图片说明

Reference:参考:

Set up sign-in for a specific Azure Active Directory organization in Azure Active Directory B2C 在 Azure Active Directory B2C 中为特定 Azure Active Directory 组织设置登录

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM