Core Features
Supabase
Follow this tutorial to set up user authentication with Supabase
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
file.
.env
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:
URL Configuration
To enable magic link login:
- Go to “Authentication” then “URL Configuration”.
- In Site URL paste this url
http://localhost:19006
and click “Save”. - Go to “Redirect URLs” section and click on “Add URL”.
- Add this URL
[app.json_scheme_variable]://**
To find out what value you need to use, head to your projects app.json file and look at "scheme": "..."
value. For example it could be like this com.expoship://**
.
Congrats - user authentication is now set up with Supabase and should be functional!
Other tutorials
Set up development environment
Set up your development environment