SD JWT

TypeScript Supported Node.js Web React Native

What is SD JWT?

"Selective Disclosure for JWT" offers a cutting-edge approach to handling JSON Web Tokens (JWT) in a way that enhances user privacy and data security. In today's digital landscape, the demand for efficient yet secure data transmission is paramount. This project addresses that need by enabling selective disclosure of JWT claims, ensuring that only necessary information is shared.

This is the reference implmentation of IETF SD-JWT specification written in TypeScript. It aims to provide a production-ready, robust and secure way to handle JWTs with selective disclosure capabilities. Easily integrate JWT authentication into your Node.js, web, and React Native projects.

Installation

Currently compliant with: draft-ietf-oauth-selective-disclosure-jwt-07

$ npm install @hopae/sd-jwt

Documentation | Examples | GitHub

Architecture & Core Concept

SD JWT diagram

SD JWT is a TypeScript library that provides a simple, yet powerful API for working with SD JWT. It is designed to be easy to use and flexible, allowing you to issue, present, and verify SD JWT credentials with ease.

Key Features