wihan/dev

docs /clerk / resources

markdown
browse the clerk docs

clerk_redirect_url (Resource)

An entry in the allowlist of redirect URLs for OAuth and SSO flows. Clerk rejects a sign-in redirect to a URL that is not on this list.

Example Usage

resource "clerk_redirect_url" "app_callback" {
  url = "https://app.example.com/sso-callback"
}

Schema

Required

  • url (String) The redirect URL, for example https://app.example.com/sso-callback. A change forces a replacement.

Read-Only

  • id (String) Redirect URL id.

Import

Import is supported using the following syntax:

The terraform import command can be used, for example:

terraform import clerk_redirect_url.app_callback ru_2abcDEFghiJKLmnoPQRstuVWXyz