Skip to content

feat: Support pre-signed JWT for GitHub App authentication#3344

Open
u-kai wants to merge 2 commits into
integrations:mainfrom
u-kai:feat/app-auth-jwt-direct
Open

feat: Support pre-signed JWT for GitHub App authentication#3344
u-kai wants to merge 2 commits into
integrations:mainfrom
u-kai:feat/app-auth-jwt-direct

Conversation

@u-kai

@u-kai u-kai commented Apr 17, 2026

Copy link
Copy Markdown

Resolves #3317


Before the change?

  • GitHub App authentication required a PEM private key file (pem_file), meaning the
    private key had to be stored in the CI/CD environment.

After the change?

  • app_auth now accepts a jwt field as an alternative to pem_file.
  • Users can generate and sign the GitHub App JWT externally and pass it directly to the provider.
  • Exactly one of pem_file or jwt must be set (ExactlyOneOf validation).
  • The GITHUB_APP_JWT environment variable can be used to supply the JWT.

Pull request checklist

  • Docs have been reviewed and added / updated if needed (for bug fixes / features)

Does this introduce a breaking change?

Please see our docs on breaking changes to help!

  • Yes
  • No

@github-actions

Copy link
Copy Markdown

👋 Hi! Thank you for this contribution! Just to let you know, our GitHub SDK team does a round of issue and PR reviews twice a week, every Monday and Friday! We have a process in place for prioritizing and responding to your input. Because you are a part of this community please feel free to comment, add to, or pick up any issues/PRs that are labeled with Status: Up for grabs. You & others like you are the reason all of this works! So thank you & happy coding! 🚀

u-kai added 2 commits May 26, 2026 21:36
Signed-off-by: u-kai <76635578+u-kai@users.noreply.github.com>
Signed-off-by: u-kai <76635578+u-kai@users.noreply.github.com>
@u-kai u-kai force-pushed the feat/app-auth-jwt-direct branch from 98b761b to abb69fe Compare May 26, 2026 12:39
@u-kai u-kai marked this pull request as ready for review May 26, 2026 12:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Type: Feature New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[FEAT]: Support external KMS signing for GitHub App JWT authentication

1 participant