Return a custom header from lambda authorizer in API-gateway (HTTP api)


I'm using an API-Gateway HTTP-api (not REST!) with a custom lambda authorizer. However I'd like to be able to customize the HTTP headers returned on authentication failure. This seems possible with the REST-api (, but can't get this working with the HTTP-api.

Is this somehow possible?

2 Answers

Short answer is no, for now. I've tried too but the response integration is not even processed when the authorizer rejects with 403.

profile pictureAWS
answered a year ago

I am trying to add a custom lambda authorization using CFT to my HTTP api, It would be great if you can help me with it. question:

answered 6 months 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.

Guidelines for Answering Questions