Set up Supabase
- Create a Supabase account or sign in to your existing one.
- In your Supabase dashboard, go to “Project Settings” then “API Settings”.
- Copy your Supabase URL and Supabase Anon Key.
- Paste these values into your
.env.localfile.
.env.local
Authentication & user data
To set up authentication and user data, run the following SQL queries in your Supabase SQL editor. Execute them one after another:MagicLink
To enable magic link login:- Go to “Authentication” then “URL Configuration”.
- In Site URL paste this url
http://localhost:19006and click “Save”. - Go to “Redirect URLs” section and click on “Add URL”.
- Add this URL
[app.json_scheme_variable]://**
Congrats - user authentication is now set up with Supabase and should be functional!
Other tutorials
Set up development environment
Set up your development environment