Azure 应用服务 authentication/authorization 不可用

azure app service authentication/authorization not available

我正尝试在我的 Azure 应用服务中为 Google 登录设置身份验证。

但是在我的应用服务中,'Authentication/Authorization' 部分不可用。

我需要做什么才能启用此功能???

根据您的描述,您似乎是基于 Linux 消费计划(因为只有此主机计划不支持 authentication/authorization 功能)。

解决方案是为您的函数应用提供另一个主机计划,例如 Linux 高级计划。

这是官方文档:

https://docs.microsoft.com/en-us/azure/app-service/configure-authentication-provider-aad

如果你使用Linux消费计划,那么authentication/authorization任何方式都是不可能的。