-
Hello Our upstream ID provider offers groups as claim in the ID Token formated as Is there a way to offer them to clients in a groups: ["group1","group2"] scope or claim? Kind regards |
Beta Was this translation helpful? Give feedback.
Answered by
blut
Jun 23, 2021
Replies: 1 comment
-
I've debugged the issue and found that groups are parsed as []interface{}, meaning that string lists are discarded completely. Current workaround is custom parsing:
|
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
blut
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I've debugged the issue and found that groups are parsed as []interface{}, meaning that string lists are discarded completely.
( https://github.com/dexidp/dex/blob/master/connector/oidc/oidc.go#L325-L343 )
Current workaround is custom parsing: