auth
Authenticate with squirrelscan for cloud features and publishing
The auth command manages authentication for cloud features - cloud rules, browser rendering, and publishing reports. Logging in grants 1,000 free credits on new accounts.
Subcommands
- login - Sign in to squirrelscan
- logout - Sign out and revoke token
- status - Check authentication status
login
Authenticate with squirrelscan using device authorization flow.
Usage
squirrel auth login [options]Options
| Option | Alias | Description | Default |
|---|---|---|---|
--device-name | -d | Name for this device | hostname |
Example
squirrel auth loginOpens browser for authentication. After completing login:
✓ Authenticated as you@example.com
Device: macbook-pro
Expires: Feb 2, 2027
logout
Sign out and revoke the current authentication token.
Usage
squirrel auth logoutExample
squirrel auth logout✓ Signed out successfully
status
Check current authentication status.
Usage
squirrel auth status [options]Options
| Option | Description |
|---|---|
--json | Output as JSON |
Example
squirrel auth statusAuthenticated as: you@example.com
Device: macbook-pro
Expires: Feb 2, 2027
JSON output:
squirrel auth status --json{
"authenticated": true,
"email": "you@example.com",
"deviceName": "macbook-pro",
"expiresAt": "2027-02-02T00:00:00Z"
}Related
- Dashboard - Manage reports online
- report —publish - Publish reports