Repository navigation
docs(enterprise): add Auth V2 guides - #1131
Merged
Merged
Conversation
…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>
|
Preview deployment for your docs. Learn more about Mintlify Previews.
💡 Tip: Enable Automations to automatically generate PRs for you. |
tofarr
marked this pull request as ready for review
November 13, 2026 15:15
jpelletier1
self-requested a review
November 14, 2026 13:47
jpelletier1
approved these changes
Nov 14, 2026
Co-authored-by: openhands <openhands@all-hands.dev>
2 of 6 tasks
tofarr
marked this pull request as draft
November 19, 2026 08:18
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>
Contributor
|
@tofarr Thanks for taking lead on these docs. Some feedback:
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)
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>
This branch was successfully deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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 inSuper 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.mdxhas a procedure for making an OIDC or SAML IdP the only way in.Small edits: nav entry in
docs.json, an "Auth Providers" section insuper-admin.mdx, a note insaml-sso.mdxthat it describes V1, and a pointer inintegrations/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
Generic SAMLpreset mapsemailby default and rejects sign-ins with no email). Both are merged but not in a release. The latest chart is0.112.0, which bundles app1.94.1and predates them. The pages say "releases after 0.112.0"; replace this with the real version once it is cut.1.93.0and later, and the first chart that bundles it is0.108.0. The pages say "0.108.0 and later".Validation
mint broken-linkspasses.mint devand checked the three new pages, the new nav group, the tabs and the Jira section render.OpenHands/enterpriseat7c1e553(UI labels and presets infrontend/src/components/features/super-admin/, provider model instorage/auth_provider*.py, login and callback behavior inserver/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 fromOpenHands-Cloud/replicated/config.yaml, and the Helmenv:keys from the chart'svalues.yamlatopenhands/0.105.0.This PR was created by an AI agent (OpenHands) on behalf of the user.
@tofarr can click here to continue refining the PR