Get custom response from lambda authorizer of API Gateway (HTTP API)

943 Views Asked by At

I am trying to get a custom response from lambda authorizer for API gateway (HTTP API). Apart from checking cognito token we have added custom validations and expect to add the reason for the failure in the response. We have added error response in context but couldn't find a way to add it in the response. We just get "403 Forbidden" message. Does anyone have any solution for this?

0

There are 0 best solutions below