Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow list of groups provided by SAML Source Provider #7713

Closed
maxaudron opened this issue Nov 27, 2023 · 0 comments · Fixed by #8771
Closed

Allow list of groups provided by SAML Source Provider #7713

maxaudron opened this issue Nov 27, 2023 · 0 comments · Fixed by #8771
Labels
enhancement New feature or request

Comments

@maxaudron
Copy link

Is your feature request related to a problem? Please describe.
When federating with a SAML source the SAML Attributes are flattened making it impossible to map all the groups using a custom policy like suggested in #6467
The offending code is here:

# Flatten all lists in the dict
for key, value in attributes.items():
attributes[key] = BaseEvaluator.expr_flatten(value)

Describe the solution you'd like
Allow for a predefined attribute like groups to remain as a list.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant