Authentication
Authenticate with Wafer to access cloud features, workspaces, and the AI agent proxy. Authentication uses OAuth with GitHub or other providers.Quick Start
Commands
wafer auth login
Authenticate with Wafer services:| Option | Description |
|---|---|
--provider | Authentication provider (default: github) |
--no-browser | Print URL instead of opening browser |
wafer auth logout
Sign out and clear stored credentials:wafer auth whoami
Display current authenticated user:Provider Management
Manage additional authentication providers for services like cloud GPU providers.wafer auth providers status
Check authentication status for all providers:wafer auth providers login
Authenticate with a specific provider:github— GitHub OAuthrunpod— RunPod API keydigitalocean— DigitalOcean token
wafer auth providers logout
Sign out from a specific provider:API Keys
For the AI agent, you can use your own Anthropic API key instead of Wafer’s proxy:Credential Storage
Credentials are stored securely in:| Platform | Location |
|---|---|
| macOS | Keychain |
| Linux | Secret Service / encrypted file |
| Windows | Credential Manager |
Troubleshooting
Browser doesn't open
Browser doesn't open
Use the
--no-browser flag and copy the URL manually:Authentication fails
Authentication fails
- Check internet connectivity
- Ensure popup blockers aren’t blocking the OAuth window
- Try logging out and back in:
API key not working
API key not working
Verify the key is set correctly: