I am using an external OIDC provider to authentify my users.
That provider communicates in its Authorization Http Header some values I would like to reuse during the authorization phase of Jupyterhub.
Currently my Jupyterhub use its internal http-proxy.
Jupyterhub is also configured with the GenericOAuthenticator to authorize the users.
I tried to override the “check_allowed” method to authorize users with my specific rules based on the content of the Authorization http header sent by my external OIDC provider.
However, the original Authorization http header doesn’t seem to be forwarded by the internal jupyterhub http-proxy.
Is there a specific configuration to implement to access the Authorization header sent by an external OIDC provider ?
Thanks for any help.