{"repo":"cristalhq/jwt","free":true,"listed":false,"github":"https://github.com/cristalhq/jwt","clone":"git clone https://github.com/cristalhq/jwt.git","description":"Safe, simple and fast JSON Web Tokens for Go","language":"Go","stars":689,"topics":["jwt","jwt-token","jwt-claims","dependency-free","go","golang","golang-library","jose","jws","jwk"],"license":"MIT","category":"auth-billing-email","readme_excerpt":"jwt [![build-img]][build-url] [![pkg-img]][pkg-url] [![reportcard-img]][reportcard-url] [![coverage-img]][coverage-url] [![version-img]][version-url] JSON Web Token for Go RFC 7519, also see jwt.io for more. The latest version is v5 . Rationale There are many JWT libraries, but many of them are hard to use (unclear or fixed API), not optimal (unneeded allocations + strange API). This library addresses all these issues. It's simple to read, to use, memory and CPU conservative. Features Simple API. Clean and tested code. Optimized for speed. Concurrent-safe. Dependency-free. All well-known algorithms are supported HMAC (HS) RSA (RS) RSA-PSS (PS) ECDSA (ES) EdDSA (EdDSA) or your own! See GUIDE.md for more details. Install Go version 1.17+ Example Build new token: Parse and verify token: Also see examples: example test.go. Documentation See [these docs][pkg-url]. License MIT License. [build-img]: https://github.com/cristalhq/jwt/workflows/build/badge.svg [build-url]: https://github.com/cristalhq/jwt/actions [pkg-img]: https://pkg.go.dev/badge/cristalhq/jwt/v5 [pkg-url]: https://pkg.go.dev/github.com/cristalhq/jwt/v5 [reportcard-img]: https://goreportcard.com/badge/cristalhq/jwt [reportcard-url]: https://goreportcard.com/report/cristalhq/jwt [coverage-img]: https://codecov.io/gh/cristalhq/jwt/branch/main/graph/badge.svg [coverage-url]: https://codecov.io/gh/cristalhq/jwt [version-img]: https://img.shields.io/github/v/release/cristalhq/jwt [version-url]: https://github.com/cristalh","default_branch":null,"files":null,"tree":[],"storefront":"/r/cristalhq","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/cristalhq/jwt/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}