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.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