wshirey / kong-plugin-jwt-claims-headers Goto Github PK
View Code? Open in Web Editor NEWA Kong plugin that will add JWT claims as request headers
License: MIT License
A Kong plugin that will add JWT claims as request headers
License: MIT License
Is it normal that signature is not checked ?
I need to add this line in the handler.lua in order to run this plugin: local ngx_re_gmatch = ngx.re.gmatch
Do you create this function synonym somewhere else?
nice work! i'm considering using your plugin for a project i'm working on. was hoping you might add a license.
Hi everyone. I encountered this problem when I installed it, show me how to solve it. please.
[4/4] RUN luarocks make:
#7 0.248
#7 0.249 kong-plugin-jwt-claims-headers 1.0-2 depends on lua ~> 5.1 (5.1-1 provided by VM)
#7 0.254
#7 0.254 Error: Build error: Failed installing handler.lua in /usr/local/lib/luarocks/rocks-5.1/kong-plugin-jwt-claims-headers/1.0-2/lua/kong/plugins/jwt-claims-headers/handler.lua: handler.lua: No such file or directory
My docker file
FROM kong:2.3.2
USER root
COPY ./plugins/kong-plugin-jwt-claims-headers /custom-plugins/kong-plugin-jwt-claims-headers
WORKDIR /custom-plugins/kong-plugin-jwt-claims-headers
RUN luarocks make
USER kong
In the readme it says continue_on_error's default is true, even though it is set to false in the actual code.
hello @wshirey
when i try to use this in kong ingress controller below exception is occured
jwt-claims-headers map[] false 0a36ec9f-b691-4df1-8aca-9a1a488c1a05 } in service c4aaa532-4254-4dd1-a20a-ba0b7755c19c: json: cannot unmarshal string into Go struct field Plugin.config of type v1.Configuration
the kongplugin resource config is below
apiVersion: configuration.konghq.com/v1
kind: KongPlugin
metadata:
name: key-jwt-header
labels:
plugin: "jwt-claims-headers"
is that anything additional to work with kong ingress?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.