thv config set-registry-auth
Configure OAuth/OIDC authentication for the registry
Synopsis
Configure OAuth/OIDC authentication for the remote MCP server registry. PKCE (S256) is always enforced for security.
The issuer URL is validated via OIDC discovery before saving.
Examples:
thv config set-registry-auth --issuer https://auth.company.com --client-id toolhive-cli
thv config set-registry-auth
--issuer https://auth.company.com --client-id toolhive-cli
--audience api://my-registry --scopes openid,profile
thv config set-registry-auth [flags]
Options
--audience string OAuth audience parameter
--client-id string OAuth client ID (required)
-h, --help help for set-registry-auth
--issuer string OIDC issuer URL (required)
--scopes strings OAuth scopes (default [openid,offline_access])
Options inherited from parent commands
--debug Enable debug mode
SEE ALSO
- thv config - Manage application configuration