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 auth
If you are not checking scope at OAuth Scopes in method execution block of API gateway it will only take id-token.
OAuth Scopes
id-token
Once you will have set OAuth scope restriction on request it will start taking access token automatically.