Initiate OAuth for a source
Given a source ID, workspace ID, and redirect URL, initiates OAuth for the source.
This returns a fully formed URL for performing user authentication against the relevant source identity provider (IdP). Once authentication has been completed, the IdP will redirect to an Airbyte endpoint which will save the access and refresh tokens off as a secret and return the secret ID to the redirect URL specified in the secret_id query string parameter.
That secret ID can be used to create a source with credentials in place of actual tokens.
Request body
Example request
{
"redirectUrl": "https://cloud.airbyte.io/v1/api/oauth/callback",
"workspaceId": "871d9b60-11d1-44cb-8c92-c246d53bf87e",
"destinationId": "3d93b16c-ff5f-421c-8908-5a3c82088f14"
}Response
Response from the initiate OAuth call should be an object with a single property which will be the redirect_url. If a user is redirected to this URL, they'll be prompted by the identity provider to authenticate.
Changes
Changed in 10 of the 31 revisions of this API.710
- ○
added the new optional request property
requestedOptionalScopesnew-optional-request-property
- ○
added the new optional request property
requestedScopesnew-optional-request-property
- ○
- ○
added the new
ticktickenum value to the request propertysourceTyperequest-property-enum-value-added
- ○
- ▲
removed the enum value
snowflakeof the request propertysourceTyperequest-property-enum-value-removed
- ○
added the new
intercomenum value to the request propertysourceTyperequest-property-enum-value-added
This revision also has 3 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ▲
- ○
added the new
facebook-pagesenum value to the request propertysourceTyperequest-property-enum-value-added
- ○
- ○
added the new
sharepoint-enterpriseenum value to the request propertysourceTyperequest-property-enum-value-added
- ○
- ▲
removed the enum value
zendesk-chatof the request propertysourceTyperequest-property-enum-value-removed
This revision also has 3 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ▲
- ▲
removed the enum value
intercomof the request propertysourceTyperequest-property-enum-value-removed
This revision also has 3 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ▲
- ▲
removed the enum value
retentlyof the request propertysourceTyperequest-property-enum-value-removed
- ▲
removed the enum value
zendesk-sunshineof the request propertysourceTyperequest-property-enum-value-removed
- ○
added the new
snapchat-marketingenum value to the request propertysourceTyperequest-property-enum-value-added
This revision also has 2 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ▲
- ○
added the new
gcsenum value to the request propertysourceTyperequest-property-enum-value-added
- ○
- ▲
removed the enum value
snapchat-marketingof the request propertysourceTyperequest-property-enum-value-removed
- ▲
removed the enum value
squareof the request propertysourceTyperequest-property-enum-value-removed
- ○
added the new
driftenum value to the request propertysourceTyperequest-property-enum-value-added
- ○
added the new
rd-station-marketingenum value to the request propertysourceTyperequest-property-enum-value-added
This revision also has 2 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ▲