Log in to BioLM with OAuth 2.0 (PKCE) and save credentials to ~/.biolm/credentials.
Reuses valid existing credentials when possible; otherwise opens a browser to complete authorization.
Examples:
bash
# Login with default client ID
biolm login
# Login with custom client ID
biolm login --client-id your-client-id
# Login with custom scope (supported: read, write, introspection)
biolm login --scope "read write"
Usage
bash
biolm login [OPTIONS]
Options
- --client-id <client_id>
OAuth client ID (defaults to
BIOLMAI_PUBLIC_CLIENT_IDorBIOLMAI_OAUTH_CLIENT_IDenv var)
- --scope <scope>
OAuth scope string
- Default:
'read write'
Environment variables
- BIOLMAI_OAUTH_CLIENT_ID
Provide a default for
--client-id