Skip to content

privy providers custom enable

Enable or disable an existing custom OAuth provider.

Terminal window
privy providers custom enable [options] <provider>
Argument Description
provider —
Option Description
--dry-run Validate and print the API request without network access or credentials.
--yes Confirm this mutation or export.
--body <json> JSON body, or - to read stdin.
--file <path> JSON body file, or - to read stdin.
--enabled <boolean> Explicit true to enable or false to disable.
--allow-production Explicitly allow this production mutation; also requires --yes.

Global options such as --app, --account and --profile also apply. See the command reference overview.

Terminal window
privy providers custom enable custom:example --enabled false --dry-run
  • Changes data: yes. Preview with --dry-run, then run with --yes and any required confirmations.
  • Scope: app
  • Before it runs: Selected app/environment and current configuration; editability/feature/provider-specific guards.
  • Production apps: Requires --allow-production and --yes.
  • Verification: Fresh public configuration; masked or omitted secret values and real external login are not verified.
  • Retries: None.

Inspect the full contract locally with privy schema providers custom enable.

Privy CLI is an unofficial, community project by Samarth Saxena. Not affiliated with or endorsed by Privy. The Privy name and wordmark belong to Privy. It uses undocumented dashboard APIs that can change.