Injecting headers using CloudFlare Access

Hello,

I’m trying to put an app (Kubernetes Dashboard) behind CloudFlare Access to enable zero trust. This app expects an “Authorization” header containing the user’s id_token from the JWT. (We’re using Okta as our IdP and our users authenticate to CF Teams via OIDC.)

How can I pull id_token out of the user’s JWT and inject it into an Authorization header while proxying connections for this app?

Thanks,
Jeffrey

1 Like