Command: codespeak login
Authenticate with CodeSpeak to enable builds.
Synopsis
codespeak loginDescription
Opens a browser for OAuth 2.0 authentication. After successful login, a token is stored locally at ~/.codespeak/token.json for subsequent commands.
If the browser doesn't open automatically, the command prints a URL to visit manually.
Other commands automatically trigger login if the token is expired or missing.
Error messages
| Error | Cause | Resolution |
|---|---|---|
| Failed to exchange authorization code for token | Token exchange failed during OAuth | Check network connection and try again |
| Failed to save authentication token | Can't write to ~/.codespeak/token.json | Check file permissions and disk space |
| Failed to start callback server | All allowed ports are busy | Close other applications using the listed ports |