[英]Adding authentication on Azure Static Web Apps
I have deployed a very simple Azure Static Web Apps in which I deploy a simple documentation site powered by mkdocs (HTML and CSS).我已经部署了一个非常简单的 Azure Static Web 应用程序,我在其中部署了一个由 mkdocs(HTML 和 CSS)提供支持的简单文档站点。 I would like to know if it is possible to implement some kind of authentication through Azure AD/MSAL in which only enterprise users could log in using their email and password.
我想知道是否可以通过 Azure AD/MSAL 实施某种身份验证,只有企业用户才能使用他们的 email 和密码登录。
Yes, it is possible.对的,这是可能的。 Azure Static Web Apps provides a streamlined authentication experience.
Azure Static Web 应用程序提供简化的身份验证体验。 By default, you have access to a series of pre-configured providers, or the option to register a custom provider.
默认情况下,您可以访问一系列预配置的提供程序,或者可以选择注册自定义提供程序。
anonymous
and authenticated
roles by default.anonymous
和经过authenticated
的角色。 https://learn.microsoft.com/en-us/azure/static-web-apps/authentication-authorization https://learn.microsoft.com/en-us/azure/static-web-apps/authentication-authorization
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.