From 70af8fedfe4a526a54f434837cf77c6e25921384 Mon Sep 17 00:00:00 2001 From: vi Date: Tue, 17 Dec 2024 21:47:35 -0500 Subject: [PATCH] put back sections for custom sign-in and sign-up flows --- docs/references/react/use-sign-in.mdx | 4 ++++ docs/references/react/use-sign-up.mdx | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/docs/references/react/use-sign-in.mdx b/docs/references/react/use-sign-in.mdx index ca8bf05388..b598cfb506 100644 --- a/docs/references/react/use-sign-in.mdx +++ b/docs/references/react/use-sign-in.mdx @@ -110,3 +110,7 @@ The `status` property of the `SignIn` object can be one of the following values: The user needs to set a new password. + +### Create a custom sign-in flow with `useSignIn()` + +The `useSignIn()` hook can also be used to build fully custom sign-in flows, if Clerk's prebuilt components don't meet your specific needs or if you require more control over the authentication flow. Different sign-in flows include email and password, email and phone codes, email links, and multifactor (MFA). To learn more about using the `useSignIn()` hook to create custom flows, see the [custom flow guides](/docs/custom-flows/overview). \ No newline at end of file diff --git a/docs/references/react/use-sign-up.mdx b/docs/references/react/use-sign-up.mdx index d6fab4e08c..3090a0f6ae 100644 --- a/docs/references/react/use-sign-up.mdx +++ b/docs/references/react/use-sign-up.mdx @@ -96,3 +96,7 @@ The `status` property of the `SignUp` object can be one of the following values: A requirement is missing from the [Email, Phone, Username](https://dashboard.clerk.com/last-active?path=user-authentication/email-phone-username) settings. For example, in the Clerk Dashboard, the **Password** setting is required but a password wasn't provided in the custom flow. + +### Create a custom sign-up flow with `useSignUp()` + +The `useSignUp()` hook 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 `useSignUp()` hook to create custom flows, see the [custom flow guides](/docs/custom-flows/overview). \ No newline at end of file