OAuth
Get URL for OAuth flow
Generate a URL for the browser to render to kick off OAuth flow.
POST
/
oauth-connect
Body
application/json
providerWorkspaceRef
string
The identifier for the provider workspace
projectId
string
requiredThe Ampersand project ID.
groupRef
string
requiredThe ID that your app uses to identify the group of users for this Connection, this can be an Org ID, workspace ID, etc.
groupName
string
The display name for the group. Defaults to groupRef if not provided.
consumerRef
string
requiredThe ID that your app uses to identify the user whose SaaS credential will be used for this OAuth flow.
consumerName
string
The display name for the consumer. Defaults to consumerRef if not provided.
providerAppId
string
ID of the provider app (e.g. Salesforce connected app), returned from a CreateProviderApp call. If omitted, the default provider app that was set up on the Ampersand Dashboard is assumed.
provider
string
requiredThe provider that this app connects to.
Response
200 - text/plain
URL to render