Skip to content

How to Allow Either JWT or API Key to Pass Authentication #14052

Answered by Oyami-Srk
s35241607 asked this question in Help
Discussion options

You must be logged in to vote

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.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@s35241607
Comment options

Answer selected by s35241607
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Help
Labels
None yet
2 participants