Skip to content

I can not see cognito Authorizer

0

i'm following building server less web application module ( https://aws.amazon.com/getting-started/hands-on/build-serverless-web-app-lambda-apigateway-s3-dynamodb-cognito/module-4/ ) everything was working fine till i reach module 4 but in Create a new resource method in this i create REST api and next step was to choose method request. next Select the WildRydes Cognito user pool authorizer from the drop-down list I can not see cognito Authorizer

2 Answers
0
Accepted Answer

Please check if you have the Authorizer configured under the Authorizers section on the left pane for the API. The cognito userpool will need to be selected along with the header name which would carry the authorization token. Once the Authorizer is configured, go to the API Method and pick the Authorization from the drop down(refresh the page incase if you don't see the Authorizer yet). The link below has more details on creating the Authorizer at API Gateway.

https://docs.aws.amazon.com/apigateway/latest/developerguide/apigateway-enable-cognito-user-pool.html

AWS

answered 3 years ago

0

I think is a poor UI experience which I had also for other authorizers and is caused by the fact that you create authorizer and then go straight to the API GW page where you want to associated.

y workaround has been to just refresh the page, and the authorizer should show up.

EXPERT

answered 3 years ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.