# dgrijalva/jwt-go

ARCHIVE - Golang implementation of JSON Web Tokens (JWT). This project is now maintained at:

Repository: https://github.com/dgrijalva/jwt-go
Canonical: https://ross.abutalabs.com/products/jwt-go
Homepage: https://github.com/golang-jwt/jwt
Language: Go
License: MIT
License Family: permissive
Archived: true
Last push: 2021-11-04T09:15:13+00:00

## Health v2 (maintenance only)
Score: 10/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 0, release rhythm 35, longevity 100
- inputs: {"age_days": 5251, "days_push": 1763, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_releases, archived
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 10734, forks 974 (observed 2026-08-28T04:10:43.948762+00:00)

## What it is
A Go library for creating, signing, parsing, and verifying JSON Web Tokens (JWTs), supporting HMAC, RSA, RSA-PSS, and ECDSA signing algorithms. The repository is archived and no longer maintained; development continues in the golang-jwt/jwt fork.

## Use cases
- sign and verify JWTs in a Go application
- issue bearer tokens for OAuth2 authentication
- parse and validate JWT claims from HTTP requests
- implement token-based auth for a Go API
- add custom signing methods to JWT handling

## When to choose
- you are maintaining a legacy codebase already pinned to dgrijalva/jwt-go
- you need a reference implementation of the original JWT library

## When to avoid
- you are starting a new Go project - use golang-jwt/jwt instead
- you need security fixes or ongoing maintenance
- you need Ed25519 or newer JWT features

## Facets
- artifact type: library
- maturity: abandoned
- function: auth, cryptography, serialization
- domain: security, web-development, developer-tools
- platform: go, cross-platform
- tags: jwt, json-web-tokens, token-signing, oauth2, archived, use-golang-jwt-jwt

## Member repositories
- dgrijalva/jwt-go (main) score 10

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:10:43.948762+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-29T17:17:55.655833+00:00, confidence not recorded.
  - readme: https://github.com/dgrijalva/jwt-go (fetched 2026-08-28T04:10:43.948762+00:00, sha fbed49cea487)
  - homepage: https://github.com/golang-jwt/jwt (fetched 2026-08-29T08:16:54.049300+00:00, sha 8dbb4498f997)
- Data as of 2026-08-30T08:39:29.467469+00:00.
