I have users authenticating using cognito user pool. The application uses OAUTH2 style authentication to get a id token which then gets passed to a API gateway cognito authorizer.
I would like to also have users to just pass in their access key/secret key, without them really logging in to cognito.
How would I get a authorizer that can handle both scenarios?