express-oauth2-jwt-bearer

Official

Secure Express APIs with JWT Bearer validation.

Authorauth0
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill enables secure authentication for Node.js Express APIs by validating Auth0 JWTs and applying RBAC with scopes or permissions, including support for DPoP and proper CORS handling.

Core Features & Use Cases

  • Express middleware for JWT Bearer validation using express-oauth2-jwt-bearer
  • RBAC via requiredScopes and claimIncludes for permissions
  • Optional DPoP support and configurable validation options
  • Guidance for global or per-route protection and error handling

Quick Start

Install the express-oauth2-jwt-bearer package, configure the auth() middleware with issuerBaseURL and audience, and apply it to your routes to protect endpoints.

Dependency Matrix

Required Modules

None required

Components

references

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: express-oauth2-jwt-bearer
Download link: https://github.com/auth0/agent-skills/archive/main.zip#express-oauth2-jwt-bearer

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.