# golang-jwt

> Go implementation of JSON Web Tokens

Source: https://talira.ai/catalog/golang-jwt-vrx9b81w
Every listing: https://talira.ai/catalog.md

- Kind: Open source
- Types: Library
- Categories: [security / auth / libraries](https://talira.ai/categories/security/auth/libraries)
- Licence: MIT[^1]
- Pricing: Free and open source[^1]
- Free tier: yes[^1]
- Supports: [JWT](https://talira.ai/standards/jwt.md)[^2]
- Backed by: [golang-jwt](https://talira.ai/orgs/golang-jwt.md)

golang-jwt (jwt-go) is a Go library for JSON Web Tokens: it parses and verifies JWTs and generates and signs them, with HMAC-SHA, RSA, RSA-PSS, ECDSA and EdDSA signing and hooks for adding your own. A team of maintainers cloned it from the original dgrijalva/jwt-go to keep it maintained, adding Go module support while staying compatible with the old import path's v3 tags; v5 brought major improvements to token validation. It is MIT licensed.

## Links

- Website: https://golang-jwt.github.io/jwt/
- GitHub: https://github.com/golang-jwt/jwt
- Docs: https://golang-jwt.github.io/jwt/

## Problems it solves

- issue and check JSON Web Tokens in my Go API
- verify a bearer token from an identity provider in Go
- replace the unmaintained dgrijalva/jwt-go in my Go project

## Features

- parse and verify JWTs
- generate and sign JWTs
- HMAC-SHA, RSA, RSA-PSS, ECDSA and EdDSA signing
- hooks for custom signing methods

## Trust

Overall: 0.58 out of 1.
Signals: maintenance 0.65, adoption 0.79, momentum 0.65, community 0.84, backing 0.30, extensibility 0.00.

- last commit 20 days ago
- 8 commits in the last 90 days
- latest release v5.3.1 10 months ago
- 9.3k GitHub stars
- 123 contributors
- has a company behind it

## Alternatives

- [go-oidc](https://talira.ai/catalog/go-oidc-zpr4vmkx.md): OpenID Connect client for Go's golang.org/x/oauth2

## Sources

[^1]: https://github.com/golang-jwt/jwt/blob/main/LICENSE (checked 28 Nov 2026)
[^2]: https://github.com/golang-jwt/jwt (checked 28 Nov 2026)
