Skip to Content
Clerk logo

Clerk Docs

Ctrl + K
Go to clerk.com

SignInRedirectOptions

An interface that provides options for sign-in redirect methods.

Properties

NameTypeDescription
afterSignInUrl?string | null | undefinedFull URL or path to navigate after successful sign-in. Defaults to /. It's recommended to use the environment variable instead.
afterSignUpUrl?string | null | undefinedFull URL or path to navigate after successful sign-up. Defaults to /. It's recommended to use the environment variable instead.
redirectUrl?string | null | undefinedFull URL or path to navigate after successful sign-in, or sign-up. The same as setting afterSignInUrl and afterSignUpUrl to the same value.
initialValues?SignInInitialValuesThe values used to prefill the sign-in fields with.

Last updated on April 19, 2024

What did you think of this content?

Clerk © 2024