Credentials v2

Initiate Oauth

Initiate OAuth flow for a platform.

Returns an auth URL to redirect the user for authorization.

Optional query params for post-callback navigation: return_context_flow: Flow identifier (e.g. "try_now_onboarding") return_context_workspace_id: Workspace ID for try-now flows

reconnect_credential_id: the credential this login RECONNECTS (the Reconnect button on a card). The callback then refuses a login that comes back as a different account instead of saving it to another credential or creating a new one. Absent, this is a new connection, exactly as before.

get/v2/credentials/{platform}/auth-url

Request

  • Base URL
    https://api.jubjubapp.com (the document declares no server; this is the origin it was published from)
  • Auth
    HTTP bearer

Path parameters

platformstring required

Query parameters

return_context_flowstring nullable
return_context_workspace_idstring nullable
reconnect_credential_idstring nullable

Headers

Authorizationstring
X-JubJub-Service-Keystring
X-JubJub-Agent-Keystring
X-JubJub-Platform-Keystring
Originstring
Refererstring
X-JubJub-Trial-Tokenstring

Response

Successful Response

auth_urlstring required

URL to redirect user for OAuth

statestring required

State token for CSRF protection

Changes

No recorded changes to this operation across all 1 revision of this API.