weavori login
Authenticate with Weavori for licensed features.
Usage
weavori login [flags]
The login command initiates a browser-based authentication flow. It opens your browser to authenticate with your identity provider. Once authenticated, your session tokens are stored in the OS keyring (or fall back to ~/.weavori/config.yaml).
Flags
| Flag | Description |
|---|---|
--refresh | Refresh an existing session token |
Configuration
Authentication credentials must be configured before using this command. Set them via environment variables or in ~/.weavori/config.yaml:
# Environment variables
export WEAVORI_AUTH_URL=https://auth.weavori.com
export WEAVORI_AUTH_KEY=your-auth-key
# Or in ~/.weavori/config.yaml
auth_url: https://auth.weavori.com
auth_key: your-auth-key
Example
weavori login
Opening browser to authenticate with Weavori...
If your browser doesn't open, visit this URL manually:
https://auth.weavori.com/authorize?...
✓ Authentication successful!
Session expires in 3600 minutes. Use 'weavori login --refresh' to renew.
Run 'weavori whoami' to see your details.
Related commands
weavori whoami— view your authentication and plan statusweavori logout— clear stored credentialsweavori login --refresh— refresh an existing session