Overview

Removes a list of OAuth providers from the user.
  • This function removes OAuth providers (e.g., Google, Apple) from the user’s account.
  • If a userId is provided, it removes the providers for that specific user; otherwise, it uses the current session’s userId.
  • Automatically ensures an active session exists before making the request.
  • Optionally allows stamping the request with a specific stamper (StamperType.Passkey, StamperType.ApiKey, or StamperType.Wallet).
  • Returns an array of remaining provider IDs associated with the user after removal.

Package: core

Defined in: core.ts:2851

Parameters

params
object
required

Response

A successful response returns the following fields:
returns
string[]
required
A promise that resolves to an array of provider IDs that were removed.