Auth Providers page of the
Super Admin dashboard, instead of through deployment configuration and Keycloak.
Auth V2 by Install Type
Your Existing Setup Keeps Working
The upgrade migrations convert your existing authentication configuration into auth providers. You don’t need to change your external configuration, such as your OAuth apps, your callback URLs, or your Keycloak setup, and you don’t need to do anything else to keep your current sign-in methods and Git integrations working. If you already set up authentication with Keycloak, no change is required. The upgrade migrates your settings, and they keep using Keycloak. The only differences are that the settings are stored in the database instead of the environment, and that a Super Admin configures them in the Super Admin dashboard. For new integrations, connect directly to the provider instead of through Keycloak. Providers you add in Auth V2 connect directly. If all goes well, your users won’t notice a change. They sign in with the same providers, and OpenHands matches each existing user to their existing account by email, so conversations and settings carry over. Enterprise SSO (SAML) from V1 is migrated in releases after 0.112.0, and isn’t migrated in earlier releases. See Migrate From V1 to V2 for what is migrated and what to check.What Changes
Auth V2 changes how you manage authentication:- Configuration moves into the UI: The environment variables you set during installation, such as OAuth client IDs and secrets, are now managed by a Super Admin in the Super Admin dashboard and stored in the database. You can add, edit, enable, disable, and delete providers without redeploying.
- More than one provider of the same type: You can add several providers of one type, for example more than one
GitLab instance. Each appears as its own provider in
Settings > Integrations. Only the integrated password login is limited to one. - A Git account no longer grants access by itself: You choose which providers people can sign in with. You can set up an identity provider (IdP) using OIDC or SAML in line with your own best practices, and make it the single source of truth for who can sign in. See Make Your Identity Provider the Only Way In.
- Login and integrations are separate choices: For each Git provider, choose whether users can also sign in with it. Identity providers such as Okta are used only for sign-in.
Provider Types
Every auth provider has one of three types:Login and Integrations
An auth provider can be a login provider, a built-in integration, or both. Its type decides which.
Every enabled Git provider is available to users as an integration. Its
Use as OpenHands Authentication Provider
setting decides whether it is also a sign-in option:
- Integration only: Turn the setting off. Users connect the provider from
Settings > Integrationsafter they sign in another way. - Sign-in and integration: Turn the setting on. The provider appears as a button on the login screen. Signing in with it also connects it as an integration for that user.

