Once the user is authenticated by the IdP and user claims are sent to the ALB, the ALB should be sending the x-amzn-oidc-* headers to the backends with every request.
Can you confirm if you are checking for headers on the client side or on the server?
Note that the headers are not set on the client side for the responses but are set only on the requests sent to the server. Hence will only be visible on your application side as normal HTTP headers.
If you are still facing issues please provide your ELB name so we can check on our end.
I checked the header from client. When I check my server, I could get x-amzn-oidc-* headers.
Cognito (with google) + Application Load Balancer = 414 Request-URI Too Largeasked 4 months ago
Network Load Balancer Headersasked 5 years ago
how to create multiple ingress port on Amazon EKS using single Application Load Balancerasked 6 months ago
Unable to configure Application Load Balancer using Cognito client App which has no secretAccepted Answerasked a month ago
Application Load Balancer doesn't send user claims in HTTP headersAccepted Answerasked 3 years ago
Load balancer HTTPS to EC2 instance through HTTPasked 3 years ago
Application Load Balancer throws 503 in a post requestasked 2 months ago
Cannot select a target group with alb target type when creating an application load balancerAccepted Answer
Application load balancer blocks websocket connections?
Application Load Balancer loosing requestsasked 5 months ago