cancel
Showing results forย 
Search instead forย 
Did you mean:ย 

Get Bearer token via OAuth1 in SnapLogic

nluu
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

0 REPLIES 0