Integrate a basic auth protected API with AWS API Gateway

Viewed 344

I have a legacy API which is Basic Auth protected. I created in AWS Gateway a HTTP API and added the legacy API endpoint integration. Now when I try to add the "Authorization" header to provide the basic auth credentials I get an error saying "Invalid mapping expression specified: Validation Result: warnings : [], errors : [Operations on header authorization are restricted]".

How do I provide the basic auth infos in AWS API Gateway?

0 Answers
Related