Thalhammer/jwt-cpp
A header only library for creating and validating json web tokens in c++ observed · 2026-08-28
Health v2 · maintenance only
67/100
- Activity 75
- Release rhythm 37
- 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: 335
- age_days: 3229
- days_rel: 205
- days_push: 153
- n_releases_24m: 2
Adoption not part of the score
1160 stars · 311 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
jwt-cpp is a header-only C++11 library for creating and validating JSON Web Tokens (JWT). It supports all standard signature algorithms (HMAC, RSA, ECDSA, PSS, EdDSA) with a modular design that allows adding custom algorithms.
Use cases
- create and sign JWTs in a C++ application
- validate and decode JWT tokens for API authentication
- verify JWT signatures with RSA or ECDSA keys
- add token-based auth to a C++ web service
- decode JWT claims without verification
- support Ed25519 signed tokens in C++
When to choose
- you need JWT support in a C++ project without adding compiled dependencies
- you need all standard JWT signature algorithms including EdDSA and ES256K
- you want a header-only library that integrates with your existing JSON library
When to avoid
- you are working in another language like Python, Go, or JavaScript
- you need a full OAuth2/OpenID Connect client rather than just JWT handling
- you need token issuance/revocation infrastructure rather than a signing library
Facets
library · maturity stable
auth cryptography serialization security developer-tools web-development apis cpp cross-platform windows jwt header-only c++11 token-validation jws rfc7519 linux macos
2 sources
- readme: https://github.com/Thalhammer/jwt-cpp · fetched 2026-08-28 · 9a14f4826d6a
- homepage: https://thalhammer.github.io/jwt-cpp/ · fetched 2026-08-29 · 1cb3f7eabe84
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| Thalhammer/jwt-cpp | main | 67 |
For agents
markdown · JSON · MCP: product_card(name="Thalhammer/jwt-cpp")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem