Configuring a recovery admin login requires LangSmith chart version 0.18.2 (application version 0.18.2026112200) or later on the v18 stable line, or chart version 0.19.0-rc.8 (application version 0.19.3rc1) or later on the v19 line.
Prerequisites
- Self-hosted LangSmith with SSO via OAuth2.0/OIDC configured with a client secret (
authType: mixed,oauth.enabled: true, andoauthClientSecretset). OAuth with PKCE is not supported, and basic auth must be disabled. - An existing, enabled organization admin identity, already provisioned through SSO. The recovery admin login authenticates as this identity; it does not create a new user or a separate credential store.
Configure the recovery admin
To configure the recovery admin, generate a password hash, then add the hash and the admin’s email to your Helm values.1. Generate a password hash
Requires LangSmith CLI
v0.5.1 or later.2. Set the Helm values
Enable the recovery admin login in your Helm values. Setemail to the organization admin from the prerequisites, and provide the password hash either inline or from an existing Kubernetes secret:
- Inline
- Existing secret
Helm
Log in during an outage
The login screen has no button for the recovery admin login. While signed out, append?recovery=true to your instance URL:
config.recoveryAdmin.email and the password you hashed in step 1. The session authenticates as that organization admin, with the admin’s existing permissions, and expires after 15 minutes.
See also
- Set up SSO with OAuth2.0 and OIDC
- Authentication methods
- Use an existing secret
- Disaster recovery for self-hosted LangSmith
- LangSmith CLI
Connect these docs to your agent of choice via MCP for real-time answers.

