Log in an existing user, or login via a third-party provider.
- A user can sign up via email, phone number.
- If you provide
password, the user will be sent a magic link.
- The magic link's destination URL is determined by the SITE_URL config variable. To change this, you can go to Authentication -> Settings on app.supabase.io
- Similary, if you provide
password, the user will be sent a one time password.
- If you are looking to sign users in with OAuth in Flutter apps, go to
If email is provided, but no password is provided, the user will be sent a "magic link" to their email address, which they can click to open your application with a valid session. By default, a given user can only request a Magic Link once every 60 seconds.
Passing provider parameter to
signIn() will return a URL to sign your user in via OAuth.
If you are looking to sign in a user via OAuth on Flutter app, go to