Skip to content

skillsctl auth login

Authenticate with the registry via OIDC device flow

Start an OIDC device authorization flow against the registry’s configured identity provider. The CLI prints a URL and a user code; open the URL in any browser, enter the code, and approve. The resulting tokens are cached at ~/.config/skillsctl/credentials.json (or the path passed to —credentials-path) and refreshed automatically on subsequent commands.

If the server is running without OIDC configured, this command prints a notice and exits successfully without writing credentials.

skillsctl auth login [flags]
skillsctl auth login
-h, --help help for login
--api-url string Registry URL; overrides the api_url setting from config and SKILLCTL_API_URL
--credentials-path string Credentials file path (for testing)