mirror of
https://github.com/awatertrevi/infisical.git
synced 2026-09-22 13:39:35 +00:00
Merge pull request #4588 from Infisical/feat/ENG-3757
Add SAML group mapping
This commit is contained in:
@@ -53,6 +53,13 @@ description: "Learn how to configure Google SAML for Infisical SSO."
|
||||
|
||||

|
||||
|
||||
<Note>
|
||||
If you want to sync Google groups to Infisical groups, you can also configure:
|
||||
- **groups** -> **groups**
|
||||
|
||||
This requires setting up group claims in Google Workspace. See the [Group Membership Mapping](#saml-group-membership-mapping) section below for details.
|
||||
</Note>
|
||||
|
||||
Click **Finish**.
|
||||
</Step>
|
||||
<Step title="Assign users in Google Workspace to the application">
|
||||
@@ -90,6 +97,34 @@ description: "Learn how to configure Google SAML for Infisical SSO."
|
||||
|
||||
</Steps>
|
||||
|
||||
## SAML Group Membership Mapping
|
||||
|
||||
Automatically sync Google Workspace group memberships to Infisical.
|
||||
|
||||
<Steps>
|
||||
<Step title="Add groups attribute mapping in Google">
|
||||
In your Google Admin console SAML app, go to **Attribute mapping** and add:
|
||||
|
||||
- **Google groups**: Include all groups you want to include in the SAML claim. Only these groups will be synced to Infisical.
|
||||
- **App attribute**: `groups`
|
||||
|
||||

|
||||
|
||||
</Step>
|
||||
<Step title="Enable SAML Group Membership Mapping in Infisical">
|
||||
Back in Infisical, under Organization Settings, enable **SAML Group Membership Mapping** in the **Single Sign-On (SSO)** tab.
|
||||
|
||||

|
||||
</Step>
|
||||
<Step title="Group synchronization on login">
|
||||
Once configured, Google groups will now be automatically synchronized when users log in through SAML. Users will be added to or removed from Infisical groups based on their current Google group memberships.
|
||||
</Step>
|
||||
</Steps>
|
||||
|
||||
<Warning>
|
||||
Group membership changes in the SAML provider only sync with Infisical when a user logs in via SAML. For example, if you remove a user from a group in the SAML provider, this change will not be reflected in Infisical until their next SAML login. To ensure this behavior, Infisical recommends enabling Enforce SAML SSO.
|
||||
</Warning>
|
||||
|
||||
<Tip>
|
||||
If you are only using one organization on your Infisical instance, you can configure a default organization in the [Server Admin Console](../admin-panel/server-admin#default-organization) to expedite SAML login.
|
||||
</Tip>
|
||||
|
||||
BIN
docs/images/sso/google-saml/group-membership-mapping.png
Normal file
BIN
docs/images/sso/google-saml/group-membership-mapping.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 797 KiB |
BIN
docs/images/sso/google-saml/groups-attribute-mapping.png
Normal file
BIN
docs/images/sso/google-saml/groups-attribute-mapping.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 388 KiB |
Reference in New Issue
Block a user