title: Hasura webhook auth with Amazon Cognito
body: <p>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.</p>
  
  <p><a href="https://i.stack.imgur.com/j7Kcx.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/j7Kcx.png" alt="enter image description here"></a></p>
  
  <p>Now,</p>
  
  <ul>
  <li>Don't you think its overhead for app to authenticate as well as hasura for every request?</li>
  <li>Can this be achieved without lambda in between hasura and cognito?</li>
  <li>Can hasura provide the authentication based on user credentials to the app and webhook to verify that in the Cognito?</li>
  </ul>
  
  <p>Thank for your feedbacks.</p>