Infisical is the open-source platform for securing secrets, certificates, access, and AI Agents.
TypeScript acmeagentsai-agentscertificate-managementdevsecopsenvironment-variableskubernetesopen-sourcepampkipostgresprivate-caprivileged-access-managementsecret-managementsecret-managersecretssecrets-managementsecuritysecurity-toolsvault
documentation: add general oidc group membership mapping documentation
Scott Wilson18e3d132a270
diff --git a/docs/documentation/platform/sso/general-oidc/group-membership-mapping.mdx b/docs/documentation/platform/sso/general-oidc/group-membership-mapping.mdxnew file mode 100644index 0000000000..48890dc24c--- /dev/null+++ b/docs/documentation/platform/sso/general-oidc/group-membership-mapping.mdx@@ -0,0 +1,52 @@+---+title: "General OIDC Group Membership Mapping"+sidebarTitle: "Group Membership Mapping"+description: "Learn how to sync OIDC group members to matching groups in Infisical."+---++You can have Infisical automatically sync group+memberships between your OIDC provider and Infisical by configuring a `groups` claim on your provider tokens.+When a user logs in via OIDC, they will be added to Infisical groups that are present in their OIDC `groups` claim,+and removed from any Infisical groups not present in the claim.++<Info>+ When enabled, manual+ management of Infisical group memberships will be disabled.+</Info>++<Warning>+ Group membership changes in your OIDC provider only sync with Infisical when a+ user logs in via OIDC. For example, if you remove a user from a group in your OIDC provider,+ this change will not be reflected in Infisical until their next OIDC login.+ To ensure this behavior, Infisical recommends enabling Enforce OIDC SSO in the OIDC settings.+</Warning>+++<Steps>+ <Step title="Configure a groups claim in your OIDC provider">+ 1. To enable OIDC Group Membership Mapping, you must configure a `groups` claim in your OIDC provider with the following format.++ ```json+ {+ // "email": "[email protected]",+ // "given_name": "John",+ // ...other claims+ "groups": ["Billing Group", "Sales Group"]+ }+ ```++ <Note>+ Setup varies between OIDC providers. Please refer to your OIDC provider's documentation for more information.+ </Note>+ </Step>+ <Step title="Setup groups in Infisical and enable OIDC Group Membership Mapping">+ 2.1. In Infisical, create any groups you would like to sync users to. Make sure the name of the Infisical group is an exact match of the OIDC group name.+ ++ 2.2. Next, enable **OIDC Group Membership Mapping** on the **Single Sign-On (SSO)** page under the **General** tab.+ ++ 2.3. The next time a user logs in they will be synced to their matching OIDC groups.+ + </Step>+</Steps>\ No newline at end of filediff --git a/docs/documentation/platform/sso/general-oidc.mdx b/docs/documentation/platform/sso/general-oidc/overview.mdxsimilarity index 99%rename from docs/documentation/platform/sso/general-oidc.mdxrename to docs/documentation/platform/sso/general-oidc/overview.mdxindex a10b05cfc1..45592c180f 100644--- a/docs/documentation/platform/sso/general-oidc.mdx+++ b/docs/documentation/platform/sso/general-oidc/overview.mdx@@ -1,5 +1,6 @@---title: "General OIDC"+sidebarTitle: "Overview"description: "Learn how to configure OIDC for Infisical SSO with any OIDC-compliant identity provider"---diff --git a/docs/mint.json b/docs/mint.jsonindex 61b89c609d..c22d5ecaba 100644--- a/docs/mint.json+++ b/docs/mint.json@@ -273,7 +273,13 @@]},"documentation/platform/sso/auth0-oidc",- "documentation/platform/sso/general-oidc"+ {+ "group": "General OIDC",+ "pages": [+ "documentation/platform/sso/general-oidc/overview",+ "documentation/platform/sso/general-oidc/group-membership-mapping"+ ]+ }]},{