My question is more in line of designing the webhook architecture with Amazon Cognito. I came up with following design after going through hasura's documentation on webhook auth. Is it feasible? Note: AWS lambda is behind API gateway with Authorization enabled.
Now,
- Don't you think its overhead for app to authenticate as well as hasura for every request?
- Can this be achieved without lambda in between hasura and cognito?
- Can hasura provide the authentication based on user credentials to the app and webhook to verify that in the Cognito?
Thank for your feedbacks.