Our certificate cannot be validated while configuring authentication.
Hi everyone.
We are in the process of building a custom connector, but we haven't managed to configure our user authentication.
We are using the API Key for this matter, and based on DOMO's documentation, our authentication test code looks like this:
//This logging is here for testing! Remove before publishing your connector
DOMO.log('metadata.account.apiKey: ' + metadata.account.apikey);
// Adding the api key in the query parameter
httprequest.addParameter('key',metadata.account.apikey);
// Making the call to the api endpoint
var res = httprequest.get('https://ourserver');
DOMO.log(res)
// Make sure to determine and set the authentication status to either success or failure.
if (httprequest.getStatusCode() == 200) {
auth.authenticationSuccess();
} else {
auth.authenticationFailed('The api key you entered is invalid. Please try again with a valid key.');
}
DOMO.log(res) returns the following error:
"PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target"
It seems that there's a problem validating our certificate. We manage to reach the API using Postman, and our certificate is not self-generated; it's generated by a trusted authority.
Has anybody faced the same problem we are experiencing?
Thanks in advance.
Alejandro.
Best Answer
-
Sounds like a potential Domo backend issue. I’d recommend reaching out to the third party connect team at connectorhelp@domo.com and see if they can help assist you.
**Was this post helpful? Click Agree or Like below**
**Did this solve your problem? Accept it as a solution!**1
Answers
-
Sounds like a potential Domo backend issue. I’d recommend reaching out to the third party connect team at connectorhelp@domo.com and see if they can help assist you.
**Was this post helpful? Click Agree or Like below**
**Did this solve your problem? Accept it as a solution!**1 -
Thanks a lot, Grant. We will reach the Connect team as suggested.
I will post the issue's solution once we are able to fix it.
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
- 693 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