Skip to main content

Documentation Index

Fetch the complete documentation index at: https://turnkey-0e7c1f5b-amir-tx-status-webhooks.mintlify.app/llms.txt

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

Package: react-wallet-kit

Defined in: react-wallet-kit/src/providers/client/Types.tsx:591

Handles the removal of an OAuth provider.
  • This function opens a modal with the RemoveOAuthProvider component, allowing the user to confirm and remove an OAuth provider (such as Google, Apple, or Facebook) from their account.
  • It supports specifying the provider ID to remove, as well as optional modal title and subtitle for custom UI messaging.
  • After successful removal, the user details state is refreshed to reflect the updated list of linked OAuth providers.
  • Optionally, a callback can be provided to handle successful removal, receiving the updated list of provider IDs.
  • Supports customizing the duration of the success page shown after removal.
  • Allows specifying the stamper to use for the removal (StamperType.Passkey, StamperType.ApiKey, or StamperType.Wallet) for granular authentication control.
  • Handles all error cases and throws a TurnkeyError with appropriate error codes.
params
HandleRemoveOauthProviderParams
required
A successful response returns the following fields:
returns
string[]
required
A promise that resolves to an array of provider IDs that were removed.