Skip to main content
Auth

Features

Email/Password

Users can sign in with their email and password.

Social OAuth

We have Google and Apple OAuth support.

Magic Link

Sending a magic link to the user’s email address

Forgot Password

If your users forget their password, they can reset it.

Verify Email

Users can verify their email address in the app.

How to use?

Currently implemented and fully supported.

Auth Functions

To sign in with email/password, use the signIn function.
To sign up with email/password, use the signUp function.
To sign in with Google, use the signInWithGoogle function.
To sign in with Apple, use the signInWithApple function.
To create a session from a URL, use the createSessionFromUrl function.
Magic happens here. Don’t change this.
To handle show password on the password input, use the handleShowPassword function.
To handle errors, use the handleError function.
To set a new password, use the setNewPassword function.
To sign out, use the signOut function.

Props