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
| Flag | Description |
|---|---|
--registry | Registry 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.comToken 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.