jdye64 / nifi-addons

Additional convenience processors not found in core Apache NiFi
91 stars 49 forks source link

Salesforce.com Authentication Controller Service #4

Open fojcikr opened 7 years ago

fojcikr commented 7 years ago

Hi, I've added the Salesforce processors to NiFi. When I'm trying to configure DescribeGlobalProcessor I'm getting the following error while creating a new service

No controller service types found that are applicable for this property.

I am able to configure the SalesforceUserPassAuthenticationService Controller Service, but I am not able to reference it in any component. That's in Nifi 1.3.0.

In Nifi 0.7.4 I am able to reference the Service in components, but I'm getting another error (quite similar though)

Salesforce.com Authentication Controller Service validated against [UUID] is invalid because Invalid Controller Service: [UUID] is not a valid Controller Service Identifier or does not reference the correct type of Controller Service

Any idea what might be wrong?

jdye64 commented 7 years ago

Hi @fojcikr I apologize for just now seeing this. I think you might be more interested in https://github.com/apache/nifi/pull/2085/commits/7a0618d801805f8bc56390f0d86b38ce7697f118 at this point. I know Salesforce offers many different mechanisms for OAuth 2 grant types. Which one in particular are you wanting to use? The link is for Client Credentials but I plan on adding the other 3 possible types outlined by the IETF in the coming weeks.

fojcikr commented 7 years ago

Hi @jdye64
Thanks for your reply. I might give it a try. For now I managed to make it work with the InvokeHTTP processor. It looks like it's enough for OAuth2 authorization and other REST calls, especially when using with the execute script processor.

analytically commented 6 years ago

Having a similar issue with Nifi 1.7.1, "Incompatible Controller Service Configured".