./authaz-labs

jose libraries

Top JWT, JWE, JWK & JWKS libraries for every language

lang:

Showing 33 of 33 libraries

.NET

$dotnet add package System.IdentityModel.Tokens.Jwt

Microsoft's official JWT handler for .NET — used in ASP.NET Core authentication

HS256HS384HS512RS256RS384RS512ES256ES384ES512PS256PS384PS512
signverifyclaim-validationjwkskey-generation
$dotnet add package Microsoft.IdentityModel.JsonWebTokens

Newer Microsoft JWT API with improved performance over System.IdentityModel

HS256HS384HS512RS256RS384RS512ES256ES384ES512PS256PS384PS512
signverifyclaim-validationjwkskey-generation
$dotnet add package ScottBrady.IdentityModel

Extends Microsoft.IdentityModel with EdDSA (Ed25519) and extra algorithm support

EdDSAES256RS256
signverifykey-generation

Elixir

Elixirguardian
3.5k
${:guardian, "~> 2.3"}

Authentication framework for Elixir using JWT — built on top of JOSE

HS256HS384HS512RS256RS384RS512ES256ES384ES512
signverifyclaim-validation
Elixirjoken
800
${:joken, "~> 2.6"}

Most popular Elixir JWT library with token config DSL and claim validation

HS256HS384HS512RS256RS384RS512ES256ES384ES512PS256PS384PS512EdDSA
signverifyclaim-validation
Elixirjose
320
${:jose, "~> 1.11"}

Full JOSE implementation for Erlang/Elixir — JWS, JWE, JWK, JWT, JWA

HS256HS384HS512RS256RS384RS512ES256ES384ES512PS256PS384PS512EdDSA
signverifyencryptdecryptjwkskey-generation

Go

$go get github.com/golang-jwt/jwt/v5

Community-maintained fork of dgrijalva/jwt-go — most popular Go JWT library

HS256HS384HS512RS256RS384RS512ES256ES384ES512PS256PS384PS512EdDSA
signverifyclaim-validation
2.3k
$go get github.com/go-jose/go-jose/v4

Full JOSE implementation for Go — JWS, JWE, JWK (originally by Square)

HS256HS384HS512RS256RS384RS512ES256ES384ES512PS256PS384PS512EdDSA
signverifyencryptdecryptjwkskey-generation
$go get github.com/lestrrat-go/jwx/v2

Complete JOSE stack for Go — JWA, JWK, JWS, JWE, JWT with excellent test coverage

HS256HS384HS512RS256RS384RS512ES256ES384ES512PS256PS384PS512EdDSA
signverifyencryptdecryptjwksclaim-validationkey-generation

Java

Javajjwt
10.2k
by jwtkactive
$<dependency> <groupId>io.jsonwebtoken</groupId> <artifactId>jjwt-api</artifactId> <version>0.12.6</version> </dependency>

Java JWT library with a fluent builder API — most starred Java JWT project

HS256HS384HS512RS256RS384RS512ES256ES384ES512PS256PS384PS512EdDSA
signverifyencryptdecryptclaim-validationkey-generation
5.8k
by auth0active
$<dependency> <groupId>com.auth0</groupId> <artifactId>java-jwt</artifactId> <version>4.4.0</version> </dependency>

Simple and lightweight JWT library for Java and Android by Auth0

HS256HS384HS512RS256RS384RS512ES256ES384ES512
signverifyclaim-validation
$<dependency> <groupId>com.nimbusds</groupId> <artifactId>nimbus-jose-jwt</artifactId> <version>9.47</version> </dependency>

Comprehensive JOSE and JWT library for Java — the most complete Java implementation

HS256HS384HS512RS256RS384RS512ES256ES384ES512PS256PS384PS512EdDSA
signverifyencryptdecryptjwksclaim-validationkey-generation

JavaScript / TypeScript

17.8k
by auth0active
$npm install jsonwebtoken

Most popular Node.js JWT implementation for signing and verifying tokens

HS256HS384HS512RS256RS384RS512ES256ES384ES512PS256PS384PS512
signverifyclaim-validation
JS/TSjose
6.2k
by panvaactive
$npm install jose

Universal JOSE library for Node.js, Deno, Bun, Cloudflare Workers, and browsers

HS256HS384HS512RS256RS384RS512ES256ES384ES512PS256PS384PS512EdDSA
signverifyencryptdecryptjwksclaim-validationkey-generation
3.2k
by auth0active
$npm install jwt-decode

Lightweight library to decode JWTs without verification (client-side use)

Kotlin

Kotlinjava-jwt
5.8k
by auth0active
$implementation("com.auth0:java-jwt:4.4.0")

Auth0's lightweight JWT library — fully compatible with Kotlin projects

HS256HS384HS512RS256RS384RS512ES256ES384ES512
signverifyclaim-validation
$implementation("com.nimbusds:nimbus-jose-jwt:9.47")

Full JOSE library for Kotlin/JVM — complete JWS, JWE, JWK, JWT support

HS256HS384HS512RS256RS384RS512ES256ES384ES512PS256PS384PS512EdDSA
signverifyencryptdecryptjwksclaim-validationkey-generation
20
$implementation("com.github.niclas9787:kotlin-jwt:1.0.0")

Kotlin-native JWT library for simple token creation and validation

HS256HS384HS512RS256
signverify

PHP

$composer require firebase/php-jwt

Simple PHP library for encoding and decoding JSON Web Tokens

HS256HS384HS512RS256RS384RS512ES256ES384EdDSA
signverifyjwks
$composer require lcobucci/jwt

Framework-agnostic PHP JWT library with a fluent builder interface

HS256HS384HS512RS256RS384RS512ES256ES384ES512EdDSA
signverifyclaim-validation
$composer require web-token/jwt-framework

Full JOSE framework for PHP — complete JWS, JWE, JWK, and JWT implementation

HS256HS384HS512RS256RS384RS512ES256ES384ES512PS256PS384PS512EdDSA
signverifyencryptdecryptjwksclaim-validationkey-generation

Python

PythonPyJWT
5.1k
$pip install PyJWT

Most widely used Python library for encoding and decoding JSON Web Tokens

HS256HS384HS512RS256RS384RS512ES256ES384ES512PS256PS384PS512EdDSA
signverifyclaim-validationjwks
1.5k
$pip install python-jose

JOSE implementation supporting JWS, JWE, JWK, and JWT with multiple backends

HS256HS384HS512RS256RS384RS512ES256ES384ES512
signverifyencryptdecryptclaim-validation
Pythonjwcrypto
450
$pip install jwcrypto

Full JOSE stack for Python maintained by Red Hat — JWS, JWE, JWK, JWT

HS256HS384HS512RS256RS384RS512ES256ES384ES512PS256PS384PS512EdDSA
signverifyencryptdecryptjwkskey-generation

Ruby

3.6k
by jwtactive
$gem install jwt

Most popular Ruby JWT implementation with broad algorithm support

HS256HS384HS512RS256RS384RS512ES256ES384ES512PS256PS384PS512EdDSA
signverifyclaim-validationjwks
320
by novactive
$gem install json-jwt

Ruby library supporting JWS, JWE, JWK, and JWT — used in OpenID Connect libraries

HS256HS384HS512RS256RS384RS512ES256ES384ES512
signverifyencryptdecryptjwkskey-generation
Rubyjws
50
$gem install jws

Minimal Ruby JWS implementation focused on simplicity

HS256HS384HS512RS256RS384RS512
signverify

Rust

1.7k
by Keatsactive
$cargo add jsonwebtoken

Most popular Rust crate for creating and verifying JSON Web Tokens

HS256HS384HS512RS256RS384RS512ES256ES384PS256PS384PS512EdDSA
signverifyclaim-validationkey-generation
130
$cargo add biscuit

JOSE library for Rust supporting JWS, JWE, and JWK (not biscuit-auth)

HS256HS384HS512RS256RS384RS512ES256ES384ES512
signverifyencryptdecryptjwks
100
$cargo add josekit

Full JOSE toolkit for Rust — JWS, JWE, JWK, and JWT support

HS256HS384HS512RS256RS384RS512ES256ES384ES512PS256PS384PS512EdDSA
signverifyencryptdecryptjwkskey-generation

Swift

650
by vaporactive
$.package(url: "https://github.com/vapor/jwt.git", from: "5.0.0")

JWT signing and verification for the Vapor server-side Swift framework

HS256HS384HS512RS256RS384RS512ES256ES384ES512EdDSA
signverifyclaim-validationjwks
230
$.package(url: "https://github.com/Kitura/Swift-JWT.git", from: "4.0.0")

JWT library for Swift originally developed by IBM for the Kitura framework

HS256HS384HS512RS256RS384RS512ES256ES384ES512PS256PS384PS512
signverifyclaim-validation
200
$.package(url: "https://github.com/airsidemobile/JOSESwift.git", from: "3.0.0")

Full JOSE framework for iOS and macOS — JWS, JWE, JWK support

HS256RS256RS384RS512ES256ES384ES512PS256
signverifyencryptdecryptjwkskey-generation