feat: Support using Claude Pro and Max subscription#41
Open
averypelle wants to merge 5 commits intoanthropics:mainfrom
Open
feat: Support using Claude Pro and Max subscription#41averypelle wants to merge 5 commits intoanthropics:mainfrom
averypelle wants to merge 5 commits intoanthropics:mainfrom
Conversation
Author
|
I noticed that this was working last week but now the server is rejecting the token with 401 saying that OAuth clients are not yet supported |
|
hearing back from upstream on viability of this option would be greatly appreciated! and thank you @averypelle for preparing this PR |
deepank-atlas
added a commit
to atlas-support-inc/claude-code-security-review
that referenced
this pull request
Feb 18, 2026
Cherry-picked from anthropics#41. Adds claude-code-oauth-token input as an alternative to claude-api-key, enabling authentication via Claude Pro/Max subscription OAuth tokens. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
|
Any reason this has no further reviews and hasn't been merged? |
I think the reason is 💵 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Allow using Claude Pro and Max plans for this GitHub action. Set the claude-code-auth-token param instead of claude-api-key to use. Note that OAuth will take precedence over API key when both are present.
I have tested this on my private repositories and confirmed that it was able to use my token. Please let me know what else you may need in order to complete this PR! Thank you for the great work on Claude Code and this repo!
This should address issues #5 and #3.
Tagging @ddworken and @petery-ant for review since you both recently contributed to the repo. Let me know if I should be adding someone else instead.