Showing results for 
Search instead for 
Did you mean: 

Get Bearer token via OAuth1 in SnapLogic

New Contributor II

Hi all,

currently, we are trying to build a pipeline that communicate with another API through REST. For authentication, we need to get the Bearer token through calling POST request to: {endpoint}/token, using Authorization OAuth1.0.
On postman, the setup will be as follow:
Bildschirm­foto 2022-11-18 um 16.30.36
Bildschirm­foto 2022-11-18 um 16.32.05

In the Authorization tab, the Signature_Method is set as “HMAC-SHA256”, then client_id and client_secret is provided. The “Encode the parameters in the Authorization header” box is also select. I don’t know how can we setup the same in SnapLogic, as I used Digest.sha256() seems not the correct way to create signature with “HMAC-SHA256”. Besides, I tried with creating REST OAuth1 and OAuth2 account, but both needs authorization endpoint etc, and not serving our scenario. Does anyone know if it is possible to perform the same action in SnapLogic? Thank you in advanced.
Best regards