繁体   English   中英

如何使用 MSAL 进行 Azure Static 网站 AD 身份验证

[英]How to do Azure Static website AD Authentication using MSAL

MSAL Authentication with Azure AD happening with react application by adding the redirect URI (in app registration of Azure AD) inside add platform as Single page application like 'http://localhost:3000'.How to do this MSAL Authentication with Azure AD when它发布在存储帐户的 static 网站上。

您只需要:

(1) 使用 Azure AD 注册您已发布网站的 URL(在您的应用注册/身份验证选项卡中)。

(2)将源码(MSAL配置)中的redirectUri字段替换为已发布网站的URL。

此示例显示了您需要做的所有事情。

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM