azure - 将对 Azure 静态 Web 应用程序的访问限制为单个租户

标签 azure azure-web-app-service azure-static-web-app

Azure Static Web App有一个概念 auth可用于将个人用户或个人身份提供商列入白名单(如 this question )。

是否可以仅通过 Azure 配置来要求通过用于设置资源的特定租户/组织目录进行身份验证,就像当前使用普通 Azure Web 应用服务一样;也就是说,需要通过 AAD 进行身份验证,如上面链接的问题所示,但还限制对相关租户成员的访问?如果是这样,相应的 routes.json 可能是什么样子?

另请参阅this GitHub issue .

最佳答案

看起来现在可以使用 custom authentication 来实现这一点:

Specifically for Azure Active Directory (AAD) registrations, you have the option of providing a tenant, which allows you to bypass the invitation flow for group management.

关于azure - 将对 Azure 静态 Web 应用程序的访问限制为单个租户,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/67225089/

相关文章:

Azure Web 应用程序的多个实例的 Azure Redis 超时

azure - 确保 azure 中网站和 VM 之间的网络安全

Azure SWA : redirect to modified version of requested route?

azure - 如何使用 Azure 认知搜索从非结构化文档中查找问题的答案?

azure pyspark from 模块导入 myfunctions;无模块名称

azure - WebJobs 未通过在 powershell 脚本中使用 Rest API Post 方法来停止 - 出现错误 403 - 此 Web 应用程序已停止

Azure 网站 : "Home" on C or D drive?

azure - 与 API 通信以获取数据的 React/Angular 应用程序是否可以被视为静态 Web 应用程序

azure - 如何配置 GitHub Actions 来构建依赖于私有(private)存储库的 Azure 静态 Web 应用程序?

azure - 使用 Databricks 连接到 Azure SQL