Documentation
¶
Overview ¶
Generates a signed JSON Web Token (JWT) for the Devsy GitHub App.
GitHub App authentication requires a JWT signed with the app's RSA private key using the RS256 algorithm, carrying the registered claims:
- iss: the GitHub App client ID (prefer the client ID string; the numeric app ID is accepted as a legacy fallback)
- iat: issued-at time, backdated 60 seconds to tolerate clock drift
- exp: expiration, 10 minutes after JWT generation (GitHub's maximum)
See the GitHub docs on generating a JWT for a GitHub App: https://docs.github.com/en/apps/creating-github-apps/authenticating-with-a-github-app/ generating-a-json-web-token-jwt-for-a-github-app
Click to show internal directories.
Click to hide internal directories.