JSON Connector with JWT
I’m hoping to pull in some data from Prisma, they have a pretty standard API pass a username and password to /login get back a JWT token and then put that token in all further calls in a custom header field and have to login again after 10 mins.
The main API is JSON (with quite a few arrays inside arrays)
I notice a couple of things missing
- The file upload function doesn’t support JSON so I can test if Domo can consume the data easily
- The JSON connector doesn’t seem to support JWT tokens
Has anyone managed to achieve either of these as it seems pretty standard stuff.
Thanks in advance.
Answers
-
Alongside this thread and awaiting the advice of the technical adept users, reach out to Support [support.domo.com] to have them look at it as well (and escalate to Dev if need be).
6 -
It sounds like you're needing to do some custom processing and handle JWT tokens so the JSON Connector won't really solve your problems. You'll likely need to write a custom connector to communicate with your API endpoint. This does have the ability to generate JWT tokens, you'd just need to write the code to process the JSON request and responses and managing the JWT. I'd recommend taking a look at the developer portal for more information: https://developer.domo.com/docs/custom-connectors/connector-dev-studio
Here's more reference documentation for a more technical synopsis: https://developer.domo.com/docs/custom-connectors/reference
**Was this post helpful? Click Agree or Like below**
**Did this solve your problem? Accept it as a solution!**0 -
I agree with the idea that there needs to be a new JSON No Code (JWT) connector to supplement the standard connector and the OAuth connector. I'm actually running into this same requirement and making a custom connector or using Jupyter/python seems like overkill for something that is pretty standard from a JSON/API perspective
0 -
I second this request. I use the JSON No Code connector all the time, and I have data sources that require JWT authentication be refreshed via API call before fetching the data.
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