Skip to main content
spartakus
Bronze ⭐️⭐️⭐️
December 9, 2025
Question

NiFi OIDC Authentication Behind Proxy – How to Configure?

We need to set up OIDC authentication in Apache NiFi. However, our OIDC provider is only reachable through an HTTP/HTTPS proxy. How can we configure NiFi to use this proxy when performing OIDC authentication? Are there specific properties that must be added to nifi.properties or any additional configuration required so that NiFi accesses the OIDC provider through the proxy?
Thank you for your response 

2 replies

vafs
Gold ⭐️⭐️⭐️
Gold ⭐️⭐️⭐️
December 10, 2025

Hello @spartakus, 

Thanks for being part of our community. 

I do not see any specific way to configure OIDC through a proxy natively. 
As far as I know, no properties have been designed for that. 

I was searching and an option you can try is using the bootstrap options to forward all HTTP and HTTPS requests to proxy, that would include the OIDC too, but you need to confirm if this would affect your flows or not: 

-Dhttp.proxyHost=proxy.myproxy.com 
-Dhttp.proxyPort=8080
-Dhttps.proxyHost=proxy.myproxy.com
-Dhttps.proxyPort=8080
Translate
Regards, Andrés Fallas -- Was your question answered? Please take some time to click on "Accept as Solution" below this post. If you find a reply useful, say thanks by clicking on the thumbs-up button.
vafs
Gold ⭐️⭐️⭐️
Gold ⭐️⭐️⭐️
December 10, 2025

Hi again @spartakus, 

Adding more information, as mentioned, natively, it looks like it's not supported. 
But here there is a Jira that explains the behavior and some steps they made: 
https://issues.apache.org/jira/browse/NIFI-6152 

Translate
Regards, Andrés Fallas -- Was your question answered? Please take some time to click on "Accept as Solution" below this post. If you find a reply useful, say thanks by clicking on the thumbs-up button.