amondnet/Refresh Claude OAuth Token

Greet someone

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Maintainedlast commit Jun 25, 2025
License
None

Pinned Snippet

workflow.ymlSHA-pinned
uses: amondnet/claude-code-oauth@a9714707615bb9d231c75b06c582da52706b970e # no releases — HEAD as of 2026-07-13

tags can be moved; commit SHAs can't. why a SHA?

namedescriptionrequireddefault
modeThe mode to use for updating the secrets. Can be "repo" or "org".yesrepo
targetThe target repository or organization to update the secrets for. Required if mode is "org".yes""
forceForce refresh the token even if it is still validnofalse
tokenGitHub token with permissions to update secretsyes${{ github.server_url == 'https://github.com' && github.token || '' }}
token_urlThe URL to refresh the OAuth tokenyeshttps://console.anthropic.com/v1/oauth/token
client_idThe client ID for the OAuth applicationyes9d1c250a-e61b-44d9-88ed-5944d1962f5e
access_tokenThe current access tokenyes
refresh_tokenThe current refresh token to use for refreshing the access tokenyes
expires_atThe expiration time of the current access token in milliseconds since epochyes
access_token_secretThe name of the GitHub secret where the access token is storednoCLAUDE_ACCESS_TOKEN
refresh_token_secretThe name of the GitHub secret where the access token is storednoCLAUDE_REFRESH_TOKEN
expires_at_secretThe name of the GitHub secret where the access token is storednoCLAUDE_EXPIRES_AT

no outputs