Commit Graph

17 Commits

Author SHA1 Message Date
罗泽轩
fd2db606a9
feat: rewrite handwriting validation with jsonschema (#3021)
Fix #2967. Some plugins can't be rewritten, so I have to keep them.

Signed-off-by: spacewander <spacewanderlzx@gmail.com>
2020-12-18 16:55:23 +08:00
罗泽轩
44855ec1a7
ci: make it work under OpenResty 1.19 (#2768) 2020-11-30 10:32:35 +08:00
tzssangglass
53a8f5a2ed
fix: the jwt plugin does not handle the case where exp is empty. (#… (#2657)
fix #2649
2020-11-09 11:01:08 +08:00
罗泽轩
2ad7f65659
fix(jwt-auth): validate if the claimed secret is base64 encoded. (#2642) 2020-11-06 23:48:21 +08:00
tzssangglass
27875e5790
feat(jwt-auth): support to use of the RS256 algorithm (#2594)
* example for #2523

* fix: jwt-auth plugin RS256 algorithm is not easy to use. (#2523)

fix: add more test cases for jwt plugin. (#2355)

fix #2523

fix #2355
2020-11-06 10:16:20 +08:00
JinChen
61bcb18885
fix: jwt-auth add consumer_schema to the _M (#2555)
Signed-off-by: Jaycean <jinchen_jacean@163.com>
2020-10-29 14:37:13 +08:00
罗泽轩
9500a8219a
change(jwt-auth): split schema to adapt different occasions (#2459)
Close #2288.
2020-10-26 20:26:11 +08:00
罗泽轩
ca91387a60
test: fix regex usage in some cases (#1504) 2020-04-26 10:43:08 +08:00
paoying
c91da997eb
feature(jwt-auth): support base64 secret for jwt-auth plugin. (#1224) 2020-04-08 09:34:14 +08:00
YuanSheng Wang
fbb9bd039c
bugfix: checked consumer first, it maybe a boolean value when it was beed deleted. (#1139) 2020-02-20 15:23:30 +08:00
Lien
fba93d389e plugin(JWT): JWT authentication plugin compatible with Bearer prefix (#1027) 2020-01-07 10:34:33 +08:00
WenMing
12a2b01b71
license: add ASF header. (#743) 2019-10-31 09:27:28 +08:00
jackstraw
de1492911e bugfix: fix the wrong "method" restriction in plugin's inner api. 2019-10-30 10:41:14 +08:00
YuanSheng Wang
d06fbfa13c change: used lua-resty-jsonschema instead of lua-rapidjson. (#703) 2019-10-23 12:58:10 +08:00
YuanSheng Wang
de3c95da21
feature: support consumer bind plugins. (#544)
* feature: saved consumer plugin information.
* feature: supported to merge plugin with consumer and route.
2019-09-22 06:05:58 +08:00
Yuansheng
4bb40df857 change(test): name style. 2019-09-10 10:07:29 +08:00
Yuansheng
efadc91c03 feature: supported JWT plugin and added test cases. 2019-07-25 00:17:24 +08:00