a6-plugin-jwt-auth

Configure Apache APISIX jwt-auth plugin for JWT request authentication.

1|2|Updated Mar 6, 2026
One-click install
npx skills add https://github.com/moonming/a6 --skill a6-plugin-jwt-auth
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: a6-plugin-jwt-auth
Source: https://github.com/moonming/a6/tree/main/skills/a6-plugin-jwt-auth
Command: npx skills add https://github.com/moonming/a6 --skill a6-plugin-jwt-auth

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill simplifies the process of securing your Apache APISIX-managed APIs by enabling robust JSON Web Token (JWT) authentication for your consumers.

Core Features & Use Cases

  • JWT Validation: Authenticate requests by verifying JWT signatures and claims.
  • Flexible Token Lookup: Extract tokens from headers, query parameters, or cookies.
  • Algorithm Support: Supports HMAC, RSA, ECDSA, and EdDSA signing algorithms.
  • Use Case: Protect sensitive API endpoints by ensuring only authenticated users with valid JWTs can access them, integrating seamlessly with your existing authentication providers.

Quick Start

Configure the jwt-auth plugin for a new route to protect it with HS256 token authentication.

Frequently Asked Questions about a6-plugin-jwt-auth

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

FAQPage Schema
How do I configure JWT authentication for Apache APISIX routes?

Configure JWT authentication for Apache APISIX routes by enabling the jwt-auth plugin on your target route, allowing the gateway to validate request tokens and bind credentials to specific consumers for secure API access.

Can I extract JWT tokens from query parameters or cookies in APISIX?

You can extract JWT tokens from query parameters or cookies in APISIX using the jwt-auth plugin's flexible token lookup feature, which also supports extracting tokens from standard HTTP headers.

What signing algorithms are supported for JWT validation in APISIX?

JWT validation in APISIX supports HMAC, RSA, ECDSA, and EdDSA signing algorithms, enabling you to verify token signatures using various cryptographic methods to secure your API gateway.

Does Apache APISIX support stateless API security with JSON Web Tokens?

Apache APISIX supports stateless API security with JSON Web Tokens through the jwt-auth plugin, which authenticates API requests by verifying token signatures and claims without relying on server-side sessions.

How do I protect sensitive API endpoints using APISIX and JWT?

Protect sensitive API endpoints using APISIX and JWT by attaching the jwt-auth plugin to the relevant routes, ensuring only requests with valid, signed JSON Web Tokens can successfully access your backend services.