Skip to Content
You are viewing a beta version of Clerk Docs
Visit the latest docs
Clerk logo

Clerk Docs

Ctrl + K
Go to clerk.com

RedirectOptions

An interface that provides options for a range of redirect methods.

Properties

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

Last updated on October 10, 2023

What did you think of this content?

Clerk © 2024