Command: codespeak login

Authenticate with CodeSpeak to enable builds.

Synopsis

codespeak login

Description

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

ErrorCauseResolution
Failed to exchange authorization code for tokenToken exchange failed during OAuthCheck network connection and try again
Failed to save authentication tokenCan't write to ~/.codespeak/token.jsonCheck file permissions and disk space
Failed to start callback serverAll allowed ports are busyClose other applications using the listed ports