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.9K Product Ideas
- 1.9K Ideas Exchange
- 1.6K Connect
- 1.3K Connectors
- 303 Workbench
- 6 Cloud Amplifier
- 9 Federated
- 3K Transform
- 104 SQL DataFlows
- 640 Datasets
- 2.2K Magic ETL
- 4K Visualize
- 2.5K Charting
- 769 Beast Mode
- 72 App Studio
- 43 Variables
- 718 Automate
- 185 Apps
- 462 APIs & Domo Developer
- 57 Workflows
- 14 DomoAI
- 40 Predict
- 17 Jupyter Workspaces
- 23 R & Python Tiles
- 402 Distribute
- 116 Domo Everywhere
- 277 Scheduled Reports
- 9 Software Integrations
- 135 Manage
- 132 Governance & Security
- 8 Domo Community Gallery
- 44 Product Releases
- 12 Domo University
- 5.4K Community Forums
- 40 Getting Started
- 30 Community Member Introductions
- 111 Community Announcements
- 4.8K Archive