OpenHands SSO, SAML and RBAC by edition

SAML SSO, RBAC and multi-user organizations are available only in OpenHands Enterprise, not in Agent Canvas or OpenHands Cloud. This page explains what that means for team sign-in and access control.

On this page

OpenHands SSO and SAML: which edition supports it

SAML SSO, multi-user RBAC and multi-user organizations are listed only for OpenHands Enterprise, not for Agent Canvas or OpenHands Cloud, according to the OpenHands enterprise comparison page. If your team wants staff to sign in with the company identity provider and limit who can do what, the open-source Agent Canvas cannot meet that requirement, and the commercial hosted Cloud offering does not list SAML in its feature set either. Plan around Enterprise from the start rather than assuming a single-user setup can be extended later.

OpenHands Enterprise is commercial and self-hosted. The OpenHands Enterprise documentation states that it can run on-premises, in a private cloud or in a VPC, so the identity integration, user data and access decisions stay inside your own network boundary. The vendor offers a free 30-day trial with no credit card required, which lets a reviewer test sign-in and role behavior before any procurement decision. Ask the vendor which SAML features the trial includes, since the comparison page does not break trial scope down by feature.

Before approving the edition, the reviewer must confirm two things in their own environment: that the identity provider is compatible with the SAML SSO implementation, and that the groups or attributes it issues can be mapped to the RBAC roles you intend to use. The documentation describes SAML for centralized authentication and fine-grained access control, but it does not replace a test with your provider's configuration. Record the role mapping as a written decision so that access reviews later can trace each role back to a group owner.

Which OpenHands edition covers each identity and access requirement

This table compares which OpenHands edition the vendor lists for each identity and access requirement: Agent Canvas (open source), OpenHands Cloud (commercial SaaS) and OpenHands Enterprise (commercial, self-hosted). A check mark means the vendor's comparison page lists the feature for that edition, while a dash or a note to confirm marks a gap or an item the vendor has not described. The main takeaway is that SAML SSO and multi-user RBAC are listed only for Enterprise and Cloud, so teams that need central sign-in should confirm the edition and scope in writing before planning a rollout.

RequirementAgent Canvas (open source)OpenHands Cloud (commercial SaaS)OpenHands Enterprise (commercial, self-hosted)
SAML SSONoNoYes
Multi-user organizationsNoYesYes
RBACNoListed on the comparison page, mechanism to confirmYes, marked as Keycloak on the comparison page
Authentication and authorizationNoListed on the comparison page, details to confirmListed for Enterprise, with multi-user RBAC and SAML SSO
Fine-grained access control and auditabilityNot listed, confirm with OpenHandsNot listed, confirm with OpenHandsListed in Enterprise docs, confirm audit log scope
Custom runtime imagesNoNoYes
LLM gateway with budgeting through LiteLLMNoNoYes
Observability through LaminarNoNoYes
Plugin marketplaceNoNoYes

How Enterprise centralizes sign-in and role checks

The core decision in this section is where sign-in and permissions are enforced. In OpenHands Enterprise, authentication moves to a centralized SAML SSO setup, so the identity provider your organization already runs decides who may sign in. Role-based access is then enforced through Keycloak, which the OpenHands enterprise comparison page lists as the Enterprise RBAC mechanism. Multi-user organizations are the container that holds those roles, so a reviewer should expect every user, role assignment and workspace boundary to trace back to one organization record rather than to individual local accounts.

Agent Canvas, the open-source client, has no RBAC and no multi-user organization layer according to the same comparison page. Nothing in that edition can restrict which team member may use which capability, and there is no central record of who holds what. If your team needs shared governance, the open-source client cannot provide it on its own, and a per-user install will not enforce a policy across colleagues. Treat Agent Canvas as a single-user tool for this decision unless the Enterprise edition is selected.

Before approval, ask the vendor to show, in a test environment, how a user authenticated through your identity provider is mapped to an organization and a Keycloak role, and where a role change or removal takes effect. Ask which permissions are enforced at the platform level versus in the agent's own tooling, how sessions end when a user is deprovisioned, and which events the audit trail records for role changes. Confirm these answers against the OpenHands Enterprise documentation and your own configuration review rather than relying on the comparison table alone.

Decisions to make before choosing identity and roles

Before turning on SSO or assigning roles, decide how people sign in, what each role may do, how teams are separated, and where session and audit records go. These choices shape every later access review and offboarding step, so settle them in writing before rollout. The supplied edition facts only confirm which tier offers SAML, RBAC and multi-user organizations, so confirm the detailed behavior with the vendor.

Identity provider and attribute mapping

Decide which identity provider will be the single source of sign-in, and confirm with the vendor how SAML assertions map to OpenHands users and roles. The group or attribute mapping determines who lands in which role on first login. Ask whether role changes in the identity provider take effect on the next sign-in or only when an admin edits the user in OpenHands. This matters because a role that does not follow the directory will survive a reorganization unnoticed.

Enterprise docs

Role model and least privilege

Define the smallest set of roles that lets each team do its work, such as separate roles for users who run agents and administrators who manage settings and members. Confirm which permissions each role carries and whether the Enterprise RBAC layer, which the comparison page marks as Keycloak, can express them without custom work. Write down who may approve role changes, because an overly broad admin role is the most common way agent access widens quietly.

Organization boundary for teams

Decide how multi-user organizations map to business units, projects or customers. A single shared organization is simpler to administer but gives members visibility across each other's conversations and settings. Separate organizations isolate data more firmly but multiply the accounts an admin must review and deprovision. Ask the vendor how cross-organization membership is handled and whether one user can belong to several organizations.

Where audit and session data goes

Confirm where authentication events, role changes and agent session records are written, how long they persist and who can export them. The Enterprise docs describe auditability as part of fine-grained access control, but the storage location and retention period are settings to confirm in your own deployment. If records stay inside your environment, your access review can rely on them. If they leave it, add that flow to your data processing review.

Edition comparison

Central or per-user LLM keys

Decide whether model provider keys are held by the organization and assigned through the platform, or whether each user supplies a personal key. Enterprise customers bring their own provider and keys, so the choice is yours. Central keys make spend and revocation a single admin action during offboarding. Per-user keys keep usage attributable to individuals but leave credentials outstanding when someone leaves, so check how each key is rotated and removed.

How the answer changes by identity provider, team size and data

The published comparison places multi-user organizations and RBAC in OpenHands Cloud and Enterprise, and lists none of those team controls for Agent Canvas. A single developer or a small group sharing one workspace may be able to work with the open-source option, but once several teams need separate permissions, shared settings and an accountable admin, the organization is choosing between the commercial editions. Enterprise adds multi-user RBAC with fine-grained access control and auditability, and the Enterprise docs describe its RBAC as Keycloak-based.

  • Open-source use: Agent Canvas has no multi-user organizations or RBAC, so access control must come from outside the tool.
  • Cloud use: OpenHands Cloud lists multi-user organizations and RBAC, but it is SaaS, so confirm where it runs against your residency rules.
  • Enterprise use: Confirm which roles ship by default and whether you can map your own groups to them.
  • Team ownership: Your organization builds and maintains role assignments, offboarding steps and review cadence.
  • Logs: Confirm which audit events are recorded per user and how long they are retained.

Before approval, ask the vendor to demonstrate role separation between two teams using a test tenant.

Order of work to put SSO and RBAC in production

This sequence confirms the right edition, proves identity-provider sign-in and role mapping in a non-production environment, and closes the unmanaged access paths before staff are onboarded.

  1. Confirm the edition and deployment target

    The platform or security lead checks the OpenHands enterprise comparison and the Enterprise documentation to confirm that SAML SSO, multi-user RBAC and authorization features sit in OpenHands Enterprise, not in Agent Canvas or OpenHands Cloud. Record whether the target is on-premises, a private cloud or a VPC, since the Enterprise docs list all three. Done when a written decision names the edition and the hosting location, and the reviewer has signed off on it.

  2. Run the free trial in a non-production environment

    The platform team deploys the Enterprise trial in a non-production environment, which the Enterprise docs offer for 30 days with no credit card required. Use test identities and a non-sensitive repository while the team confirms the install, the sandbox behavior and the LLM connection. Ask the vendor to confirm the trial terms in writing before deployment. Done when the trial instance runs and the team has a list of gaps to resolve before production.

  3. Connect the identity provider and test sign-in

    The identity engineer configures SAML SSO against the corporate identity provider in the trial instance and tests sign-in with several accounts, including one that should be denied. Confirm which attributes and groups the provider sends, and how the platform handles a user who is removed from the directory. Done when approved users reach the workspace through the identity provider, unapproved users cannot, and the test results are recorded.

  4. Define roles and map them to teams

    The security and platform leads define the roles needed for each team, such as who may start conversations, who administers the instance and who may change LLM settings. They map identity-provider groups to these roles and document the permission boundary for each one. Confirm how role changes take effect for active sessions. Done when every role has a named owner, a written purpose and a test user who holds exactly those rights.

  5. Verify that unmanaged access is blocked

    The security reviewer checks that staff cannot reach the instance through Agent Canvas or any other unmanaged path, such as a personal OpenHands Cloud account, a local install with shared credentials or a direct LLM key. Confirm network rules and egress from developer endpoints, and confirm where LLM keys are held. Done when each path has been tested, blocked or documented as accepted risk with an owner.

  6. Review the access log before wider use

    The security and compliance leads review the audit and access records that the instance produces for the test accounts, checking that sign-ins, role changes and denied attempts appear with enough detail to investigate. Confirm where logs are stored, who can read them and how long they are kept, and ask the vendor which Enterprise audit capabilities apply. Done when the reviewers accept the log content, a retention owner is named and the rollout to additional teams is approved in writing.

Evidence a security reviewer asks for on sign-in and roles

This table lists the records a security reviewer should request before approving OpenHands Enterprise for sign-in and role control, what each one proves, and who in the client environment holds it. Read it as a request list: if a row cannot be produced on demand, the SSO and RBAC claims for that deployment are not yet verified. Confirm with the vendor and your own identity team which artifacts each Enterprise version exports.

Evidence itemWhat the reviewer checksWhere it sits and who holds it
SAML configuration recordIdentity provider entity, assertion settings, attribute mapping and whether SAML is the only sign-in path enabledOpenHands Enterprise identity settings, held by the client identity team; confirm the export format with the vendor
Role definitions and assignmentsWhich roles exist, what each permits, and which groups or users map to each roleRBAC configuration backed by Keycloak in Enterprise, held by the client platform administrators
User list per organizationWho belongs to each organization, when accounts were created or disabled, and whether departed staff still have accessMulti-user organization records in Enterprise, reviewed against the client HR and identity directory
Sign-in and denied-access test resultsEvidence that a valid user signs in through SAML and that an unassigned user or role is refused accessTest scripts and results kept by the client security team, run in a non-production Enterprise instance
Audit log samplesSign-in events, role changes and access decisions recorded with user, time and outcomeEnterprise audit output stored in the client logging platform; confirm retention and export options with the vendor
LLM key storage locationWhere provider keys for Anthropic, OpenAI, AWS Bedrock, Azure OpenAI or Google Vertex AI are held, who can read them and how they are rotatedClient secrets manager or cloud key store, since customers bring their own provider keys; held by the client cloud team
Enterprise deployment architectureNetwork placement (on-premises, private cloud or VPC), ingress paths, identity provider connectivity and admin access boundariesArchitecture diagram and network controls in the client environment, held by the client platform and security architects

Questions buyers ask before approving OpenHands SSO

Can a team share one Agent Canvas install with company sign-in?

No. The OpenHands enterprise comparison page lists SAML as available only in OpenHands Enterprise, not in Agent Canvas or OpenHands Cloud, and it lists multi-user organizations and authentication and authorization for Cloud and Enterprise only. Agent Canvas is the open-source, MIT-licensed option and has no built-in team sign-in or role-based access. If your staff need centralized authentication, the comparison points to the Enterprise edition. Confirm the current edition matrix on the OpenHands enterprise comparison page before you write the requirement into a policy, since product tables change between releases.

What does OpenHands Enterprise cost?

OpenHands does not publish a price list in the sources we reviewed, so the figure has to come from a quote. The quote follows from a written scope that sets the deployment model (on-premises, private cloud or VPC), the number of users, the identity provider integration, the runtime and LLM gateway features you need, and the support level. Recurring costs typically include the licence or subscription, the infrastructure you run the platform on, and your LLM provider usage, which you pay directly because you bring your own keys. Ask the vendor to separate licence, infrastructure and model spend in the quote, and ask which items recur annually.

How long does SSO setup take for OpenHands Enterprise?

The duration depends on your identity provider, your network layout and how many integration steps the written scope includes, so no fixed timeline applies. Setup usually moves faster when the identity provider team, the platform owner and the security reviewer agree on the SAML attribute mapping, group-to-role mapping and test users before work starts. Ask for the timeline in the written scope, with milestones for the identity integration, the RBAC mapping, the audit logging check and user acceptance testing. DeployOpen plans most engagements as fixed-scope work, so the timeline and deliverables are agreed in writing before work begins.

Can our own engineers configure OpenHands Enterprise SSO without outside help?

Yes, if your team has the skills and time, and the Enterprise documentation covers SAML SSO, multi-user RBAC and fine-grained access control. The work involves your identity provider configuration, role mapping, deployment in your own cloud account, data center or VPC, and evidence collection for your reviewers. Teams that own this stack internally often handle it in-house and bring in a partner for specific gaps. Outside help makes most sense for identity integration in a complex directory, hardening the deployment, or testing the access model. Confirm which of these your team can cover before you agree on a scope.

What does the OpenHands Enterprise free trial include?

The OpenHands Enterprise docs offer a free 30-day trial with no credit card required. The trial lets your team evaluate the Enterprise edition before committing to a paid agreement. Confirm with the vendor what the trial covers, including whether it includes SAML SSO, multi-user RBAC, the LLM gateway and the audit features, and whether it allows deployment in your own environment or only a hosted evaluation. Also confirm what happens to data and configuration at the end of the trial, and how you would move the setup into production.

Do we have to supply our own LLM keys with OpenHands Enterprise?

Yes. The OpenHands Enterprise docs say customers bring their own LLM provider and keys, such as Anthropic, OpenAI, AWS Bedrock, Azure OpenAI or Google Vertex AI. Your organization therefore holds the provider accounts, decides which models are allowed, and pays the provider for usage. The Enterprise comparison also lists an LLM gateway with budgeting through LiteLLM as an Enterprise-only feature, which can help you control spend across users. Ask your reviewers where keys are stored, who can rotate them, and how usage is logged before you approve the provider list.

What drives the cost of outside help for identity integration and testing?

The main drivers are the number of identity sources, the complexity of your group and role model, the deployment environment, and how much testing your reviewers require. A single identity provider with a clean group structure needs less work than several directories with nested groups and legacy applications. Testing scope also matters: access-control checks for each role, audit log review, and security testing of the agent and its integrations add effort. DeployOpen plans and implements self-hosted platforms in your own infrastructure, runs security testing including AI and agent security, and prepares evidence for compliance assessments, but it does not issue audit reports or certifications. Ask for a written scope that lists each integration, each test and each deliverable so the quote can be compared with your internal estimate.

How DeployOpen helps teams verify OpenHands access controls

DeployOpen plans, implements and documents self-hosted open-source platforms inside the client's own infrastructure, including OpenHands Enterprise where the edition is chosen. We test whether SAML SSO, multi-user RBAC and organization boundaries behave as the written scope requires before a team relies on them.

How we scope

  • We confirm which OpenHands edition is in use, since SAML, RBAC and multi-user organizations are listed for Enterprise and Cloud only.
  • The written scope names the identity provider, role model, groups and the users and teams who will sign in.
  • Engagements are fixed-scope, with scope, deliverables and timelines agreed in writing before work starts.

How we build

  • We configure SAML SSO against your identity provider and document the attribute mappings and login flow.
  • We map organization roles to least-privilege permissions and test that each role can only reach its assigned resources.
  • We verify that Agent Canvas and other open-source deployments are not used for team access where SSO and RBAC are absent.

How we hand over

  • You receive a written record of configured SSO settings, role definitions and the test results for each role.
  • The handover includes steps for onboarding and offboarding users, so access changes follow your own identity process.
  • Evidence is organized so your internal reviewers or independent auditors can assess the controls. DeployOpen does not issue audit reports or certifications.

How we support

  • Ongoing support, upgrades and continuous testing are available as retainers after the initial rollout.
  • Retesting after OpenHands upgrades or identity provider changes confirms that access controls still hold.
  • Ask any provider to confirm in writing which access controls are verified, which are inherited from the vendor, and which remain your responsibility.

Sources and further reading

Talk to our team.

Tell us what you're working on, whether it's a deployment, an audit, a security test or a cyber range. You'll speak with an engineer who can help you scope it.

  • 30-minute call: free, with no obligation.
  • NDA on request: we can sign before you share details.
  • Clear next steps: a scope and plan after the call.