Is there a way to do OAuth with Salesforce Input? #4653
Replies: 3 comments 1 reply
-
First of all: it's not a stupid question, don't know why it would be. |
Beta Was this translation helpful? Give feedback.
-
Captured feature request: Support OAuth Authentication for Salesforce Input/Output #4657 |
Beta Was this translation helpful? Give feedback.
-
There is a way to do OAuth using the native javascript 'jsrsasign' libraries. We used it where we needed a JWT token in order to authenticate to a rest server.
That's the most awkward part and works really well to get JWT tokens. You'd need other coding if you want to get other sorts of tokens - but the good thing is that the library will handle most OAuth methods. Hope that helps a bit. |
Beta Was this translation helpful? Give feedback.
-
Hi,
New to Hop, our Salesforce Organization has disabled direct SOAP Login call which works based on username and password and only allows OAuth for all Authentication.
We have Salesforce Connected App & OAuth setup and can generate token from Postman. I can see that I can do a standalone REST client call to generate a usable bearer token, so can I subsequently interject this Bearer Token as SOAP Header "sessionID" to Salesforce Input or will I need to do my own Web Services Lookup or REST Client?
Salesforce Article for reference: https://developer.salesforce.com/blogs/developer-relations/2011/03/oauth-and-the-soap-api
Apologies in advance if this sounds like a stupid question :)
Thanks!
Beta Was this translation helpful? Give feedback.
All reactions