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

There's an issue with the login of users who have more than one role … #32

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

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.

None yet

1 participant