Pierre, I'm no OAuth expert but maybe you could have a flow that hits the OAuth service for a token (scheduled for the same duration as the token lifetime), then stores it in a DistributedMapCache, then your other flows can fetch the token for the desired operations? Alternatively, if you are to provide a callback for the OAuth service, you could point it at a HandleHttpRequest endpoint for further processing.
Andy LoPresto (my go-to guru for all things security, and recently-named committer to Apache NiFi) can probably make better recommendations on this (sorry in advance if I'm feeding you to the wolves ALP ;) Regards, Matt On Fri, Apr 1, 2016 at 3:33 PM, Pierre Villard <[email protected]> wrote: > Hi guys, > > I'm working on a new flow and I'd need to use OAuth for some HTTP > requests. Is there something available for this? Or a recommended way to > get the job done with existing processors? > > Thanks! > Pierre >
