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
How to handle multiple roles for same user and Authorize an api #109
Comments
Hey @Munde, |
Here: https://github.com/IdentityServer/IdentityServer4.Samples |
Could you please check the User object and claims - if the roles are part of these claims? |
Btw: take a look here IdentityServer/IdentityServer4#1786 (comment) |
OK, I will check it later. |
We have been able to solve it by adding this piece of code on option.Events |
Hello Skoruba ,
Thanks for this nice project it helps a lot
But am having two issues
is how can allow multiple roles for a single user , this comes i hand when i have more than one application where user can be able to share the login i tried to implement but it ends up in access denied page failing to authorize the user
what are the best way to authorize the API, i tried to implement but it works only on first minute after first minute the API loses access hence preventing user to have access to an API and the refresh token is invalid and throws an error when i try to renew the access token using the refresh token
The text was updated successfully, but these errors were encountered: