Add users to OpenHands Enterprise organizations automatically, based on their Okta or other identity provider groups, when they sign in with SSO.
Map groups in your identity provider (IdP), such as Okta, to OpenHands organizations. When a user signs in through the
provider, OpenHands adds them as a Member of each organization that is mapped to one of their groups. You then manage
organization membership in your IdP instead of adding each user by hand.
Prerequisites
You run OpenHands Enterprise 0.113.0 or later.
Auth V2 is enabled, and you added your IdP directly on the Auth Providers page with
the Okta OIDC, Generic OAuth / OIDC, or Generic SAML preset. See
Configure Auth Providers.
Administrator access to your IdP, so you can add a groups claim or attribute to the application.
How Group Mapping Works
Each mapping pairs one IdP group with one organization. OpenHands checks the mappings each time a user signs in:
Groups come from the groups claim or attribute: The IdP must send the user’s groups in an OIDC claim or a SAML
attribute named groups. OpenHands reads the claim from the provider’s userinfo response, or from the ID token when
the provider has no Userinfo URL.
Groups match exactly: The group in the mapping must match the value your IdP sends, including case. Okta sends
group names. Microsoft Entra ID sends group object IDs, so use the object ID as the group.
Users join as members: A user in a mapped group joins that organization with the Member role. A user in several
groups that map to the same organization joins it once.
Existing memberships don’t change: If the user already belongs to the organization, OpenHands keeps their role
and status.
Users on their personal workspace switch to the organization: A user whose current workspace is their personal
workspace switches to the first organization they are added to, in the order the mappings are listed. A user who is
already working in another organization stays there.
Access is only added: Removing a user from a group in your IdP doesn’t remove them from the organization. To
remove access, see Remove Access.
Changes apply at the next sign-in: A user who is already signed in picks up a new group the next time they sign
in, which can be up to 30 days later. To apply it right away, ask them to sign out and sign in again.
OpenHands skips a mapping whose organization was deleted or suspended.Group mapping has no effect on providers that don’t send a groups claim:
Git providers used for sign-in: GitHub, GitLab, Bitbucket, and other Git providers with
Use as OpenHands Authentication Provider turned on.
Keycloak providers: The Log in with providers and the Enterprise SSO provider (titled Company SSO by default)
that were created when you migrated from V1. These sign in through Keycloak,
which doesn’t send groups. This includes the V1 SAML SSO setup.
To use group mapping with one of these setups, add your IdP directly with the Okta OIDC, Generic OAuth / OIDC, or
Generic SAML preset.
Send Groups From Your Identity Provider
Okta OIDC
Okta SAML
Other Providers
In the Okta Admin Console, open your OpenHands OIDC app and go to the Sign On tab.
In OpenID Connect ID Token, select Edit.
Set Groups claim type to Filter, and set the claim name to groups.
Choose a filter that matches only the groups you want to map, for example Starts withOpenHands-, then save.
The filter must match no more than 100 of a user’s groups.
In OpenHands, open the Okta provider on the Auth Providers page and add groups to Scopes. For example:
openid email offline_access groups.
Select Save Changes.
The Okta OIDC preset doesn’t request the groups scope, so you must add it.If you use an Okta custom authorization server instead, follow these steps in place of the steps above:
In OpenHands, change Authorization URL, Token URL, and Userinfo URL to your authorization server’s
endpoints, for example https://YOUR_DOMAIN.okta.com/oauth2/default/v1/authorize. Use your authorization server
ID in place of default if you don’t use the default server.
In the Okta Admin Console, open your authorization server and add a claim named groups. Set the token type to
ID Token, the value type to Groups, and a filter that matches no more than 100 of a user’s groups, for example
Starts withOpenHands-.
Add groups to Scopes in OpenHands only if your authorization server defines a groups scope.
In the Okta Admin Console, open your OpenHands SAML app and edit its SAML settings.
Add a group attribute statement with the name groups.
Choose a filter that matches the groups you want to map, for example Starts withOpenHands-, then save.
OpenHands reads the groups attribute as it is sent. The provider’s Attribute Mapping setting doesn’t apply to
groups.
Configure your IdP to send the user’s groups in a claim (OIDC) or attribute (SAML) named groups. The value can be a
list of groups or a single group.For an OIDC provider, add the scope that releases the groups claim, if your IdP requires one, to the provider’s
Scopes in OpenHands.
Add Group Mappings
Map groups only on providers that you control and that serve only your own organization. OpenHands trusts the groups
that the provider sends, so anyone who can set group names in a shared or multi-tenant IdP could add themselves to a
mapped organization.
Open the Super Admin dashboard and choose Auth Providers.
Open your login provider from the row menu.
In Group to Organization Mapping, select Add Mapping.
In Identity Provider Group, enter the group exactly as your IdP sends it, for example OpenHands-Platform.
In Organization, choose the organization that members of the group join.
Repeat for each group, then select Save Changes.
Save Changes stays disabled while a mapping has a group but no organization, or an organization but no group. To
delete a mapping, select Remove on its row and save.The Group to Organization Mapping section appears on SAML providers and on OAuth providers that have
Use as OpenHands Authentication Provider turned on. It has no effect on Git login providers or on providers that sign
in through Keycloak. See How Group Mapping Works.
Check the Result
Open OpenHands in a private browser window and sign in as a user who is in a mapped group.
Open the organization selector. The user should be a member of the mapped organization.
If the user wasn’t added, check that the IdP sends the groups claim or attribute and that the group matches exactly.
For OIDC providers, also check that Scopes includes the scope that releases groups.
Remove Access
Group mappings never remove a membership. To keep a user out of a mapped organization while they are still in the
group, go to Users in the Super Admin dashboard and suspend their membership in that organization. OpenHands keeps a
suspended membership as it is when the user signs in again. See Manage Users.If you remove the membership instead, OpenHands adds the user again at their next sign-in while they are still in the
group.
Was this page helpful?
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"OpenHands Docs","colors":{"primary":"#99873c","light":"#ffe165","dark":"#ffe165"},"logo":{"light":"https://mintcdn.com/allhandsai/DjhqLcIy_hW6pRTg/logo/light.png?fit=max\u0026auto=format\u0026n=DjhqLcIy_hW6pRTg\u0026q=85\u0026s=49b636402b03f7279ca5e1afefeec1d2","dark":"https://mintcdn.com/allhandsai/DjhqLcIy_hW6pRTg/logo/dark.png?fit=max\u0026auto=format\u0026n=DjhqLcIy_hW6pRTg\u0026q=85\u0026s=e0c4017631cebc3a289798438e2c0d7a"},"favicon":"https://mintcdn.com/allhandsai/DjhqLcIy_hW6pRTg/openhands/logo-square.png?fit=max\u0026auto=format\u0026n=DjhqLcIy_hW6pRTg\u0026q=85\u0026s=6ef1bab575660ae6e2d44fcc57bc675f","appearance":{"default":"light"},"background":{"color":{"light":"#f7f3ee","dark":"#0B0D0E"}},"navbar":{"links":[],"primary":{"type":"github","href":"https://github.com/OpenHands/OpenHands"}},"footer":{"socials":{"slack":"https://openhands.dev/joinslack","github":"https://github.com/OpenHands"},"links":[{"header":"Links","items":[{"label":"Company","href":"https://openhands.dev/"},{"label":"Blog","href":"https://openhands.dev/blog"},{"label":"Cloud","href":"https://app.all-hands.dev"},{"label":"Enterprise","href":"https://openhands.dev/enterprise"}]}]},"seo":{"indexing":"navigable"},"integrations":{"gtm":{"tagId":"GTM-M9S7V5BQ"}},"contextual":{"options":["copy","view","download-spec","chatgpt","claude"],"display":"header"},"styling":{"latex":false},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"allhandsai","hasAudioNarration":false,"actualSubdomain":"allhandsai","customDomains":["docs.openhands.dev"],"gitSource":{"type":"github","owner":"openhands","repo":"docs","deployBranch":"main","contentDirectory":"","isPrivate":true,"mountPath":"","label":"","_id":"6b10b4cd9ffae5051c400422"},"feedback":{"thumbs":true},"entitlements":{"AI_CHAT":{"status":"ENABLED"},"WEB_MCP":{"status":"ENABLED"},"NARRATION":{"status":"ENABLED"}},"buildId":"6b11838470917f6ecbc41518","clientVersion":"0.0.4428","searchFilterCounts":[{"language":"default","tag":"Cloud","count":197},{"language":"default","tag":"Cloud API","count":188},{"language":"default","tag":"REST API Reference","count":186},{"language":"default","tag":"SDK","count":129},{"language":"default","tag":"Guides","count":106},{"language":"default","tag":"Enterprise","count":97},{"language":"default","tag":"API Reference","count":95},{"language":"default","tag":"Remote Agent Server","count":56},{"language":"default","tag":"Home","count":53},{"language":"default","tag":"Agent Canvas","count":45}]},"assistantConfig":{"deflection":{"enabled":true,"email":"contact@openhands.dev","showHelpButton":true}},"basePath":"","hasChatPermissions":true,"hasWebMcpPermissions":true,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"rbac-expansion","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-metadata","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"starter-pricing","enabled":true,"variant":{"name":"treatment","enabled":true,"payload":{"type":"string","value":"treatment"},"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"starterQuestions":[],"googleFontsInlined":false},"customCss":[{"filePath":"style.css","content":"#banner *{color:rgb(67, 66, 64)}.oh-arch{--oh-arch-bg: #fbf9f6;--oh-arch-surface: #f2ede5;--oh-arch-card: #ffffff;--oh-arch-line: #e2dbd0;--oh-arch-text: #1c1b19;--oh-arch-text-secondary: #6b675f;--oh-arch-text-tertiary: #a39e93;--oh-arch-accent: #ffe165;--oh-arch-hover: #99873c;margin:1.5rem 0;border:1px solid var(--oh-arch-line);border-radius:12px;background:var(--oh-arch-bg);color:var(--oh-arch-text);overflow:hidden}.dark .oh-arch{--oh-arch-bg: #111416;--oh-arch-surface: #171b1e;--oh-arch-card: #1c2124;--oh-arch-line: #2d3337;--oh-arch-text: #f1efe9;--oh-arch-text-secondary: #a3a19a;--oh-arch-text-tertiary: #6f726f;--oh-arch-hover: #ffe165}.oh-arch-header{padding:18px 20px 0}.oh-arch-eyebrow,.oh-arch-label{font-family:ui-monospace, SFMono-Regular, Menlo, monospace;font-size:10px;font-weight:500;letter-spacing:0.08em;color:var(--oh-arch-text-secondary);fill:var(--oh-arch-text-secondary)}.oh-arch-eyebrow{text-transform:uppercase}.oh-arch-scroll{overflow-x:auto;scrollbar-width:thin}.oh-arch-diagram{display:block;width:100%;min-width:640px;height:auto}.oh-arch-boundary{fill:var(--oh-arch-surface);stroke:var(--oh-arch-line);stroke-dasharray:5 5}.oh-arch-card{fill:var(--oh-arch-card);stroke:var(--oh-arch-line);transition:stroke 150ms ease}.oh-arch-service:hover .oh-arch-card,.oh-arch-service:focus-visible .oh-arch-card{stroke:var(--oh-arch-hover);stroke-width:2}.oh-arch-service:focus-visible{outline:none}.oh-arch-icon{color:var(--oh-arch-text-secondary)}.oh-arch-name{fill:var(--oh-arch-text);font-size:15px;font-weight:600;letter-spacing:-0.025em}.oh-arch-detail{fill:var(--oh-arch-text-secondary);font-size:12px}.oh-arch-accent{fill:var(--oh-arch-accent)}.oh-arch-app-paths,.oh-arch-worker-paths,.oh-arch-external-paths,.oh-arch-arrows{fill:none;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round}.oh-arch-app-paths{stroke:var(--oh-arch-text)}.oh-arch-worker-paths,.oh-arch-external-paths,.oh-arch-arrows{stroke:var(--oh-arch-text-tertiary)}.oh-arch-external-paths{stroke-dasharray:4 6}.oh-arch-caption{border-top:1px solid var(--oh-arch-line);padding:16px 20px;font-size:12px;line-height:1.6;color:var(--oh-arch-text-secondary)}.oh-arch-legend{display:flex;flex-wrap:wrap;gap:8px 20px}.oh-arch-legend span{display:flex;align-items:center;gap:8px}.oh-arch-legend i{display:inline-block;width:18px;border-top:2px solid}.oh-arch-key-app{color:var(--oh-arch-text)}.oh-arch-key-worker,.oh-arch-key-external{color:var(--oh-arch-text-tertiary)}.oh-arch-legend .oh-arch-key-external{border-top-style:dashed}.oh-arch-caption p{margin:8px 0 0}@media (prefers-reduced-motion: reduce){.oh-arch-card{transition:none}}"}]}
{"page":{"pagePath":"enterprise/auth-v2/group-mapping","slug":"/enterprise/auth-v2/group-mapping","pageMetadata":{"title":"Map Identity Provider Groups to Organizations","sidebarTitle":"Group to Org Mapping","description":"Add users to OpenHands Enterprise organizations automatically, based on their Okta or other identity provider groups, when they sign in with SSO.","icon":"users-gear","href":"/enterprise/auth-v2/group-mapping"},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsx(_components.p, {\n children: \"Add users to OpenHands Enterprise organizations automatically, based on their Okta or other identity provider groups, when they sign in with SSO.\"\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={a:`a`,code:`code`,li:`li`,ol:`ol`,p:`p`,strong:`strong`,ul:`ul`,..._provideComponents(),...props.components},{Heading,Tab,Tabs,Warning}=_components;if(!Heading)_missingMdxReference(`Heading`,true);if(!Tab)_missingMdxReference(`Tab`,true);if(!Tabs)_missingMdxReference(`Tabs`,true);if(!Warning)_missingMdxReference(`Warning`,true);return _jsxs(_Fragment,{children:[_jsxs(_components.p,{children:[`Map groups in your identity provider (IdP), such as Okta, to OpenHands organizations. When a user signs in through the\nprovider, OpenHands adds them as a `,_jsx(_components.code,{children:`Member`}),` of each organization that is mapped to one of their groups. You then manage\norganization membership in your IdP instead of adding each user by hand.`]}),`\n`,_jsx(Heading,{level:`2`,id:`prerequisites`,children:`Prerequisites`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:`You run OpenHands Enterprise 0.113.0 or later.`}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.a,{href:`/enterprise/auth-v2/overview`,children:`Auth V2`}),` is enabled, and you added your IdP directly on the `,_jsx(_components.code,{children:`Auth Providers`}),` page with\nthe `,_jsx(_components.code,{children:`Okta OIDC`}),`, `,_jsx(_components.code,{children:`Generic OAuth / OIDC`}),`, or `,_jsx(_components.code,{children:`Generic SAML`}),` preset. See\n`,_jsx(_components.a,{href:`/enterprise/auth-v2/configure-providers`,children:`Configure Auth Providers`}),`.`]}),`\n`,_jsx(_components.li,{children:`You are a Super Admin.`}),`\n`,_jsxs(_components.li,{children:[`The organizations you want to map to exist. See\n`,_jsx(_components.a,{href:`/enterprise/super-admin#manage-organizations`,children:`Manage Organizations`}),`.`]}),`\n`,_jsx(_components.li,{children:`Administrator access to your IdP, so you can add a groups claim or attribute to the application.`}),`\n`]}),`\n`,_jsx(Heading,{level:`2`,id:`how-group-mapping-works`,children:`How Group Mapping Works`}),`\n`,_jsx(_components.p,{children:`Each mapping pairs one IdP group with one organization. OpenHands checks the mappings each time a user signs in:`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsxs(_components.strong,{children:[`Groups come from the `,_jsx(_components.code,{children:`groups`}),` claim or attribute`]}),`: The IdP must send the user’s groups in an OIDC claim or a SAML\nattribute named `,_jsx(_components.code,{children:`groups`}),`. OpenHands reads the claim from the provider’s userinfo response, or from the ID token when\nthe provider has no `,_jsx(_components.code,{children:`Userinfo URL`}),`.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Groups match exactly`}),`: The group in the mapping must match the value your IdP sends, including case. Okta sends\ngroup names. Microsoft Entra ID sends group object IDs, so use the object ID as the group.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Users join as members`}),`: A user in a mapped group joins that organization with the `,_jsx(_components.code,{children:`Member`}),` role. A user in several\ngroups that map to the same organization joins it once.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Existing memberships don’t change`}),`: If the user already belongs to the organization, OpenHands keeps their role\nand status.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Users on their personal workspace switch to the organization`}),`: A user whose current workspace is their personal\nworkspace switches to the first organization they are added to, in the order the mappings are listed. A user who is\nalready working in another organization stays there.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Access is only added`}),`: Removing a user from a group in your IdP doesn’t remove them from the organization. To\nremove access, see `,_jsx(_components.a,{href:`#remove-access`,children:`Remove Access`}),`.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Changes apply at the next sign-in`}),`: A user who is already signed in picks up a new group the next time they sign\nin, which can be up to 30 days later. To apply it right away, ask them to sign out and sign in again.`]}),`\n`]}),`\n`,_jsx(_components.p,{children:`OpenHands skips a mapping whose organization was deleted or suspended.`}),`\n`,_jsxs(_components.p,{children:[`Group mapping has no effect on providers that don’t send a `,_jsx(_components.code,{children:`groups`}),` claim:`]}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Git providers used for sign-in`}),`: GitHub, GitLab, Bitbucket, and other Git providers with\n`,_jsx(_components.code,{children:`Use as OpenHands Authentication Provider`}),` turned on.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Keycloak providers`}),`: The `,_jsx(_components.code,{children:`Log in with`}),` providers and the Enterprise SSO provider (titled `,_jsx(_components.code,{children:`Company SSO`}),` by default)\nthat were created when you `,_jsx(_components.a,{href:`/enterprise/auth-v2/migrate-from-v1`,children:`migrated from V1`}),`. These sign in through Keycloak,\nwhich doesn’t send groups. This includes the V1 `,_jsx(_components.a,{href:`/enterprise/integrations/saml-sso`,children:`SAML SSO`}),` setup.`]}),`\n`]}),`\n`,_jsxs(_components.p,{children:[`To use group mapping with one of these setups, add your IdP directly with the `,_jsx(_components.code,{children:`Okta OIDC`}),`, `,_jsx(_components.code,{children:`Generic OAuth / OIDC`}),`, or\n`,_jsx(_components.code,{children:`Generic SAML`}),` preset.`]}),`\n`,_jsx(Heading,{level:`2`,id:`send-groups-from-your-identity-provider`,children:`Send Groups From Your Identity Provider`}),`\n`,_jsxs(Tabs,{children:[_jsxs(Tab,{title:`Okta OIDC`,id:`okta-oidc`,children:[_jsxs(_components.ol,{children:[`\n`,_jsxs(_components.li,{children:[`In the Okta Admin Console, open your OpenHands OIDC app and go to the `,_jsx(_components.code,{children:`Sign On`}),` tab.`]}),`\n`,_jsxs(_components.li,{children:[`In `,_jsx(_components.code,{children:`OpenID Connect ID Token`}),`, select `,_jsx(_components.code,{children:`Edit`}),`.`]}),`\n`,_jsxs(_components.li,{children:[`Set `,_jsx(_components.code,{children:`Groups claim type`}),` to `,_jsx(_components.code,{children:`Filter`}),`, and set the claim name to `,_jsx(_components.code,{children:`groups`}),`.`]}),`\n`,_jsxs(_components.li,{children:[`Choose a filter that matches only the groups you want to map, for example `,_jsx(_components.code,{children:`Starts with`}),` `,_jsx(_components.code,{children:`OpenHands-`}),`, then save.\nThe filter must match no more than 100 of a user’s groups.`]}),`\n`,_jsxs(_components.li,{children:[`In OpenHands, open the Okta provider on the `,_jsx(_components.code,{children:`Auth Providers`}),` page and add `,_jsx(_components.code,{children:`groups`}),` to `,_jsx(_components.code,{children:`Scopes`}),`. For example:\n`,_jsx(_components.code,{children:`openid email offline_access groups`}),`.`]}),`\n`,_jsxs(_components.li,{children:[`Select `,_jsx(_components.code,{children:`Save Changes`}),`.`]}),`\n`]}),_jsxs(_components.p,{children:[`The `,_jsx(_components.code,{children:`Okta OIDC`}),` preset doesn’t request the `,_jsx(_components.code,{children:`groups`}),` scope, so you must add it.`]}),_jsx(_components.p,{children:`If you use an Okta custom authorization server instead, follow these steps in place of the steps above:`}),_jsxs(_components.ol,{children:[`\n`,_jsxs(_components.li,{children:[`In OpenHands, change `,_jsx(_components.code,{children:`Authorization URL`}),`, `,_jsx(_components.code,{children:`Token URL`}),`, and `,_jsx(_components.code,{children:`Userinfo URL`}),` to your authorization server’s\nendpoints, for example `,_jsx(_components.code,{children:`https://YOUR_DOMAIN.okta.com/oauth2/default/v1/authorize`}),`. Use your authorization server\nID in place of `,_jsx(_components.code,{children:`default`}),` if you don’t use the default server.`]}),`\n`,_jsxs(_components.li,{children:[`In the Okta Admin Console, open your authorization server and add a claim named `,_jsx(_components.code,{children:`groups`}),`. Set the token type to\n`,_jsx(_components.code,{children:`ID Token`}),`, the value type to `,_jsx(_components.code,{children:`Groups`}),`, and a filter that matches no more than 100 of a user’s groups, for example\n`,_jsx(_components.code,{children:`Starts with`}),` `,_jsx(_components.code,{children:`OpenHands-`}),`.`]}),`\n`,_jsxs(_components.li,{children:[`Add `,_jsx(_components.code,{children:`groups`}),` to `,_jsx(_components.code,{children:`Scopes`}),` in OpenHands only if your authorization server defines a `,_jsx(_components.code,{children:`groups`}),` scope.`]}),`\n`]})]}),_jsxs(Tab,{title:`Okta SAML`,id:`okta-saml`,children:[_jsxs(_components.ol,{children:[`\n`,_jsx(_components.li,{children:`In the Okta Admin Console, open your OpenHands SAML app and edit its SAML settings.`}),`\n`,_jsxs(_components.li,{children:[`Add a group attribute statement with the name `,_jsx(_components.code,{children:`groups`}),`.`]}),`\n`,_jsxs(_components.li,{children:[`Choose a filter that matches the groups you want to map, for example `,_jsx(_components.code,{children:`Starts with`}),` `,_jsx(_components.code,{children:`OpenHands-`}),`, then save.`]}),`\n`]}),_jsxs(_components.p,{children:[`OpenHands reads the `,_jsx(_components.code,{children:`groups`}),` attribute as it is sent. The provider’s `,_jsx(_components.code,{children:`Attribute Mapping`}),` setting doesn’t apply to\ngroups.`]})]}),_jsxs(Tab,{title:`Other Providers`,id:`other-providers`,children:[_jsxs(_components.p,{children:[`Configure your IdP to send the user’s groups in a claim (OIDC) or attribute (SAML) named `,_jsx(_components.code,{children:`groups`}),`. The value can be a\nlist of groups or a single group.`]}),_jsxs(_components.p,{children:[`For an OIDC provider, add the scope that releases the groups claim, if your IdP requires one, to the provider’s\n`,_jsx(_components.code,{children:`Scopes`}),` in OpenHands.`]})]})]}),`\n`,_jsx(Heading,{level:`2`,id:`add-group-mappings`,children:`Add Group Mappings`}),`\n`,_jsx(Warning,{children:_jsx(_components.p,{children:`Map groups only on providers that you control and that serve only your own organization. OpenHands trusts the groups\nthat the provider sends, so anyone who can set group names in a shared or multi-tenant IdP could add themselves to a\nmapped organization.`})}),`\n`,_jsxs(_components.ol,{children:[`\n`,_jsxs(_components.li,{children:[`Open the Super Admin dashboard and choose `,_jsx(_components.code,{children:`Auth Providers`}),`.`]}),`\n`,_jsx(_components.li,{children:`Open your login provider from the row menu.`}),`\n`,_jsxs(_components.li,{children:[`In `,_jsx(_components.code,{children:`Group to Organization Mapping`}),`, select `,_jsx(_components.code,{children:`Add Mapping`}),`.`]}),`\n`,_jsxs(_components.li,{children:[`In `,_jsx(_components.code,{children:`Identity Provider Group`}),`, enter the group exactly as your IdP sends it, for example `,_jsx(_components.code,{children:`OpenHands-Platform`}),`.`]}),`\n`,_jsxs(_components.li,{children:[`In `,_jsx(_components.code,{children:`Organization`}),`, choose the organization that members of the group join.`]}),`\n`,_jsxs(_components.li,{children:[`Repeat for each group, then select `,_jsx(_components.code,{children:`Save Changes`}),`.`]}),`\n`]}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.code,{children:`Save Changes`}),` stays disabled while a mapping has a group but no organization, or an organization but no group. To\ndelete a mapping, select `,_jsx(_components.code,{children:`Remove`}),` on its row and save.`]}),`\n`,_jsxs(_components.p,{children:[`The `,_jsx(_components.code,{children:`Group to Organization Mapping`}),` section appears on SAML providers and on OAuth providers that have\n`,_jsx(_components.code,{children:`Use as OpenHands Authentication Provider`}),` turned on. It has no effect on Git login providers or on providers that sign\nin through Keycloak. See `,_jsx(_components.a,{href:`#how-group-mapping-works`,children:`How Group Mapping Works`}),`.`]}),`\n`,_jsx(Heading,{level:`2`,id:`check-the-result`,children:`Check the Result`}),`\n`,_jsxs(_components.ol,{children:[`\n`,_jsx(_components.li,{children:`Open OpenHands in a private browser window and sign in as a user who is in a mapped group.`}),`\n`,_jsx(_components.li,{children:`Open the organization selector. The user should be a member of the mapped organization.`}),`\n`]}),`\n`,_jsxs(_components.p,{children:[`If the user wasn’t added, check that the IdP sends the `,_jsx(_components.code,{children:`groups`}),` claim or attribute and that the group matches exactly.\nFor OIDC providers, also check that `,_jsx(_components.code,{children:`Scopes`}),` includes the scope that releases groups.`]}),`\n`,_jsx(Heading,{level:`2`,id:`remove-access`,children:`Remove Access`}),`\n`,_jsxs(_components.p,{children:[`Group mappings never remove a membership. To keep a user out of a mapped organization while they are still in the\ngroup, go to `,_jsx(_components.code,{children:`Users`}),` in the Super Admin dashboard and suspend their membership in that organization. OpenHands keeps a\nsuspended membership as it is when the user signs in again. See `,_jsx(_components.a,{href:`/enterprise/super-admin#manage-users`,children:`Manage Users`}),`.`]}),`\n`,_jsx(_components.p,{children:`If you remove the membership instead, OpenHands adds the user again at their next sign-in while they are still in the\ngroup.`})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"Map Identity Provider Groups to Organizations","sidebarTitle":"Group to Org Mapping","description":"Add users to OpenHands Enterprise organizations automatically, based on their Okta or other identity provider groups, when they sign in with SSO.","icon":"users-gear","href":"/enterprise/auth-v2/group-mapping"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"Prerequisites","slug":"prerequisites","depth":2,"children":[]},{"title":"How Group Mapping Works","slug":"how-group-mapping-works","depth":2,"children":[]},{"title":"Send Groups From Your Identity Provider","slug":"send-groups-from-your-identity-provider","depth":2,"children":[]},{"title":"Add Group Mappings","slug":"add-group-mappings","depth":2,"children":[]},{"title":"Check the Result","slug":"check-the-result","depth":2,"children":[]},{"title":"Remove Access","slug":"remove-access","depth":2,"children":[]}],"codeExamples":{}},"jsLinks":["/_mintlify/custom/allhandsai/dddab338317a519d/openhands/reo-init.js","/_mintlify/custom/allhandsai/ae719f15d762e1fe/openhands/posthog-init.js","/_mintlify/custom/allhandsai/b35f7f3c3c83fb4c/openhands/canvas-handoff.js","/_mintlify/custom/allhandsai/771d6371c43b73b7/openhands/linkedin-copy-tracking.js","/_mintlify/custom/allhandsai/46724455a27ebfc6/openhands/copy-click-tracking.js"],"subdomain":"allhandsai","siteName":"OpenHands Docs","title":"Map Identity Provider Groups to Organizations - OpenHands Docs","contextualStarterQuestions":[],"navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-12-03T14:58:21.908Z","originalFileLocation":"enterprise/auth-v2/group-mapping.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"light\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"Add users to OpenHands Enterprise organizations automatically, based on their Okta or other identity provider groups, when they sign in with SSO.\">\u003cmeta data-mint-head name=\"application-name\" content=\"OpenHands Docs\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/allhandsai/NJyVpY-OoVetrcKF/_generated/favicon/android-chrome-192x192.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/mintlify-assets/_mintlify/favicons/allhandsai/NJyVpY-OoVetrcKF/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/allhandsai/NJyVpY-OoVetrcKF/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/allhandsai/NJyVpY-OoVetrcKF/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/allhandsai/NJyVpY-OoVetrcKF/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/allhandsai/NJyVpY-OoVetrcKF/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/allhandsai/NJyVpY-OoVetrcKF/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/allhandsai/NJyVpY-OoVetrcKF/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/allhandsai/NJyVpY-OoVetrcKF/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Map Identity Provider Groups to Organizations - OpenHands Docs\">\u003cmeta data-mint-head property=\"og:description\" content=\"Add users to OpenHands Enterprise organizations automatically, based on their Okta or other identity provider groups, when they sign in with SSO.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"OpenHands Docs\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.openhands.dev/enterprise/auth-v2/group-mapping\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://allhandsai.mintlify.site/_mintlify/api/og/v2?division=Auth+V2+%28Experimental%29\u0026amp;title=Map+Identity+Provider+Groups+to+Organizations\u0026amp;description=Add+users+to+OpenHands+Enterprise+organizations+automatically%2C+based+on+their+Okta+or+other+identity+provider+groups%2C+when+they+sign+in+with+SSO.\u0026amp;theme=2eb43b0b1453a2072ec6e8c0\u0026amp;signature=728aae1c169ca9304f58c2bd5dfcb6cb5194b1e04edf254fa736be55b9b9b4bd\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"Map Identity Provider Groups to Organizations - OpenHands Docs\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Add users to OpenHands Enterprise organizations automatically, based on their Okta or other identity provider groups, when they sign in with SSO.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://allhandsai.mintlify.site/_mintlify/api/og/v2?division=Auth+V2+%28Experimental%29\u0026amp;title=Map+Identity+Provider+Groups+to+Organizations\u0026amp;description=Add+users+to+OpenHands+Enterprise+organizations+automatically%2C+based+on+their+Okta+or+other+identity+provider+groups%2C+when+they+sign+in+with+SSO.\u0026amp;theme=2eb43b0b1453a2072ec6e8c0\u0026amp;signature=728aae1c169ca9304f58c2bd5dfcb6cb5194b1e04edf254fa736be55b9b9b4bd\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/mintlify-assets/_mintlify/favicons/allhandsai/NJyVpY-OoVetrcKF/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"OpenHands Docs\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#99873c\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.openhands.dev/enterprise/auth-v2/group-mapping\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/enterprise/auth-v2/group-mapping.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.openhands.dev/#organization\",\"name\":\"OpenHands Docs\",\"url\":\"https://docs.openhands.dev\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/allhandsai/DjhqLcIy_hW6pRTg/logo/light.png?fit=max\u0026auto=format\u0026n=DjhqLcIy_hW6pRTg\u0026q=85\u0026s=49b636402b03f7279ca5e1afefeec1d2\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.openhands.dev#website\",\"name\":\"OpenHands Docs\",\"url\":\"https://docs.openhands.dev\",\"publisher\":{\"@id\":\"https://docs.openhands.dev/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.openhands.dev/enterprise/auth-v2/group-mapping#webpage\",\"url\":\"https://docs.openhands.dev/enterprise/auth-v2/group-mapping\",\"name\":\"Map Identity Provider Groups to Organizations\",\"description\":\"Add users to OpenHands Enterprise organizations automatically, based on their Okta or other identity provider groups, when they sign in with SSO.\",\"dateModified\":\"2026-12-03T14:58:21.908Z\",\"isPartOf\":{\"@id\":\"https://docs.openhands.dev#website\"},\"breadcrumb\":{\"@id\":\"https://docs.openhands.dev/enterprise/auth-v2/group-mapping#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.openhands.dev/enterprise/auth-v2/group-mapping#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Configuration\",\"item\":\"https://docs.openhands.dev/enterprise/environment-variables\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Auth V2 (Experimental)\",\"item\":\"https://docs.openhands.dev/enterprise/auth-v2/overview\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Map Identity Provider Groups to Organizations\",\"item\":\"https://docs.openhands.dev/enterprise/auth-v2/group-mapping\"}]},{\"@type\":[\"Article\",\"TechArticle\"],\"@id\":\"https://docs.openhands.dev/enterprise/auth-v2/group-mapping#article\",\"headline\":\"Map Identity Provider Groups to Organizations\",\"name\":\"Map Identity Provider Groups to Organizations\",\"description\":\"Add users to OpenHands Enterprise organizations automatically, based on their Okta or other identity provider groups, when they sign in with SSO.\",\"url\":\"https://docs.openhands.dev/enterprise/auth-v2/group-mapping\",\"mainEntityOfPage\":{\"@id\":\"https://docs.openhands.dev/enterprise/auth-v2/group-mapping#webpage\"},\"dateModified\":\"2026-12-03T14:58:21.908Z\",\"publisher\":{\"@id\":\"https://docs.openhands.dev/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.openhands.dev#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"OpenHands Docs\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"OpenHands Docs\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/enterprise/auth-v2/group-mapping.md","siteName":"OpenHands Docs","nav":{"global":null,"tabs":[{"tab":"Home","pages":[{"title":"Home","href":"/overview/introduction"}]},{"tab":"Agent Canvas","pages":[{"title":"Agent Canvas","href":"/openhands/usage/agent-canvas/overview"}]},{"tab":"SDK","pages":[{"title":"SDK","href":"/sdk"}]},{"tab":"Cloud","pages":[{"title":"Cloud","href":"/openhands/usage/cloud/openhands-cloud"}]},{"tab":"Enterprise","pages":[{"group":"Get Started","pages":[{"title":"Overview","icon":"map","href":"/enterprise/overview"},{"group":"Why Enterprise","icon":"building","root":{"title":"OpenHands Enterprise","icon":"building","href":"/enterprise/index"},"pages":[{"title":"Enterprise vs. Open Source","sidebarTitle":"Enterprise vs. OSS","icon":"scale-balanced","href":"/enterprise/enterprise-vs-oss"}]},{"title":"Architecture","icon":"sitemap","href":"/enterprise/architecture"}]},{"group":"Deployment","pages":[{"group":"Compose","icon":"docker","root":{"title":"Docker Compose","icon":"docker","href":"/enterprise/docker-compose"},"pages":[{"title":"Docker Compose Architecture","sidebarTitle":"Architecture","icon":"sitemap","href":"/enterprise/docker-compose/architecture"},{"title":"Run on a VM with HTTPS","sidebarTitle":"VM with HTTPS","icon":"lock","href":"/enterprise/docker-compose/https"},{"title":"Serve with ngrok","sidebarTitle":"ngrok","icon":"globe","href":"/enterprise/docker-compose/ngrok"}]},{"group":"Kubernetes","icon":"dharmachakra","root":{"title":"Kubernetes Installation","icon":"dharmachakra","href":"/enterprise/k8s-install/index"},"pages":[{"group":"Cloud Providers","icon":"cloud","pages":[{"title":"Amazon EKS","icon":"aws","href":"/enterprise/k8s-install/eks"},{"title":"Azure AKS","icon":"https://mintlify.s3.us-west-1.amazonaws.com/allhandsai/enterprise/images/azure-logo.svg","href":"/enterprise/k8s-install/aks"},{"title":"Google GKE","icon":"cloud","href":"/enterprise/k8s-install/gke"}]},{"title":"Installing Sysbox","sidebarTitle":"Sysbox","icon":"cube","href":"/enterprise/k8s-install/sysbox"},{"title":"DNS and TLS","icon":"lock","href":"/enterprise/k8s-install/dns-and-tls"},{"title":"Install with Helm","sidebarTitle":"Install with Helm","icon":"ship","href":"/enterprise/k8s-install/installation"},{"title":"Resource Limits","icon":"gauge-high","href":"/enterprise/k8s-install/resource-limits"},{"title":"Enable Automations with Helm","sidebarTitle":"Automations","icon":"clock","href":"/enterprise/k8s-install/automations"},{"title":"Upgrade Guidance","icon":"circle-up","href":"/enterprise/k8s-install/upgrade-guidance"}]},{"group":"VM Install","icon":"server","pages":[{"title":"Generic VM Quick Start","sidebarTitle":"Generic VM","icon":"server","href":"/enterprise/vm-install/generic-vm"},{"title":"AWS Quick Start","sidebarTitle":"AWS","icon":"aws","href":"/enterprise/vm-install/aws"},{"title":"Google Cloud Quick Start","sidebarTitle":"Google Cloud","icon":"google","href":"/enterprise/vm-install/google"},{"title":"Azure Quick Start","sidebarTitle":"Azure","icon":"microsoft","href":"/enterprise/vm-install/azure"},{"title":"Admin Console Configuration","sidebarTitle":"Admin Console","icon":"sliders","href":"/enterprise/vm-install/admin-console-configuration"},{"title":"Log Collection","icon":"file-lines","href":"/enterprise/vm-install/log-collection"},{"title":"Scaling the Cluster","sidebarTitle":"Scaling","icon":"server","href":"/enterprise/vm-install/scaling"}]},{"title":"Sizing Guide","icon":"ruler","href":"/enterprise/sizing-guide"}]},{"group":"Configuration","pages":[{"title":"Environment Variables","icon":"sliders","href":"/enterprise/environment-variables"},{"group":"Authentication (SSO)","icon":"shield-check","pages":[{"title":"SAML SSO","icon":"user-shield","href":"/enterprise/integrations/saml-sso"},{"title":"Authentik","icon":"key","href":"/enterprise/integrations/saml-providers/authentik"}]},{"group":"Auth V2 (Experimental)","icon":"key","pages":[{"title":"Auth V2 Overview","sidebarTitle":"Overview","icon":"shield-check","href":"/enterprise/auth-v2/overview"},{"title":"Configure Auth Providers","sidebarTitle":"Configure Providers","description":"Add and manage login providers and Git provider integrations in OpenHands Enterprise with Auth V2.","icon":"key","href":"/enterprise/auth-v2/configure-providers"},{"title":"Map Identity Provider Groups to Organizations","sidebarTitle":"Group to Org Mapping","icon":"users-gear","href":"/enterprise/auth-v2/group-mapping"},{"title":"Migrate From V1 to V2","sidebarTitle":"Migrate From V1","description":"Turn on Auth V2 for an existing OpenHands Enterprise installation and review the providers it creates from your V1 configuration.","icon":"arrow-right-arrow-left","href":"/enterprise/auth-v2/migrate-from-v1"}]},{"group":"Models and Gateways","icon":"route","root":{"title":"Models and Gateways","sidebarTitle":"Overview","icon":"route","href":"/enterprise/integrations/models-and-gateways"},"pages":[{"title":"Azure LLM Gateway","sidebarTitle":"Azure","icon":"https://mintlify.s3.us-west-1.amazonaws.com/allhandsai/enterprise/images/azure-logo.svg","href":"/enterprise/integrations/azure-llm-gateway"},{"title":"AWS Bedrock LLM Gateway","sidebarTitle":"AWS Bedrock","icon":"cloud","href":"/enterprise/integrations/aws-bedrock-llm-gateway"},{"title":"Google LLM Gateway","sidebarTitle":"Google","icon":"google","href":"/enterprise/integrations/google-llm-gateway"},{"group":"External Gateways","icon":"network-wired","pages":[{"title":"Forward Through Bundled LiteLLM","icon":"network-wired","href":"/enterprise/integrations/external-llm-gateways"},{"title":"Use Per-Member Keys","icon":"key","href":"/enterprise/integrations/customer-llm-gateway"}]}]},{"group":"Custom Sandbox Images","icon":"box","root":{"title":"Custom Sandbox Images","icon":"box","href":"/enterprise/custom-sandbox-images/index"},"pages":[{"title":"Building a Custom Sandbox Image","sidebarTitle":"Building Images","icon":"docker","href":"/enterprise/custom-sandbox-images/building-custom-images"},{"title":"Configuring Custom Sandbox Images","sidebarTitle":"Multiple Images","icon":"layer-group","href":"/enterprise/custom-sandbox-images/multiple-images-warm-pools"},{"title":"Single Image via Admin Console","sidebarTitle":"Admin Console","icon":"triangle-exclamation","href":"/enterprise/custom-sandbox-images/single-image-admin-console"},{"title":"Using Custom Images","sidebarTitle":"Using Images","icon":"play","href":"/enterprise/custom-sandbox-images/using-custom-images"}]},{"title":"Running Docker in the Agent Sandbox","sidebarTitle":"Docker in the Sandbox","icon":"docker","href":"/enterprise/docker-in-sandbox"},{"title":"External PostgreSQL","icon":"database","href":"/enterprise/external-postgres"},{"group":"Observability","icon":"chart-line","pages":[{"title":"Analytics","icon":"rocket","href":"/enterprise/analytics"},{"title":"External Observability Platforms","sidebarTitle":"External Platforms","icon":"chart-line","href":"/enterprise/integrations/observability-platforms"}]}]},{"group":"Integrations","pages":[{"title":"Integrations Overview","sidebarTitle":"Overview","icon":"puzzle-piece","href":"/enterprise/integrations/overview"},{"group":"Source Control","icon":"code-branch","pages":[{"title":"GitHub","icon":"github","href":"/enterprise/integrations/github"},{"title":"GitLab","icon":"code-branch","href":"/enterprise/integrations/gitlab"},{"title":"Azure DevOps","icon":"code-branch","href":"/enterprise/integrations/azure-devops"},{"title":"Bitbucket Data Center","icon":"code-branch","href":"/enterprise/integrations/bitbucket-data-center"}]},{"group":"Project Management","icon":"list-check","pages":[{"title":"Jira Cloud","icon":"cloud","href":"/enterprise/integrations/jira-cloud"},{"title":"Jira Data Center","icon":"building","href":"/enterprise/integrations/jira-data-center"}]},{"title":"Slack","icon":"slack","href":"/enterprise/integrations/slack"},{"title":"Connect MCP Clients to OpenHands Enterprise","sidebarTitle":"External MCP Server","icon":"plug","href":"/enterprise/integrations/external-mcp-server"}]},{"group":"Features","pages":[{"title":"Conversations And Sandboxes","sidebarTitle":"Conversations","icon":"boxes-stacked","href":"/enterprise/conversations-and-sandboxes"},{"group":"Automations","icon":"bolt","root":{"title":"Automations","icon":"bolt","href":"/enterprise/automations"},"pages":[{"title":"Service Accounts","icon":"robot","href":"/enterprise/automations/service-accounts"},{"title":"GitHub Event Automations","icon":"github","href":"/enterprise/automations/github-events"},{"title":"Jira and Bitbucket Data Center Event Automations","icon":"building","href":"/enterprise/automations/data-center-events"}]},{"title":"Personal and Organization Agent Profiles (Beta)","icon":"id-card","href":"/enterprise/agent-profiles"},{"title":"Secrets Management","icon":"key","href":"/enterprise/secrets-management"},{"title":"Organization MCP Servers (Beta)","sidebarTitle":"Organization MCP Servers","icon":"server","href":"/enterprise/org-mcp-servers"},{"title":"Application Settings","icon":"sliders","href":"/enterprise/application-settings"},{"group":"Skills and Plugins","icon":"puzzle-piece","root":{"title":"Skills and Plugins","icon":"puzzle-piece","href":"/enterprise/skills-and-plugins"},"pages":[{"title":"Turn Off Public Defaults","sidebarTitle":"Turn Off Public Defaults","icon":"puzzle-piece","href":"/enterprise/skills-and-plugins/public-defaults"}]},{"title":"Plugin Marketplace","icon":"store","href":"/enterprise/plugin-marketplace"},{"group":"Organizations","icon":"building","pages":[{"title":"Organizations Overview","sidebarTitle":"Overview","href":"/openhands/usage/cloud/organizations/overview"},{"title":"Configuring Organizations","sidebarTitle":"Configuration","href":"/openhands/usage/cloud/organizations/configuring-organizations"},{"title":"Managing Members","sidebarTitle":"Members","href":"/openhands/usage/cloud/organizations/managing-members"},{"title":"Roles and Permissions","href":"/openhands/usage/cloud/organizations/roles-permissions"},{"title":"Organization Settings","sidebarTitle":"Settings","href":"/openhands/usage/cloud/organizations/settings"},{"title":"Budgets and Usage","sidebarTitle":"Budgets and Usage","href":"/openhands/usage/cloud/organizations/budgets"}]}]},{"group":"Administration","pages":[{"title":"Super Admin Dashboard","sidebarTitle":"Super Admin","icon":"user-shield","href":"/enterprise/super-admin"},{"title":"Customer Center","icon":"id-card","href":"/enterprise/customer-center"},{"title":"Configure License Key","sidebarTitle":"Configure License Key","icon":"key","href":"/enterprise/license"},{"title":"Troubleshooting","icon":"life-ring","href":"/enterprise/troubleshooting"},{"group":"Release Notes","icon":"rocket","pages":[{"title":"OpenHands Enterprise 0.121.0","href":"/enterprise/release-notes/0.121.0"},{"title":"OpenHands Enterprise 0.110.0","href":"/enterprise/release-notes/0.110.0"},{"title":"OpenHands Enterprise 0.105.0","href":"/enterprise/release-notes/0.105.0"},{"title":"OpenHands Enterprise 0.103.0","href":"/enterprise/release-notes/0.103.0"},{"title":"OpenHands Enterprise 0.90.1","href":"/enterprise/release-notes/0.90.1"},{"title":"OpenHands Enterprise 0.81.0","href":"/enterprise/release-notes/0.81.0"},{"title":"OpenHands Enterprise 0.76.0","href":"/enterprise/release-notes/0.76.0"},{"title":"OpenHands Enterprise 0.74.0","href":"/enterprise/release-notes/0.74.0"},{"title":"OpenHands Enterprise 0.71.1","href":"/enterprise/release-notes/0.71.1"},{"title":"OpenHands Enterprise 0.70.0","href":"/enterprise/release-notes/0.70.0"},{"title":"OpenHands Enterprise 0.64.0","href":"/enterprise/release-notes/0.64.0"},{"title":"OpenHands Enterprise 0.55.0","href":"/enterprise/release-notes/0.55.0"},{"title":"OpenHands Enterprise 0.45.0","href":"/enterprise/release-notes/0.45.0"},{"title":"OpenHands Enterprise 0.41.0","href":"/enterprise/release-notes/0.41.0"},{"title":"OpenHands Enterprise 0.36.1","href":"/enterprise/release-notes/0.36.1"},{"title":"OpenHands Enterprise 0.36.0","href":"/enterprise/release-notes/0.36.0"},{"title":"OpenHands Enterprise 0.28.0","href":"/enterprise/release-notes/0.28.0"},{"title":"OpenHands Enterprise 0.24.0","href":"/enterprise/release-notes/0.24.0"}]}]}]},{"tab":"Enterprise Cookbook","pages":[{"title":"Enterprise Cookbook","href":"/cookbook"}]}]},"basePath":"","title":"Map Identity Provider Groups to Organizations - OpenHands Docs","deploymentId":"dpl_4dgnk6TA5fUgboKHTvWWyeqm3idh","buildId":"dpl_4dgnk6TA5fUgboKHTvWWyeqm3idh","dynamics":[],"chunks":[]}