Reputation: 53
i have a react web app
i want to get active directory user information and check it if in a AD group
is that possible ?
What would be the way to make thid kind of api?
Upvotes: 0
Views: 2597
Reputation: 209
Yes, it's possible. You can use Microsoft Graph API
. IMHO, you want to use AD as a Single Sign-On Authentication Server. If you haven't found a good post or tutorial how to do this yet, you can refer: Sign in users and call the Microsoft Graph API from a React single-page app (SPA)
Upvotes: 1