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

Support the repos that depend on this repository

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