-
Notifications
You must be signed in to change notification settings - Fork 67
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Question] How to use roles? #117
Comments
Hi, Typing this on my phone, so no screenshots (I can help more tomorrow), but from memory:
I can give a small tutorial tomorrow when I'm on a laptop. 😊 |
Thanks, I'll try that and I really appreciate all the help. |
I did this and it worked. Maybe you can put this in the documentation as this will be a very common pattern for developers. The usual thing would be to map application roles with groups and check in the backend if user has certain role based on the group membership. Thanks again for the detailed answer. |
Pull requests welcome if you'd like to contribute. If not, yes, I will fix 😊 |
#200 will solve this issue |
I'm using the 3.5.1 version of the library. For some reason, roles array is always empty inside the User object even though my user has 10 roles assigned in Azure AD. I'm trying to debug an issue and I cannot find a way to resolve if this is an Azure issue or a library issue. All of the other information inside the User object are filled out correctly.
Is there some special permission needed or anything that you can provide that can point me in the right direction? My user is also a member of a Global Administrator group, so it has the highest available privileges in the tenant.
Thanks.
The text was updated successfully, but these errors were encountered: