Getting authentication data from AWS ALB

I have okta integrated with AWS ALB, which passes the authentication data (x-amzn-oidc-data/accesstoken), however, i’m not able to get it from headers using streamlit, I have tried st.context.headers (streamlit 1.38), but it only get some of the headers. Also tried using nginx to forward x-amzn-oidc-data to the port that streamlit is running on without success.

my streamlit app is running on an ec2 instance. and i want to get the email of the user from okta for some downstream tasks. I believe I have set up the ALB correctly, because when i run a simple flask app to print the headers, i can see the needed information (x-amzn-oidc-*)