我想使用 Azure AD B2C 向在 Azure Web 应用程序上运行的 Web 应用程序添加身份验证。
为此,我遵循了以下步骤:
但是当我访问 Azure Web Apps url 时,我没有被重定向到登录页面,而是收到以下消息。
{"code":401,"message":"An error of type 'unauthorized_client' occurred during the login process: 'AADB2C90057: The provided application is not configured to allow the 'OAuth' Implicit flow.\r\nCorrelation ID: xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx\r\nTimestamp: 2021-04-09 10:06:00Z\r\n'"}
此外,在标识提供程序的编辑页面中,它显示 Application with ID xxxxxxxxxxxxxxxx not found in the current tenant. Tenant ID: yyyyyyyyyyyyyyyyy.
这显然意味着我在 Azure B2C 租户上注册的应用程序与 Azure Web Apps 链接的租户不在同一个租户上。
我的问题是“如何通过 Azure AD B2C 使用其“身份验证”功能在 Azure Web 应用程序上添加身份验证?”。 “身份验证”功能的 Microsoft 身份提供程序是否仅支持与 Azure Web Apps 位于同一租户上的客户端?