Browse/GitHub/GitHub App JWT Auth
GitHub App JWT Auth
GitHub
$19 · Pro
Authenticate as a GitHub App by signing a JWT with its private key.
github-app-jwt-auth.ts
const appJwt = jwt.sign(claims, privateKey, { algorithm: "RS256" });
Unlock the full snippet
This is a Pro snippet — get all-access for $19, or unlock just this one snippet for $1.
GitHub App JWT Auth — GitHub Example (TypeScript, Node, Python, Go, PHP, Ruby) | apiexamples