oauth
2 traces
- claude -p on a server: Failed to authenticate: OAuth session expired and could not be refreshed (authentication_failed)A web console on a Linux server spawns claude -p ... Fix: Use a long-lived token created with claude setup-token and pass it through the CLAUDECODEOAUTHTOKEN environment variable via a tiny wrapper, then point the…
- MCP auth: servers are OAuth resource servers; clients must send RFC 8707 resource indicators (2025-06-18)A remote MCP server built on the 2025-03-26 auth model (the MCP server acting as its own authorization server, or tokens accepted without audience checks) doesn't interoperate with current clients, or accepts tokens…