Traefik JWT auth plugin
Overview
Custom JWT Auth traefik plugin.
Features
- Configure remote JWT Auth endpoint with GuardURL param
- Enable debug mode with Debug param
How It Works
- Intercepts incoming HTTP requests
- Extracts the
Authorizationheader containing a Bearer token - Sends validation request to the configured Guard service with:
- Token URL and service data
Host: identityheaderContent-Type: application/json
- Grants access on
200 OKresponse from Guard service - Returns
403 Forbiddenfor missing tokens or failed validation
Configuration
| Option | Type | Required | Description |
|---|---|---|---|
GuardURL |
string |
Yes | URL of the identity access checker service |
Debug |
bool |
No | Enable debug logging for troubleshooting |