Skip to content

Add --client-id flag#73

Open
elovelan wants to merge 2 commits into
Link-:mainfrom
elovelan:client-id-flag
Open

Add --client-id flag#73
elovelan wants to merge 2 commits into
Link-:mainfrom
elovelan:client-id-flag

Conversation

@elovelan

Copy link
Copy Markdown

GitHub now recommends using the client ID as the JWT iss claim instead of the app ID.

Introduces --client-id as a new flag with --app-id supported for backwards-
compatibility. If both are provided, --client-id is used.

Tests and docs updated.

Also updates the workflow example to match GitHub's example of using a variable instead of a secret for the client ID, since it isn't a sensitive value.

@elovelan
elovelan marked this pull request as draft July 16, 2026 19:24
elovelan added 2 commits July 16, 2026 15:27
Per https://docs.github.com/en/apps/creating-github-apps/authenticating-with-a-github-app/generating-a-json-web-token-jwt-for-a-github-app#generating-a-json-web-token-jwt,
GitHub now recommends using the client ID as the JWT `iss` claim instead of the
app ID.

Introduce `--client-id` as a new flag with `--app-id` supported for backwards-
compatibility. If both are provided, `--client-id` is used.
@elovelan
elovelan marked this pull request as ready for review July 16, 2026 19:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant