title: As a client app, how do I get the 'x-amzn-oidc-*' headers forwaded to me from Amazon Load Balancers (ALB)?
body: <p>I'm planning on setting up ALB (Amazon Load Balancer) for authentication. It'll sit in front of my client app and only forward authenticated requests with the access_token and user claim jwt's as headers, <code>x-amzn-oidc-accesstoken</code> + <code>x-amzn-oidc-data</code> respectively [0].</p>
  <p>My client application will need to capture these forwarded headers and store them in localStorage for accessing other AWS resources in later requests (ex. S3).</p>
  <p>If I'm the client app receiving the ALB request, how would I intercept these headers? Would they come in as a request or response?</p>
  <p>[0] See step #10 in the diagram: <a href="https://www.exampleloadbalancer.com/auth_detail.html" rel="noreferrer">https://www.exampleloadbalancer.com/auth_detail.html</a></p>