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.7K Product Ideas
- 1.7K Ideas Exchange
- 1.5K Connect
- 1.2K Connectors
- 292 Workbench
- 4 Cloud Amplifier
- 8 Federated
- 2.8K Transform
- 95 SQL DataFlows
- 602 Datasets
- 2.1K Magic ETL
- 3.7K Visualize
- 2.4K Charting
- 697 Beast Mode
- 43 App Studio
- 39 Variables
- 658 Automate
- 170 Apps
- 441 APIs & Domo Developer
- 42 Workflows
- 5 DomoAI
- 32 Predict
- 12 Jupyter Workspaces
- 20 R & Python Tiles
- 386 Distribute
- 111 Domo Everywhere
- 269 Scheduled Reports
- 6 Software Integrations
- 113 Manage
- 110 Governance & Security
- 8 Domo University
- 30 Product Releases
- Community Forums
- 39 Getting Started
- 29 Community Member Introductions
- 98 Community Announcements
- Domo Community Gallery
- 4.8K Archive