Support Questions

Find answers, ask questions, and share your expertise
Announcements
Now Live: Explore expert insights and technical deep dives on the new Cloudera Community BlogsRead the Announcement

NiFi OIDC Authentication Behind Proxy – How to Configure?

avatar
Explorer

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 2

avatar
Expert Contributor

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

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.

avatar
Expert Contributor

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 


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.