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.
But when i try enabling the authorization in the api it says "message": "Unauthorized".
Please check below screenshot
API Gateway Console Screenshot - This works fine
Postman Screen shot - Not working
Can someone help please.
FYI I have followed the instructions as mentioned here http://docs.aws.amazon.com/apigateway/latest/developerguide/apigateway-integrate-with-cognito.html
In my case, authorization code should be id_token
. I made a mistake for using access_token
instead