appleboy/gin-jwt
JWT Middleware for Gin framework observed · 2026-08-28
Health v2 · maintenance only
91/100
- Activity 97
- Release rhythm 79
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: 26.0
- age_days: 3821
- days_rel: 141
- days_push: 18
- n_releases_24m: 11
Adoption not part of the score
2973 stars · 386 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
A JWT authentication middleware for the Gin web framework in Go, built on golang-jwt/jwt. It provides login handling, token refresh, and role-based authorization with configurable parsing options.
Use cases
- add jwt authentication to a gin api
- implement login and token refresh in go
- protect gin routes with role-based authorization
- support multiple jwt providers in one middleware
- integrate oauth sso with gin
- store jwt tokens in redis for revocation
When to choose
- you use the Gin framework and need JWT auth
- you want battle-tested middleware with active maintenance
- you need flexible claims validation and multi-provider support
When to avoid
- you use a framework other than Gin
- you need a full identity provider or user management system
- your app is not in Go
Facets
library · maturity active
auth middleware security web-development backend security apis go cli jwt gin authentication token-refresh oauth golang web-server
1 source
- readme: https://github.com/appleboy/gin-jwt · fetched 2026-08-28 · fc7d3941c60b
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| appleboy/gin-jwt | main | 91 |
For agents
markdown · JSON · MCP: product_card(name="appleboy/gin-jwt")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem