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-1202 days ago(revision: 3)1,744 downloads
1.1-1203 days ago(revision: 3)308 downloads
1.0-1263 days ago223 downloads
0.7-01 year ago2,432 downloads
0.6-01 year ago543 downloads
0.5-42 years ago1,348 downloads
0.4-42 years ago890 downloads
0.3-72 years ago236 downloads
0.3-63 years ago296 downloads
0.3-53 years ago13 downloads
0.3-43 years ago29 downloads
0.3-33 years ago7 downloads
0.3-23 years ago4 downloads
0.3-13 years ago135 downloads
0.2-13 years ago25 downloads
0.1-13 years ago5 downloads

Manifests