Nested key claim name #7277
meysam81
started this conversation in
Ideas and feature requests
Replies: 2 comments
-
+1 I have the exact same issue. |
Beta Was this translation helpful? Give feedback.
0 replies
-
I ended up modifying the underlying source code in the docker container, committing it, and reusing it in my future deployments. here's my modification: In the docker container, open the following file: replace the following code: local jwt_secret_key = claims[conf.key_claim_name] or header[conf.key_claim_name] with this one: local jwt_secret_key = claims[conf.key_claim_name] or header[conf.key_claim_name] or (claims["CUSTOM_KEY"] and claims["CUSTOM_KEY"][conf.key_claim_name]) |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I want to know how one can use nested jwt payload in kong?
imagine I have the following payload:
now if I would like to say that my key_claim_name is going to be
level1.level2
it says that's not possible through the following error:Beta Was this translation helpful? Give feedback.
All reactions