Skip to content

[iam] Add allowGroups filter to SAML auth provider

Administrator requested to merge milan/saml-allow-groups into main

Created by: kopancek

Description

This enables customers to only allow login/sign up for users that belong to specific groups.

Related

resolves #34918

Video

https://user-images.githubusercontent.com/9974711/171881330-a0854b13-b7c6-4bc9-96c4-b2bef72e52a5.mp4

TODO

Add another unit test to test the whole flow, not just the new method that I added.

Test plan

Tested manually, tested with unit tests

Testing locally

To test locally, make sure to configure your local instance accordingly: https://docs.google.com/document/d/1aZD9Ccl_9p6Ctzlyhbz1mZoJfsvx-wRU4JHohGJjkIE

Merge request reports

Loading