Hi guys,
Is it possible to have multiple, alternative authentication plugins securing the same API?
For example, allow both Basic Auth and JWT authentication, depending on what credentials you have.
- Authentication: “Basic Something”, Basic Authentication will verify and oidc will ignore
- Authentication: “Bearer Something”, Basic Authentication will ignore and oidc will verify
If the above way is not possible, can I use the two authentication plugin in the OR condition for the same API, without using consumers?