# auth0/go-jwt-middleware

A Middleware for Go Programming Language to check for JWTs on HTTP requests

Repository: https://github.com/auth0/go-jwt-middleware
Canonical: https://ross.abutalabs.com/products/go-jwt-middleware
Language: Go
License: MIT
License Family: permissive
Topics: dx-sdk
Last push: 2026-08-25T16:41:15+00:00

## Health v2 (maintenance only)
Score: 94/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 99, release rhythm 83, longevity 100
- inputs: {"age_days": 4283, "days_push": 8, "days_rel": 33, "gap_med": 76, "n_releases_24m": 6}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1205, forks 211 (observed 2026-08-28T04:03:59.178150+00:00)

## What it is
A Go middleware library by Auth0 that validates JSON Web Tokens (JWTs) on incoming HTTP requests, with a framework-agnostic core validator. Version 3 adds gRPC interceptors, functional-options configuration, and JWKS support via lestrrat-go/jwx.

## Use cases
- protect Go HTTP API endpoints with JWT authentication
- validate bearer tokens in Go web requests
- add JWT auth middleware to net/http or gin apps
- verify JWTs from Auth0 in a Go backend
- authenticate gRPC services with JWT interceptors
- validate tokens against a JWKS endpoint in Go

## When to choose
- you need JWT validation middleware for Go HTTP services
- you use Auth0 or another OIDC issuer and need token verification
- you want gRPC and HTTP JWT auth from one library

## When to avoid
- you need to issue or sign JWTs rather than validate them
- you need full OAuth2/OIDC flows, not just token checking
- your stack is not Go

## Facets
- artifact type: library
- maturity: active
- function: middleware, auth, http-server, rpc, security
- domain: web-development, backend, security, apis, developer-tools
- platform: go, cross-platform
- tags: jwt, authentication, grpc, jwks, token-validation, auth0, web-server

## Member repositories
- auth0/go-jwt-middleware (main) score 94

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:03:59.178150+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T06:19:24.591913+00:00, confidence not recorded.
  - readme: https://github.com/auth0/go-jwt-middleware (fetched 2026-08-28T04:03:59.178150+00:00, sha 6d4ac8dd4fa1)
- Data as of 2026-08-30T08:39:29.467469+00:00.
