Our Community is getting an upgrade! To get everything ready for the relaunch, we’ll be placing the site in read-only mode starting September 21st.
We really appreciate your understanding while we get things set up behind the scenes. Catch up on all the exciting details about the move here.
Need help or have questions? Drop us a line at [email protected]

Support Questions

Find answers, ask questions, and share your expertise
Announcements
Share your experience with Cloudera on G2 and get a $25 Amazon Gift card.
Hi, I'm CLEO! Something exciting is coming to the Community. Stay Tuned!

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
Master Collaborator

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
Master Collaborator

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.