Skip to main content
AlokKumar
Gold ⭐️
May 5, 2026 6:10 PM UTC
Solved

How to invoke a url in nifi which is protected by oauth2

Hello 
I need to invoke a url which is protected by oauth2. I know to invoke simple apis but not with oauth2. How can we make a flow?

MattWho
MattWhoAnswer
Titanium ⭐️⭐️
May 6, 2026 4:16 PM UTC

@AlokKumar 

You'll want to use the invokeHTTP processor which can be configured to utilize an Oauth2 Access token provider:

Please help our community grow. If you found any of the suggestions/solutions provided helped you with solving your issue or answering your question, please take a moment to login and click "Accept as Solution" on one or more of them that helped.

Thank you,
Matt

4 replies

cjervis
Community Manager
Community Manager
May 6, 2026 2:05 PM UTC

I am not a technical expert, but I wanted to reach out while you await a community response. 

To help the community give you the most accurate guidance, would you mind sharing a few more details about your situation? Which specific version of NiFi and Cloudera are you currently running ? Is this intended for a production-level workload, or are you currently building out a prototype?

Translate
Keep the questions coming
MattWho
Titanium ⭐️⭐️
MattWhoAnswer
Titanium ⭐️⭐️
May 6, 2026 4:16 PM UTC

@AlokKumar 

You'll want to use the invokeHTTP processor which can be configured to utilize an Oauth2 Access token provider:

Please help our community grow. If you found any of the suggestions/solutions provided helped you with solving your issue or answering your question, please take a moment to login and click "Accept as Solution" on one or more of them that helped.

Thank you,
Matt

Translate
AlokKumar
AlokKumarAuthor
Gold ⭐️
May 7, 2026 12:00 PM UTC

Thank you @MattWho 

Translate
DianaTorres
Community Manager
Community Manager
May 8, 2026 3:48 AM UTC

@AlokKumar Has the reply helped resolve your issue? If so, please mark the appropriate reply as the solution, as it will make it easier for others to find the answer in the future. Thanks.

Translate
Regards, Diana Torres, Senior Community Moderator