Can Oathkeeper support multiple authenticators of ...
# talk-oathkeeper
l
Can Oathkeeper support multiple authenticators of the same type? For instance, if I had two separate OAuth providers, would I be able to specify two handlers of type
oauth_introspections
?
n
you could use oath_introspection twice, however, you would have to provide the token in two different places, once ory matches a given authenticator (meaning, as an example, it finds the header an authenticator is looking for), it will only try that authenticator
even if that authenticator fails, it will not try any others and will immediately fail the request
so you could use
token_from: header: Authorization-Provider1
and another with
token_from: header: Authorization-Provider2
and it should work
👍 1