Replies: 1 comment 1 reply
-
@moserke were you ever able to solve this? I'm in a similar situation. Our groups are returned as an array of the numerical group ID |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
We currently have argo setup for OIDC and one of the fields coming back is a list of groups, however OIDC provider sends the list as a string, so an array of groups becomes "[group1, group2, group3]". We want to be able to pattern match that a user has a substring in their subject such that if the user is in a group they get access. Is this possible to write a pattern match on the subject itself? An example hoped for working policy would look like:
However it does not look like matching is support on the subject itself? Is there some other way to accomplish this given that we can't change how the provider is sending the attribute in the claim?
Beta Was this translation helpful? Give feedback.
All reactions