You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Yes, it will throw. I tested with MS AD, and in most of my cases I had a default role assigned to the user. A try/catch should be done in that part in order to avoid such exception. I will mark this as a bug to be fixed. I will try to find when I have the time to fix it.
If user has not roles, exception throw here
IdentityServer4.LdapExtension/IdentityServer.LdapExtension/UserModel/OpenLdapAppUser.cs
Line 63 in 7447e52
How can I get user roles from AD?
The text was updated successfully, but these errors were encountered: