【发布时间】:2018-07-06 22:51:22
【问题描述】:
是否有用于 Asp.net Core 的 Azure AD 身份验证包?
例如,查询 Nuget 时存在以下 Authentication 包:
- Microsoft.AspNetCore.Authentication.Facebook
- Microsoft.AspNetCore.Authentication.Twitter
- Microsoft.AspNetCore.Authentication.Google
- Microsoft.AspNetCore.Authentication.MicrosoftAccount
我尝试使用 MicrosoftAccount 包,但连接成功后,我从 Microsoft 页面收到以下错误:
Application '{my-app-id}' {my-app-name} is not supported over the /common or /consumers endpoints. Please use the /organizations or tenant-specific endpoint.
有examples 不使用中间件包,但是中间件包提供了易用性,并且更直接地与身份框架集成。
是否有任何使用 Azure AD 的直接包,或者无论如何指定 MicrosoftAccount 包应该指向 organizations/azure/tenant url?
【问题讨论】:
标签: asp.net azure asp.net-core azure-active-directory middleware