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
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.
consumerRef
string
requiredThe ID that your app uses to identify the user whose SaaS credential will be used for this OAuth flow.
provider
string
requiredThe provider that this app connects to.
providerWorkspaceRef
string
The identifier for the provider workspace
groupName
string
The display name for the group. Defaults to groupRef if not provided.
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.
enableCSRFProtection
boolean
Response
200 - text/plain
URL to render