Overview
Authenticate with SuperBox using Firebase authentication. Supports email/password, Google OAuth, and GitHub OAuth.Authentication tokens are stored in
~/.superbox/auth.jsonCommands
superbox auth register
Create a new SuperBox account.
- Prompts for email and password
- Creates Firebase account
- Automatically logs you in
- Stores tokens locally
superbox auth login
Log in to your SuperBox account.
Options
Authentication provider:
email, google, or githubEmail address (for email provider only)
Password (for email provider only)
Email/Password Login
OAuth Device Flow (Google/GitHub)
1
Initiate OAuth Flow
2
Browser Opens
Browser opens to device verification page
3
Complete Authorization
Authorize in browser, CLI detects completion automatically
4
Token Stored
Authentication tokens saved to
~/.superbox/auth.jsonsuperbox auth status
Check current authentication status.
superbox auth refresh
Manually refresh authentication token.
superbox auth logout
Log out from current session.
Troubleshooting
Browser doesn't open
Browser doesn't open
Manually visit the URL and enter the code: