OAuth without passwords. Can our own UI start OAut...
# ask-ai
x
OAuth without passwords. Can our own UI start OAuth through the Airbyte API (
initiateOAuth
with
redirectUrl
set to app.kapnova.com)? The flow would be: the customer authorizes on Meta, Google or Shopify, we get a
secretId
back, and we create the source with it. Which plans support this?
k
Thinking completed Yes, the flow you describe matches how the Airbyte API's OAuth endpoints are documented. The knowledge sources don't say which plans support it, though. The flow 1. Initiate OAuth. Your UI calls
POST /sources/initiateOAuth
with
redirectUrl
,
workspaceId
, and
sourceType
(the source to authenticate to). It returns a fully formed URL for authenticating against the source's identity provider. [Initiate OAuth] 2. Customer authorizes. The customer is redirected to that URL and signs in with the provider (for example Meta, Google, or Shopify). Afterwards, the provider redirects to an Airbyte endpoint (
GET /oauth/callback
). [OAuth callback] 3. Receive the secret ID. Airbyte saves the access and refresh tokens as a secret and redirects to your
redirectUrl
with the secret ID in the
secret_id
query string parameter. [Initiate OAuth] 4. Create the source. Call
POST /sources
with the optional
secretId
in the body, along with
name
,
workspaceId
, and
configuration
. The secret ID stands in for actual tokens. [Create source] Some points to note: •
oAuthInputConfiguration
can pass extra variables if the connector's spec requires them, such as a host. [Initiate OAuth] • Use your full URL in
redirectUrl
, such as
https://app.kapnova.com/...
. The docs only describe it as the URL to redirect to, so I can't say whether there are format restrictions. • If you need to authorize with your own OAuth app instead of Airbyte's managed one, you can create OAuth override credentials for a workspace or organization via the API before authorizing. [OAuth docs] Plan support • The general API documentation page lists availability for Core, Standard, Plus, Pro, and Enterprise Flex. That page covers the API in general, not this specific flow. [API docs] • The OAuth guide says that in self-managed Airbyte you must configure your own client credentials. In Airbyte Cloud, credentials for Airbyte connectors are managed by Airbyte, while Marketplace and custom connectors need your own. [OAuth docs] • The knowledge sources don't say whether the
initiateOAuth
flow is limited to specific plans. Check the pricing page or contact Airbyte to confirm. 👍 0 button 👎 0 button ℹ️ Tip: Mention @kapa.ai in the thread for follow-ups or DM the app for 1-to-1 help.