Skip to content

privy config redirects update

Configure redirects. Full OAuth redirect URL/path allowlist. Must match existing allowed origins; no implicit origin widening. [] clears path restrictions.

Terminal window
privy config redirects update [options]
Option Description
--dry-run Validate and print the API request without network access or credentials.
--allow-access-change Acknowledge cross-app access or customer authentication impact.
--confirm-name <name> Exact selected app name, verified against fresh state.
--yes Confirm this mutation or export.
--body <json> JSON body, or - to read stdin.
--file <path> JSON body file, or - to read stdin.
--allowed-oauth-redirect-urls <json> Full OAuth redirect URL/path allowlist. Must match existing allowed origins; no implicit origin widening. [] clears path restrictions.
--diff Read live state and show changes WITHOUT writing (requires login).
--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 config redirects update --body '{"allowed_oauth_redirect_urls":[]}' --dry-run
  • Changes data: yes. Preview with --dry-run, then run with --yes and any required confirmations.
  • Scope: app

Inspect the full contract locally with privy schema config redirects update.

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.