aws-amplify / aws-amplify/amplify-hosting

Add support for HTTP headers on proxy requests

Open
#184 4 comments 6 reactions 0 assignees View on GitHub
feature-request hosting
Dominant language
Dockerfile
Stars
481
Forks
123
PR merge metrics
No merged PRs in 30d

Description

**Is your feature request related to a problem? Please describe.**
I would like to have relatively "private" connectivity from my Amplify site to my VPC. I am planning on using the ALB OIDC authentication feature, but it would make security happy to ensure only traffic hitting my API is coming from the static site deployed on Amplify Console. This could be used along with #36 for hosting internal apps.

**Describe the solution you'd like**
I would like to be able to include a HTTP header on proxied requests. Then I can use AWS WAF attached to my ALB to validate that it is present.

The ability to use PrivateLink to send traffic to my VPC would be really nice, but I know that's generally more region-based and would be a CloudFront feature request.

Contributor guide

Open the contributing guide

Research direction

No repository files, tests, or entry points are identified in the issue. Start by locating the proxy-request path and reviewing how AWS Amplify forwards requests to an ALB; define done as allowing a configured HTTP header to reach the proxied request for AWS WAF validation.

Written by the indexing model from the issue text.

Assessment

Tech stack
aws
Domain
cloud
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.