# golang-jwt/jwt

Go implementation of JSON Web Tokens (JWT).

Repository: https://github.com/golang-jwt/jwt
Canonical: https://ross.abutalabs.com/products/jwt
Homepage: https://golang-jwt.github.io/jwt/
Language: Go
License: MIT
License Family: permissive
Topics: go, golang, jwt, auth, ed25519, security
Last push: 2026-08-01T09:16:15+00:00

## Health v2 (maintenance only)
Score: 78/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 95, release rhythm 44, longevity 100
- inputs: {"age_days": 1933, "days_push": 32, "days_rel": 217, "gap_med": 115, "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 9212, forks 443 (observed 2026-08-28T04:10:28.932934+00:00)

## What it is
A Go library for creating, signing, parsing, and verifying JSON Web Tokens (JWTs) per RFC 7519. It is the community-maintained successor to dgrijalva/jwt-go, supporting HMAC, RSA, RSA-PSS, ECDSA, and EdDSA signing algorithms.

## Use cases
- issue and sign JWTs in a Go web service
- validate Bearer tokens for OAuth 2.0 authentication
- parse and verify JWT claims in middleware
- sign tokens with Ed25519 or ECDSA keys
- migrate from the deprecated dgrijalva/jwt-go library

## When to choose
- you need JWT support in a Go application
- you want a well-maintained, community-backed fork of jwt-go
- you need flexible signing algorithms including EdDSA
- you need strict token validation controls

## When to avoid
- you need full JOSE features like JWE encryption (this library only does JWS signing)
- you are not working in Go
- you need a complete identity provider or OAuth server rather than a token library

## Facets
- artifact type: library
- maturity: stable
- function: auth, cryptography, serialization, security
- domain: security, backend, developer-tools, apis
- platform: go, cross-platform
- tags: jwt, json-web-tokens, oauth2, bearer-tokens, ed25519, token-signing, token-validation, rfc7519

## Member repositories
- golang-jwt/jwt (main) score 78

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:10:28.932934+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:23:17.326389+00:00, confidence not recorded.
  - readme: https://github.com/golang-jwt/jwt (fetched 2026-08-28T04:10:28.932934+00:00, sha 6453675f65e0)
  - homepage: https://golang-jwt.github.io/jwt/ (fetched 2026-08-29T08:23:07.662452+00:00, sha 842119be70c6)
- Data as of 2026-08-30T08:39:29.467469+00:00.
