-
Hi everyone, I'm currently using KONG as my API Gateway, and I have a requirement to allow both JWT and API Key authentication on the same Route, where passing either one would be sufficient. However, I encountered some issues. Here are the two approaches I've tried so far, but neither worked as expected: Enabling both JWT and key-auth plugins on the same Route, but this requires both to pass authentication, which is not what I need. Thanks in advance for your help! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
The second approach is correct. According to the documentation, setting anonymous will make a |
Beta Was this translation helpful? Give feedback.
The second approach is correct. According to the documentation, setting anonymous will make a
OR
logic.You may want to use the Request Termination plugin to disallow the anonymous user from accessing.