-
Notifications
You must be signed in to change notification settings - Fork 22
Open
Description
Hi,
I'm trying to integrate Anthropic OAuth authentication into my own application using this package's approach.
I've copied the OAuth flow implementation with:
- Client ID:
9d1c250a-e61b-44d9-88ed-5944d1962f5e - Scopes:
org:create_api_key user:profile user:inference user:sessions:claude_code - PKCE: S256 code challenge
- Redirect URI:
http://localhost:41539/callback
However, I'm consistently getting a 400 Invalid request format error from claude.ai/oauth/authorize.
Questions:
- Is this OAuth client ID registered only for OpenCode's specific redirect URIs?
- Can third-party applications use this package/client ID with their own redirect URIs?
- Or do we need to register our own OAuth application with Anthropic?
I couldn't find any public documentation on registering OAuth applications with Anthropic, so I'm wondering if this is only available to whitelisted partners.
Thanks for any clarification!
bontaq
Metadata
Metadata
Assignees
Labels
No labels