For Connectors that use HTTP Basic Authentication.
Your user’s username and password will need to be collected by your application then passed to Cyclr as follows:
- Concatenate the username and password values with a colon between them as “username:password”, e.g.:
JohnSmith:p455W0rd
- Base64 encode the concatenated username and password value, giving something this:
Sm9oblNtaXRoOnA0NTVXMHJk
That string should then be set as the AuthValue property of the Account Connector.
Request: #
PUT /v1.0/account/connectors/{Account Connector ID}
Authorization Bearer ********************
X-Cyclr-Account: 00000000-0000-0000-0000-000000000000
{
"AuthValue": "Sm9oblNtaXRoOnA0NTVXMHJk"
}
Response: #
{
"Id": 0,
"Name": "Pipedrive",
"Description": null,
"AuthValue": "dXNlcm5hbWU6cGFzc3dvcmQ=",
"Authenticated": true,
"Connector": {
"Id": 0,
"Name": "Pipedrive",
"Description": "Sales CRM for small teams with big ambitions.",
"Status": "Approved",
"Version": "1.0",
"Icon": null,
"AuthDescription": null,
"AuthType": "Basic",
"OAuth2Type": "Unknown",
"AuthScheme": null
},
"IsPartnerIntegrationConnector": false,
"Properties": [],
"CustomFields": []
}