title: AWS Api Gateway Authorizer + Cognito User Pool Not Working {"message": "Unauthorized"}
body: <p>I am trying to use aws api gateway authorizer with cognito user pool. It is working fine when i test using aws api gateway console. </p>
  
  <p>But when i try enabling the authorization in the api it says <code>"message": "Unauthorized".</code> Please check below screenshot</p>
  
  <p>API Gateway Console Screenshot - This works fine
  <a href="https://i.stack.imgur.com/Qt5iB.png" rel="noreferrer"><img src="https://i.stack.imgur.com/Qt5iB.png" alt="enter image description here"></a></p>
  
  <p>Postman Screen shot - Not working
  <a href="https://i.stack.imgur.com/3WB2U.jpg" rel="noreferrer"><img src="https://i.stack.imgur.com/3WB2U.jpg" alt="enter image description here"></a></p>
  
  <p>Can someone help please.</p>
  
  <p>FYI I have followed the instructions as mentioned here <a href="http://docs.aws.amazon.com/apigateway/latest/developerguide/apigateway-integrate-with-cognito.html" rel="noreferrer">http://docs.aws.amazon.com/apigateway/latest/developerguide/apigateway-integrate-with-cognito.html</a></p>