更新时间:2023-02-06 22:35:15
嗨DebOnCloud,
上述步骤是正确的。有关更多信息,请查看以下文档链接:
https://github.com/salvoravida/react-adal
我希望这会有所帮助。
We want to authorize User against Azure AD group in SPA (React JS); i.e. User allows to access API from SPA if he/she belongs to a Particular group (e.g. testgroup). Found sample code in Msal.JS.
I'm following
Call MS Graph to retrieve all AD Groups where User belong to
Url to get AD Groups - https://graph.microsoft.com/v1.0/me/memberOf
Please suggest me whether I am going in Right direction or any other options are available. Appreciate any sample code on group claims in Azure AD for SPA (react js).
Thanks for your suggestion.
Regards,
Deb
Hi DebOnCloud,
Above mentioned steps are correct. For more information please check the below documentation links:
https://github.com/salvoravida/react-adal
I hope this helps.