$signUpStore
The $signUpStore
store provides a convenient way to access the SignUp
object, which allows you to check the current state of a sign-up. This is also useful for creating a custom sign-up flow.
How to use the $signUpStore
store
Check the current state of a sign-up
The following example demonstrates how to use the $signUpStore
store to access the SignUp
object and check the current state of a sign-up.
The possible values for the status
property of the SignUp
resource are listed here.
Create a custom sign-up flow
The $signUpStore
store can also be used to build fully custom sign-up flows, if Clerk's prebuilt components don't meet your specific needs or if you require more control over the authentication flow. Different sign-up flows include email and password, email and phone codes, email links, and multifactor (MFA). To learn more about using the $signUpStore
store to create custom flows, see the custom flow guides.
Feedback
Last updated on