
Express Oauth2 Jwt Bearer
Auth0's official middleware for protecting Express APIs with JWT Bearer tokens. It handles the entire validation chain: signature verification, audience and issuer checks, expiry validation, and claim extraction. The setup is straightforward if you remember to create an API (not an Application) in the Auth0 dashboard and keep your domain as a hostname without the https:// prefix. Includes helpers for scope-based RBAC with requiredScopes() and claimIncludes(), plus DPoP support if you need proof-of-possession. The skill docs emphasize passing scopes as space-separated strings or arrays, not multiple arguments, which is a common gotcha. Better than rolling your own JWT validation, and the bootstrap script with Auth0 CLI can configure everything automatically.
- skills.sh installs
- 469
- GitHub stars
- 56
- last updated
- Aug 21, 2026
Install
$ npx -y skills add auth0/agent-skills --skill express-oauth2-jwt-bearer --agent claude-codeInstalls into .claude/skills of the current project.
Files
Auth0's official middleware for protecting Express APIs with JWT Bearer tokens. It handles the entire validation chain: signature verification, audience and issuer checks, expiry validation, and claim extraction. The setup is straightforward if you remember to create an API (not an Application) in the Auth0 dashboard and keep your domain as a hostname without the https:// prefix. Includes helpers for scope-based RBAC with requiredScopes() and claimIncludes(), plus DPoP support if you need proof-of-possession. The skill docs emphasize passing scopes as space-separated strings or arrays, not multiple arguments, which is a common gotcha. Better than rolling your own JWT validation, and the bootstrap script with Auth0 CLI can configure everything automatically.
Browse the repository on GitHubSponsors
Details
- Repository
- github.com/auth0/agent-skills
- Categories
- Backend & APIs, AI & Agent Building
- First seen
- Jun 3, 2026
More from auth0/agent-skills
All 23- Auth0 Fastapi Api461
- Auth0 Spa Js434
- Auth0 Flask411
- Acul Screen Generator393
- Auth0 Java Mvc Common388
- Auth0 Springboot Api387
- Auth0 Quickstart2.7K
- Auth0 Nextjs1.6K
- Auth0 React1.5K
- Auth0 React Native963
- Auth0 Express816
- Auth0 Mfa811
- Auth0 Angular762
- Auth0 Vue727
- Auth0 Migration687
- Auth0 Nuxt594
- Auth0 Fastify Api562
- Auth0 Expo555
- Auth0 Fastify555
- Auth0 Aspnetcore Api490
- Auth0 Android482
- Auth0 Swift477