Otto uses industry-standard authentication to keep your account secure. The VS Code extension authenticates via OAuth 2.0 with PKCE, and API access uses JWT tokens.
When you run Otto: Sign In from the command palette, the extension initiates an OAuth 2.0 Authorization Code flow with PKCE (Proof Key for Code Exchange). This is the most secure flow for desktop applications:
Tokens are stored securely in the VS Code secret storage. The access token is used for all MCP server communication.
The Otto web dashboard uses standard session-based authentication. Sign in with your email and password, or use a supported OAuth provider (GitHub). Sessions use secure, HTTP-only cookies.
API requests require a valid JWT in the Authorization: Bearer header. JWTs are signed using RS256 and include claims for user identity and licensed products.