HTTP basic authentication
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 as “username:password”.
Base64 encode the concatenated username and password value, giving something this: “dXNlcm5hbWU6cGFzc3dvcmQ=”
That string should then be set as the AuthValue property of the Account Connector:
PUT /v1.0/account/connectors/{Account Connector ID}
Authorization Bearer 0000000000000000000000000000000000000000000000000000000000000000
X-Cyclr-Account: 00000000-0000-0000-0000-000000000000
{
"AuthValue": "dXNlcm5hbWU6cGFzc3dvcmQ="
}
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": []
}