Authentication

Authenticating the Lumos CLI

Authentication

After installation, authenticate with your Lumos account:

# Setup authentication (first time)
lumos setup

# Or login directly via OAuth
lumos login

You’ll be directed to authenticate in your browser. Once complete, you can verify your login:

lumos whoami

You must use lumos login and complete one of the authentication mechanisms before using the CLI. API Tokens last indefinitely. OAuth 2.0 tokens last for 12 hours.

Authentication issues

If you have trouble logging in:

# Clear existing credentials
lumos logout

# Re-run setup
lumos setup