Pulling Data From an API Using a Hashed Signature for Auth
I'm trying to pull data from an API into DOMO.
The API is using an apiSignature for Auth. The apiSignature is created using using an HMAC_SHA256 hash of a date string using a private key.
A new apiSignature is created for each request using a current date string.
The apiSignature, date string, and public key are then sent along with each request.
I'm currently trying to figure out the best way to get this data into DOMO.
Connectors don't support this type of authentication. I've thought about trying to create a connector with `no auth` selected and creating the apiSignature in the data processing script to pass along with requests. However, this sems like a hack and, from what I can tell, you can't pull js libraries into the data processing script. I'm not super excited to write my own HMAC_SHA256 implementation.
I've looked a little bit at the Workbench but, it doesn't appear to be meant to make API calls to get data...
I haven't looked too hard at the DataSet API. Maybe my answer lies there? Anybody know and have direction there?
The only other option I've thought of is to write up a proxy api that uses an auth scheme supported by Connectors that just makes these requests and passes them along to the Connector. I'd rather not have to create and support that service if I don't have to though.
Any suggestions or direction?
Comments
-
Hi,
Is anyone able to help out with this request?
Thanks0 -
I've figured out that I want to be using the DataSet API...
0
Categories
- All Categories
- 1.8K Product Ideas
- 1.8K Ideas Exchange
- 1.5K Connect
- 1.2K Connectors
- 300 Workbench
- 6 Cloud Amplifier
- 8 Federated
- 2.9K Transform
- 100 SQL DataFlows
- 616 Datasets
- 2.2K Magic ETL
- 3.9K Visualize
- 2.5K Charting
- 738 Beast Mode
- 57 App Studio
- 40 Variables
- 685 Automate
- 176 Apps
- 452 APIs & Domo Developer
- 47 Workflows
- 10 DomoAI
- 36 Predict
- 15 Jupyter Workspaces
- 21 R & Python Tiles
- 394 Distribute
- 113 Domo Everywhere
- 275 Scheduled Reports
- 6 Software Integrations
- 124 Manage
- 121 Governance & Security
- 8 Domo Community Gallery
- 38 Product Releases
- 10 Domo University
- 5.4K Community Forums
- 40 Getting Started
- 30 Community Member Introductions
- 108 Community Announcements
- 4.8K Archive