1 Answer
- Newest
- Most votes
- Most comments
0
Have a look at this: https://repost.aws/knowledge-center/api-gateway-401-error-lambda-authorizer, as it could be issues with configuration or usage/lack of tokens.
Also double check whether you resource policy may have a role into this.
There is no issue with the authorizer. It works fine. I just want to find a way to manipulate the unauthorized response body
Relevant content
- asked a year ago
- AWS OFFICIALUpdated 9 months ago
- AWS OFFICIALUpdated 8 months ago
- AWS OFFICIALUpdated 9 months ago
Please see this answer: https://repost.aws/questions/QUgItZ7VFcS1iQ5wKGeU4YqA/is-it-possible-to-throw-custom-error-message-from-api-gateway-lambda-authorizer#ANzTchiZpUSxOKbWntArRonw