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.6K Connect
- 1.2K Connectors
- 300 Workbench
- 6 Cloud Amplifier
- 9 Federated
- 2.9K Transform
- 102 SQL DataFlows
- 626 Datasets
- 2.2K Magic ETL
- 3.9K Visualize
- 2.5K Charting
- 754 Beast Mode
- 61 App Studio
- 41 Variables
- 693 Automate
- 178 Apps
- 456 APIs & Domo Developer
- 49 Workflows
- 10 DomoAI
- 38 Predict
- 16 Jupyter Workspaces
- 22 R & Python Tiles
- 398 Distribute
- 115 Domo Everywhere
- 276 Scheduled Reports
- 7 Software Integrations
- 130 Manage
- 127 Governance & Security
- 8 Domo Community Gallery
- 38 Product Releases
- 11 Domo University
- 5.4K Community Forums
- 40 Getting Started
- 30 Community Member Introductions
- 110 Community Announcements
- 4.8K Archive