jeremydaly / jeremydaly/lambda-api
Redirect and Remove Authorization Header
Open
@naorpeled is already working on this.
Since Feb 3, 2023.
- Dominant language
- JavaScript
- Stars
- 1.5k
- Forks
- 127
- Avg merge
- 31m
- Merged PRs (30d)
- 2
Description
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.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.