Skip to content

SignInFlowOptions ​

Properties ​

formProps ​

Props forwarded to useForm.

Type: object

Source: client/lib/use/useSignInFlow.js:35

redirect ​

Route to push to after a successful login. Falls back to ?redirect query param, then { name: "welcome" }.

Type: string | RouteLocationAsRelativeGeneric | RouteLocationAsPathGeneric

Source: client/lib/use/useSignInFlow.js:29

requireRecentLogin ​

When true, the post-login redirect only fires once storeUser.authPendingFlow is empty, meaning the user also recently authenticated.

Type: boolean

Source: client/lib/use/useSignInFlow.js:31

toasts ​

Toast text for the redirect. Each entry replaces the matching default, field by field.

Type: SignInFlowToasts

Source: client/lib/use/useSignInFlow.js:33

Source ​

client/lib/use/useSignInFlow.js:28