Support Questions

Find answers, ask questions, and share your expertise

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

avatar
Rising Star

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?

4 REPLIES 4

avatar
Community Manager

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?


Keep the questions coming,

Cy Jervis | Senior Manager, Knowledge Programs

if (helpful) { mark_as_solution(); } | if (appreciated) { give_kudos(); }

avatar
Master Mentor

@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

avatar
Rising Star

Thank you @MattWho 

avatar
Community Manager

@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.


Regards,

Diana Torres,
Senior Community Moderator


Was your question answered? Make sure to mark the answer as the accepted solution.
If you find a reply useful, say thanks by clicking on the thumbs up button.
Learn more about the Cloudera Community: