Authentication Commands
Islo supports two authentication methods:
- OAuth 2.0 (default) - Browser-based login for interactive use
- API Keys - For CI/CD, scripts, and programmatic access
islo login
Authenticate with Islo via browser-based OAuth flow.
Syntax:
Behavior:
- Starts a local HTTP server on port 9876
- Opens your default browser to the Descope authorization URL
- User authenticates via Google, email, or SSO
- Descope redirects to localhost with authorization code
- CLI exchanges code for access and refresh tokens
- Tokens are stored securely on your system
Expected output:
Exit codes:
Troubleshooting:
If the browser doesn’t open automatically:
- Copy the URL printed in the terminal
- Paste it in your browser manually
- Complete the login flow
- The CLI will catch the callback automatically
islo logout
Clear stored authentication tokens.
Syntax:
Expected output:
Exit codes:
islo switch
Switch between tenants (organizations) if you belong to multiple.
Syntax:
Behavior:
- Lists all tenants/organizations you belong to
- Prompts you to select one
- Updates your active tenant
Your current tenant is shown in islo status output.
Example:
Integrations Login
Connect external services like GitHub, Claude, or GitLab for enhanced functionality.
Syntax:
Supported integrations:
- GitHub
- Claude
- Cursor
- Linear
Examples:
Integration tokens are stored securely and used automatically when needed.
islo status
Check your current authentication status along with configuration and tools.
Syntax:
Output:
Shows authentication state, current tenant, configuration from islo.yaml, connected integrations, and detected tools.
Example output:
Token Storage
Islo stores tokens securely using platform-specific backends:
Token Types
The CLI automatically refreshes expired access tokens using the refresh token. If the refresh token expires, you’ll need to run islo login again.
OAuth Port Configuration
The OAuth callback uses port 9876 by default. To use a different port:
Session Expiration
When your session expires, commands will show:
Fix: Run islo login to re-authenticate.
API Key Authentication
For CI/CD pipelines, scripts, and programmatic access, use API keys instead of OAuth.
Creating API Keys
Use islo api-key create to generate API keys:
Note: The key is only shown once at creation time. Store it securely.
Managing API Keys
Using API Keys
Set the ISLO_API_KEY environment variable:
Or pass it inline:
CI/CD Example
API Key vs OAuth
API keys inherit permissions from the user who created them.