kong-upstream-jwt

A plugin for Kong which adds a signed JWT to HTTP Headers of outgoing requests

$ luarocks install kong-upstream-jwt

API Providers require a means of cryptographically validating that requests they receive were: A. proxied by Kong, and B. not tampered with during transmission from Kong -> API Provider. This token accomplishes both as follows:

1. **Authentication** & **Authorization** - Provided by means of JWT signature validation. The API Provider will validate the signature on the JWT token (which is generating using Kong's RSA x509 private key), using Kong's public key. This public key can be maintained in a keystore, or sent with the token - provided API providers validate the signature chain against their truststore.
2. **Non-Repudiation** - SHA256 is used to hash the body of the HTTP Request Body, and the resulting digest is included in the `payloadhash` element of the JWT body. API Providers will take the SHA256 hash of the HTTP Request Body, and compare the digest to that found in the JWT. If they are identical, the request remained intact during transmission.

Versions

1.2-11 day ago(revision: 3)36 downloads
1.1-11 day ago(revision: 3)306 downloads
1.0-162 days ago199 downloads
0.7-01 year ago2,430 downloads
0.6-01 year ago541 downloads
0.5-41 year ago1,346 downloads
0.4-42 years ago888 downloads
0.3-72 years ago234 downloads
0.3-62 years ago294 downloads
0.3-52 years ago11 downloads
0.3-42 years ago27 downloads
0.3-32 years ago5 downloads
0.3-22 years ago2 downloads
0.3-12 years ago133 downloads
0.2-12 years ago23 downloads
0.1-12 years ago3 downloads

Manifests