Hi,

I am using NiFi invokeHttp processor to send the data to some other third
party server. The third party server is oauth2 protected, so I need to
login and get the JWT token after getting it, invoke http needs to add it
in header *'Authorization:"JWTtoken"'* before sending to third-party server
and refresh it when it expires.

When I went through NiFi invokehttp processor it does not have any option
for oauth2 flow options.

During search I got few links oauth
<https://gist.github.com/pvillard31/c2926fdcff57b017a771d2d1acdb5cba>, this
is very big flow to get a token which is adding more nifi processor stuffs
, and nifi-jira <https://github.com/apache/nifi/pull/2085> link shows there
is some Jira ticket on the same but I could not find same in recent NiFi.
Hence is there a better flow to handle oauth2 when sending the data to
other third party server.

Regards

Indra

Reply via email to