signIn()
Use nhost.auth.signIn
to sign in a user using email and password, passwordless (email or sms) or an external provider. signIn
can be used to sign in a user in various ways depending on the parameters.
Parameters
params optional SignInParams
Examples
Sign in a user using email and password
Sign in a user using an OAuth provider (e.g: Google or Facebook)
Sign in a user using passwordless email (Magic Link)
Sign in a user using passwordless SMS
Sign in anonymously
Sign in with a security key
Was this page helpful?