Oauth 1.0 identification in flow?

#1

Hi there !

I’m trying to integrate a Saas solution in my flow, and i need to authenticate with this solution in order to retrieve its json datas.

This authentication is a Oauth 1.0 authentication, but i don’t know how to write the js code in order to code this authentication. Do you have pre-built parameters (in which i could write the consumer token, consumer secret etc parameters) in order to authenticate with this webservice through Oauth 1.0 ? ?

thank you in advance,

regards

(Sarah Palombo) #2

Hey ! :wave:

The first step here is to make sure you have an idea of how to make a request (ideally an example of what the request should look like)

Once you know what a successful request should look like, I’d say you’ve possibly got two options to make a request using Flow XO.

  • Making a HTTP Request - which will let you transfer information onto other services through simple HTTP posts
  • Or by using the Code Service - Which allows custom JavaScript to be executed and the result passed back into the flow

Read those guides and once you’ve decided which option, just create a sample by using either services above.

Hope that helps !

Sarah :slight_smile:
.

#3

Hi,

thank you for the answer, but this does not help me : i know i have to make a http request, but in order to do this i would first need to authenticate with the webservice with Oauth 1.0 method.
So this is my question : is there any pre-build parameters to authenticate with Oauth 1.0 method in Flowxo ?
if not, any advice to do this ?

thank you,

regards

(John Jackson) #4

Oauth 1.0 is just a protocol, everything happens over HTTP requests. You can send any headers you need to use Oauth with our HTTP method.

I can’t help you with what requests to send though unfortunately, you’d have to figure that out.