> is it possible to configure a proxy directive in the metadataprovider tag in shibboleth2.xml? Yes, you want the TransportOption there is an example here [1] https://shibboleth.atlassian.net/wiki/spaces/SP3/pages/2065335485/CURLTransport