kong-jwt2header

Converts JWT claims to Headers to allow for Routing by JWT Claim and/or upstream JWT Claim consumption by header

$ luarocks install kong-jwt2header

This Kong Plugin can be used to route requests by JWT claim. It does this by converting JWT claims to headers during rewrite phase so that Kong's route by header functionality can be used to route the request appropriately. Alternatively, the plugin can be used to simply convert JWT claims to headers that can be consumed by the upstream service.

Please note that this plugin does NOT validate JWT tokens. You will still need to use the proper Kong auth plugin (JWT, OIDC, etc.) to do so. This plugin will execute after any authentication plugin is executed.

Plugin supports Kong community and enterprise editions 1.5 and greater.

Versions

1.0-34 years ago5,399 downloads

Dependencies

lua ~> 5.1

Manifests