By using AWS re:Post, you agree to the Terms of Use

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?