okoala

okoala/koa-jwt2

koa middleware that validates a JsonWebToken (JWT) and sync with express/jwt

JavaScript
14
1
MIT License

koa-jwt2 is a Koa middleware for validating JSON Web Tokens (JWTs) in Node.js applications, designed for developers building protected API endpoints. It authenticates HTTP requests using JWTs, typically issued via OpenID Connect, and attaches the decoded token to `ctx.state.user` for use in authorization and access control. The middleware supports features like custom token extraction, multi-tenancy with dynamic secrets, revoked token checks, and flexible configuration for audience, issuer, and token properties.

Total donated
Undistributed
Share with your subscribers:

Recipients

How the donated funds are distributed

Support the dependencies of okoala/koa-jwt2

Account's avatar
Higher-order functions and common patterns for asynchronous code
Account's avatar
JSON Web Token implementation (symmetric and asymmetric)
Account's avatar
Conditionally add a middleware to Koa with some common patterns.
Account's avatar
egg developer tool
Account's avatar
Generate a changelog from git metadata.
Account's avatar
simple, flexible, fun test framework

Support the repos that depend on okoala/koa-jwt2

Top contributors

okoala's profile
okoala
7 contributions

Recent events

Kivach works on the Obyte network, and therefore you can track all donations.

No events yet