Missing Authentication Token while accessing API Gateway?

前端 未结 18 1462
既然无缘
既然无缘 2020-12-08 12:51

I am trying to call a Lambda Function through AWS API Gateway. When I mention Authentication type NONE it works fine but API become public and anyone with url can access my

18条回答
  •  野趣味
    野趣味 (楼主)
    2020-12-08 13:06

    I've lost some time for a silly reason:

    When you create a stage, the link displayed does not contain the resource part of the URL:

    API URL: https://1111.execute-api.us-east-1.amazonaws.com/dev

    API + RESOURCE URL https://1111.execute-api.us-east-1.amazonaws.com/dev/get-list

    The /get-list was missing

    And of course, you need to check that the method configuration looks like this:

提交回复
热议问题