useSignIn()
The useSignIn() hook provides access to the SignInFuture object, which allows you to check the current state of a sign-in attempt and manage the sign-in flow. You can use this to create a .
Returns
- Name
signIn- Type
- SignInFuture
- Description
The current active
SignInFutureinstance, for use in custom flows.
- Name
errors- Type
- Errors
- Description
The errors that occurred during the last API request.
- Name
fetchStatus- Type
'idle' | 'fetching'- Description
The fetch status of the underlying
SignInFutureresource.
Examples
For example usage of the useSignIn() hook, see the Build your own UI guide.
Feedback
Last updated on