skillsctl auth login#

Authenticate with the registry via OIDC device flow

Synopsis#

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]

Examples#

  skillsctl auth login

Options#

  -h, --help   help for login

Options inherited from parent commands#

      --api-url string            Registry URL; overrides the api_url setting from config and SKILLCTL_API_URL
      --credentials-path string   Credentials file path (for testing)

SEE ALSO#