Skip to main content
function linkOAuth(providerType: OAuth2ProviderType): Promise<void>;
Links an OAuth account to the current user.

Parameters

ParameterTypeDescription
providerTypeOAuth2ProviderTypeThe OAuth provider type (e.g., “google”, “apple”, “x”).

Returns

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