Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.cloud.coinbase.com/llms.txt

Use this file to discover all available pages before exploring further.

function linkOAuth(providerType: OAuth2ProviderType, options?: {
  idempotencyKey?: string;
}): Promise<void>;
Links an OAuth account to the current user.

Parameters

ParameterTypeDescription
providerTypeOAuth2ProviderTypeThe OAuth provider type (e.g., “google”, “apple”, “x”, “telegram”).
options?{ idempotencyKey?: string; }Optional options for the link operation.
options.idempotencyKey?stringOptional idempotency key for safe retries.

Returns

Promise<void> The result of the link OAuth initiation.