membphis commented on a change in pull request #1224: support base64 secret for
jwt auth
URL: https://github.com/apache/incubator-apisix/pull/1224#discussion_r404568113
##########
File path: apisix/plugins/jwt-auth.lua
##########
@@ -35,6 +38,10 @@ local schema = {
enum = {"HS256", "HS384", "HS512", "RS256", "ES256"}
},
exp = {type = "integer", minimum = 1},
+ base64_secret = {
Review comment:
we need to check `secret` value if `base64_secret` is true.
It should be a valid base64 encoded string.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services