Proxy in front of OIDC configuration Azure Entra App

Hi,

We are running Elastic with an ECK Operator in Openshift.
The namespace that Elastic is running on has strict network access in and out.
Let's say we have an OIDC configuration with an Azure Entra App.
Is it possible to add a proxy between Elastic and the URL's being called in the OIDC configuration (login.microsoftonline.com, sts.windows.net, etc)?

For example, adding an environment variable ES_JAVA_OPTS with proxy configuration. When the OIDC endpoints are being called, it should go through the proxy where we have whitelisted the given OIDC URL's.

Is this achievable?

There are proxy settings for the OIDC realm.
See