Skip to Content
V1CLI Referencelore login

lore login

Authenticate with the Lore registry using the OAuth 2.0 Device Authorization Grant (RFC 8628).

Usage

lore login [--registry <url>]

Description

Opens a browser window to complete authentication with your identity provider. The CLI polls for the authorization code and stores the resulting token in the system keychain.

Flags

FlagDescription
--registryRegistry URL (default: https://registry.lore.infraestrutura.app)

Examples

# Login to the default registry lore login # Login to a self-hosted registry lore login --registry https://registry.mycompany.com

Token Storage

The auth token is stored securely using the OS keychain:

  • macOS: Keychain Access
  • Linux: Secret Service (via libsecret)
  • Windows: Windows Credential Manager

For CI environments, use the LORE_AUTH_TOKEN environment variable instead of lore login.

© 2025 Lore · Built by M1 Cloud