CDP Frontend SDK
    Preparing search index...

    Function useLinkOAuth

    • A hook for linking an OAuth account to the current user.

      Returns {
          linkOAuth: (providerType: OAuth2ProviderType) => Promise<void>;
          oauthState: null | OAuthFlowState;
      }

      An object containing the linkOAuth function and oauthState.