Skip to content

docs(enterprise): add Auth V2 guides - #1131

Merged
tofarr merged 7 commits into
mainfrom
docs/auth-v2-ohe-3944
Nov 23, 2026
Merged

tofarr merged 7 commits into
mainfrom
docs/auth-v2-ohe-3944

Conversation

@tofarr

@tofarr tofarr commented Nov 12, 2026 •

Copy link
Copy Markdown
Contributor
  • I have read and reviewed the documentation changes to the best of my ability.
  • If the change is significant, I have run the documentation site locally and confirmed it renders as expected.

Summary of changes

Adds documentation for Auth V2 (OAuth V2 login) in OpenHands Enterprise, for Linear OHE-3944.

Why: Auth V2 lets Super Admins configure login providers and Git provider integrations from the UI, but nothing documented it. The ticket asked for migration steps, provider configuration, how providers enable both login and built-in integrations, and the benefits over V1.

New pages under enterprise/auth-v2/, in a new "Auth V2 (Experimental)" nav group:

  • overview.mdx: benefits, provider types, and which providers can sign users in, be integrations, or both.
  • configure-providers.mdx: adding a provider in Super Admin > Auth Providers, per-provider setup tabs (Okta, Google, generic OIDC, Git providers, Jira Data Center, SAML, Integrated Password), a settings reference, and how Jira Data Center sign-in is reused by the Jira DC integration.
  • migrate-from-v1.mdx: enabling Auth V2 on Replicated and Kubernetes (Helm), the providers the upgrade creates, and turning Auth V2 off.

Messaging: the overview and migration pages say plainly that the upgrade migrations convert existing configuration, so no external changes (OAuth apps, callback URLs, Keycloak) are needed, and that most users won't notice a change. They cover three differences: configuration moves from install-time environment variables into the UI and database, several providers of one type are supported (for example more than one GitLab), and a Git account no longer grants access by itself. configure-providers.mdx has a procedure for making an OIDC or SAML IdP the only way in.

Small edits: nav entry in docs.json, an "Auth Providers" section in super-admin.mdx, a note in saml-sso.mdx that it describes V1, and a pointer in integrations/jira-data-center.mdx.

Out of scope: removing Keycloak (a follow-up). The pages say Auth V2 still works with Keycloak.

Do not merge yet

Validation

  • mint broken-links passes.
  • Ran mint dev and checked the three new pages, the new nav group, the tabs and the Jira section render.
  • Every product claim was checked against OpenHands/enterprise at 7c1e553 (UI labels and presets in frontend/src/components/features/super-admin/, provider model in storage/auth_provider*.py, login and callback behavior in server/routes/oauth_v2.py, migrations 168, 179, 189, 196, 198, and the Jira DC code from docs(sdk): clarify budget checks while awaiting confirmation #1096). The Replicated option name, group and default come from OpenHands-Cloud/replicated/config.yaml, and the Helm env: keys from the chart's values.yaml at openhands/0.105.0.
  • Not tested against a running Auth V2 installation. UI labels and behavior are from the source, not from using the product.

This PR was created by an AI agent (OpenHands) on behalf of the user.

@tofarr can click here to continue refining the PR

…1 migration guides

Document Auth V2 (OAuth V2 login): provider types, login versus integration,
presets, Replicated/Helm enablement and rollback, migrated providers, and
Jira Data Center sign-in reuse. Link from Super Admin, SAML SSO, and Jira
Data Center pages.

Refs OHE-3944

Co-authored-by: openhands <openhands@all-hands.dev>
@tofarr tofarr added documentation Improvements or additions to documentation enterprise labels Nov 12, 2026
@mintlify

mintlify Bot commented Nov 12, 2026 •

Copy link
Copy Markdown

Preview deployment for your docs. Learn more about Mintlify Previews.

Project Status Preview Updated
all-hands-ai 🟢 Ready View Preview Nov 19, 2026, 12:09 PM

💡 Tip: Enable Automations to automatically generate PRs for you.

@tofarr
tofarr marked this pull request as ready for review November 13, 2026 15:15
@jpelletier1
jpelletier1 self-requested a review November 14, 2026 13:47
Co-authored-by: openhands <openhands@all-hands.dev>
Add 'Your Existing Setup Keeps Working' and 'What Changes' to the overview:
configuration moves from install-time environment variables into the UI and
database, several providers of one type are supported, and a Git account no
longer grants access by itself. Add a procedure to make an OIDC or SAML IdP
the only way in, and say that migrated providers need no change to OAuth
apps, callback URLs, or Keycloak.

Refs OHE-3944

Co-authored-by: openhands <openhands@all-hands.dev>
@jpelletier1

jpelletier1 commented Nov 19, 2026 •

Copy link
Copy Markdown
Contributor

@tofarr Thanks for taking lead on these docs. Some feedback:

  1. Update docs Nav

I think we should refactor the nav related to Enterprise > Authentication section. Given we'll want to steer users towards Auth V2 going forward, I was thinking we could position it like this:

Authentication (SSO)

  • Auth V2 (Recommended)
    • Overivew
    • Configure Providers
    • Migrate from Auth V1
  • Auth V1 (Keycloak required)
    • Configure SAML SSO
    • Authentik
  1. Reference Auth V2/Docker Compose in specific integration guides

We have provider-specific docs that explain how to configure each integration based on install (Replicated, Helm). We should pdate these docs to reference how to configure each when Auth V2 is enabled. I've identified the section in the docs that are relevant:

Existing Keycloak-based authentication is migrated and keeps using Keycloak.
Settings move from the environment into the database and are configured by a
Super Admin. New integrations should connect directly instead of through
Keycloak.

Refs OHE-3944

Co-authored-by: openhands <openhands@all-hands.dev>
…he Jira release

Enterprise SSO (SAML) from V1 is migrated to an Enterprise SSO provider that
keeps signing in through Keycloak, in releases after 0.112.0. Earlier releases
still need a Generic SAML provider. Name 0.108.0 as the first release with the
Jira Data Center provider, describe the Generic SAML email mapping default,
and say migrated providers are managed from the dashboard after the upgrade.

Refs OHE-3944

Co-authored-by: openhands <openhands@all-hands.dev>
@tofarr
tofarr marked this pull request as ready for review November 23, 2026 12:47
@tofarr
tofarr merged commit a8f91cc into main Nov 23, 2026
4 checks passed
@tofarr
tofarr deleted the docs/auth-v2-ohe-3944 branch November 23, 2026 12:47

This branch was successfully deployed

1 active deployment
staging — f380410a Deployed Nov 23, 2026 by mintlify[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation enterprise

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants