Skip to content
This repository was archived by the owner on Mar 10, 2024. It is now read-only.

Conversation

@angelneychev
Copy link

There's an issue with the login of users who have more than one role assigned. To address the "An item with the same key has already been added" error, we need to adjust ExposedClaims.

Solution:
ExposedClaims = this.User.Claims.GroupBy(c => c.Type).ToDictionary(g => g.Key, g => string.Join(", ", g.Select(c => c.Value))),

…assigned. To address the "An item with the same key has already been added" error, we need to adjust ExposedClaims.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant