How to connect to Reltio through domo
![Gulam](https://us.v-cdn.net/6032830/uploads/defaultavatar/nZ5X977MOM3Z6.jpg)
Hi Team,
I am trying to connect to Reltio via api connector. Since the connector is not available in repository I am trying to build it manually.
Connecting to reltio consists of calling an API with username and password. The API uses a basic authentication with base64 encoded Authorization header. Also the URL consists of query parameters like username , password and grantType.
I am using the below script, but it is not working. Can you please help me in this:
Script:
//This logging is here for testing! Remove before publishing your connector
DOMO.log('metadata.account.username: ' + metadata.account.username);
DOMO.log('metadata.account.password: ' + metadata.account.password );
var encodedData = DOMO.b64EncodeUnicode(metadata.account.username + ':' + metadata.account.password);
var metadata.account.user = 'requisite username';
var metadata.account.pass = 'requisite password';
httprequest.addHeader('Authorization', 'Basic ' + encodedData);
var res = httprequest.get('https://auth.reltio.com/oauth/token?username=' + metadata.account.user&'password=' + metadata.account.pass&'grant_type=password');
if(res.indexOf('Account.Name') > 0){
auth.authenticationSuccess('Success');
} else {
auth.authenticationFailed('Failed');
}
Comments
-
Hi Team,
Any updates on this?
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
- 105 SQL DataFlows
- 643 Datasets
- 2.2K Magic ETL
- 4K Visualize
- 2.5K Charting
- 771 Beast Mode
- 74 App Studio
- 43 Variables
- 721 Automate
- 185 Apps
- 463 APIs & Domo Developer
- 59 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