Handle user sign-in with multiple authentication strategies
useSignIn
hook provides comprehensive sign-in functionality with support for multiple authentication strategies including email/password, username/password, phone OTP, email OTP, magic links, and OAuth providers.
true
during authentication requests.null
if no active attempt.null
if no errors.signIn
object provides methods for authentication:
OAuthProvider.GoogleOauth
- Google OAuthOAuthProvider.GithubOauth
- GitHub OAuthOAuthProvider.GitlabOauth
- GitLab OAuthOAuthProvider.MicrosoftOauth
- Microsoft OAuthOAuthProvider.FacebookOauth
- Facebook OAuthOAuthProvider.LinkedinOauth
- LinkedIn OAuthOAuthProvider.DiscordOauth
- Discord OAuthOAuthProvider.AppleOauth
- Apple OAuthOAuthProvider.XOauth
- X (Twitter) OAuthApiResult
format