jwt-authentication

Generate app-level JWTs to authenticate GitHub Apps against the API.

3|3|Updated Jan 4, 2026
One-click install
npx skills add https://github.com/adaptive-enforcement-lab/claude-skills --skill jwt-authentication-adaptive-enforcement-lab
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: jwt-authentication
Source: https://github.com/adaptive-enforcement-lab/claude-skills/tree/main/plugins/patterns/skills/jwt-authentication
Command: npx skills add https://github.com/adaptive-enforcement-lab/claude-skills --skill jwt-authentication-adaptive-enforcement-lab

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

JWTs provide app-level authentication for GitHub Apps, enabling installation discovery, app metadata retrieval, and bootstrap workflows to generate installation tokens.

Core Features & Use Cases

  • App-level authentication: Generate short-lived JWTs to authenticate the app itself when calling the GitHub API.
  • Installation discovery: Enumerate installations and retrieve app manifest data.
  • Bootstrap workflows: Generate installation tokens and bootstrap app operations for automation.

Quick Start

Generate a short-lived JWT for your GitHub App using the app ID and private key to bootstrap app-level operations.

Frequently Asked Questions about jwt-authentication

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I generate a JWT for a GitHub App to authenticate against the API?

To generate a JWT for a GitHub App, you need your App ID and private key to create a short-lived token. This authenticates the app for installation discovery, metadata retrieval, and bootstrap workflows via GitHub CLI, manual generation, or Python.

What is app-level JWT authentication used for in GitHub Apps?

App-level JWT authentication is used to authenticate the GitHub App itself when calling the API. It enables installation discovery, app metadata retrieval, and bootstrap workflows to generate installation tokens for automation.

Can I use Python to create GitHub App JSON Web Tokens?

Yes, you can use Python to create GitHub App JSON Web Tokens. The implementation supports Python alongside GitHub CLI and manual JWT generation, requiring your App ID and private key to produce the short-lived token.

What do I need to start generating installation tokens for a GitHub App?

To start generating installation tokens for a GitHub App, you need your App ID and private key. These credentials allow you to generate a short-lived JWT to bootstrap app-level operations and enumerate installations.

Does GitHub CLI support generating JWTs for app authentication?

Yes, GitHub CLI supports generating JWTs for app authentication. It is one of the supported methods alongside manual JWT generation and Python implementations to authenticate your GitHub App and retrieve installation tokens.

Why do I need a private key to generate a JSON Web Token for my GitHub App?

You need a private key to generate a JSON Web Token because it cryptographically signs the short-lived token for your GitHub App. This app-level JWT authenticates the app against the API for installation discovery and bootstrap workflows.