lambda-api icon indicating copy to clipboard operation
lambda-api copied to clipboard

Redirect and Remove Authorization Header

Open JustinLutsky opened this issue 5 years ago • 2 comments
trafficstars

What's the correct way to remove the authorization header from being passed along with a redirect? This is what I'm doing now:

        res.removeHeader('authorization').redirect(signedUrl);

Which doesn't seem to work. My original Authorization header is being passed along causing the redirect to a signed s3 url to fail.

JustinLutsky avatar Mar 22 '20 22:03 JustinLutsky

I have the same issue, did you find any solution?

AlisonVilelaTenchi avatar Jun 28 '21 19:06 AlisonVilelaTenchi

@jeremydaly

AlisonVilelaTenchi avatar Jun 28 '21 19:06 AlisonVilelaTenchi