Skip to content

Support Claude auth tokens and OAuth failure handling#427

Merged
BunsDev merged 1 commit intomainfrom
okcode/claude-auth-error
Apr 13, 2026
Merged

Support Claude auth tokens and OAuth failure handling#427
BunsDev merged 1 commit intomainfrom
okcode/claude-auth-error

Conversation

@BunsDev
Copy link
Copy Markdown
Member

@BunsDev BunsDev commented Apr 13, 2026

Summary

  • Added Claude auth token helper support so the server can resolve ANTHROPIC_AUTH_TOKEN from a configured shell command when a direct token is not already present.
  • Updated Claude provider health and runtime error handling to detect OAuth-only states and report a clear unsupported-credential message.
  • Surfaced the new Claude auth token configuration in web settings, provider setup UI, environment variable presets, and thread error guidance.
  • Updated related copy, localization strings, and tests to reflect the new auth model.

Testing

  • bun fmt
  • bun lint
  • bun typecheck
  • Not run: bun run test

- Let Claude use ANTHROPIC_API_KEY or ANTHROPIC_AUTH_TOKEN
- Surface clearer auth health and runtime errors for unsupported OAuth
- Add settings UI for helper commands and token presets
@vercel
Copy link
Copy Markdown

vercel Bot commented Apr 13, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
okcode-marketing Ready Ready Preview Apr 13, 2026 4:13am
v0-compute-the-platform-to-build Ready Ready Preview, Open in v0 Apr 13, 2026 4:13am

@github-actions github-actions Bot added size:XXL vouch:trusted PR author is trusted by repo permissions or the VOUCHED list. labels Apr 13, 2026
@BunsDev BunsDev merged commit 922c436 into main Apr 13, 2026
10 of 11 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

size:XXL vouch:trusted PR author is trusted by repo permissions or the VOUCHED list.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant