Credential Account Operations
A connector must provide an endpoint allowing Unito to retrieve information on the provider account associated with
the currently authenticated user.
This endpoints is defined by the credentialAccountRelativeUrl property of the configuration file.
Empty
On success, it must returns a CredentialAccount.
{
"id": "johndoe_1",
"displayName": "John Doe",
"partition": "https://my-domain.provider.com",
"domains": ["my-domain.provider.com"]
}
domains lists the full domain names of the provider web app where this account browses its items, without scheme or
port. Unito reads them to find the credentials that may hold an item when a user pastes a URL from their browser.
Return full names, not a parent domain such as salesforce.com, for example
["acme.my.salesforce.com", "acme.lightning.force.com"], or ["app.asana.com"] when the domain is the same for every
account. A leading *. matches any single label, for example *.lightning.force.com, when the account cannot know its
exact domain.