User management and JWT API (formerly GoTrue): sign up, log in, magic links, OAuth providers and MFA. Stateless; users live in your own PostgreSQL database, in the ‘auth’ schema. Published on a public HTTPS route.
Install the CLI. See the install docs .
Log in:
runway login
Add an SSH key. See key setup , or use the shortcut:
runway local key setup
We are providing a template for one-click deployments of Supabase Auth to Runway. You can either deploy Supabase Auth from your browser , or on the command line via:
runway app create --app='my-supabase-auth-security' --plan='free-launch'
runway app deploy template --app='my-supabase-auth-security' --template='supabase-auth'
After deployment,
runway app show --app='my-supabase-auth-security'
will display the connection details, so you can connect to your new Supabase Auth from other apps.
Our Supabase Auth template supports the following options:
database_url - DSN of a PostgreSQL 13+ database, like postgres://user:pass@host/db.
The user must be allowed to create the ‘auth’ schema. (default: undefined)disable_signup - Only allow users that are invited or created by an admin. Turn off
to let anyone sign up. (default: true)image_tag - Supabase Auth version. Upgrades migrate the database on start. (v2.199.0, v2.198.0)mailer_autoconfirm - Confirm new email addresses without sending a mail. Turn on if you
have no SMTP set up; without either, new users cannot log in. (default: false)site_url - URL of your own app (the frontend). Links in emails and redirects
after login go there. (default: undefined)smtp_admin_email - Sender address of all mails, like noreply@example.com
. (default: ``)smtp_host - SMTP server for confirmation, invite and reset mails. (default: ``)smtp_pass - SMTP password. (default: ``)smtp_port - SMTP port. (default: 587)smtp_user - SMTP user name. (default: ``)You can set them on the command line during deployment:
runway app deploy template --app='my-supabase-auth-security' --template='supabase-auth' \
database_url=undefined \
disable_signup=true \
image_tag=v2.199.0 \
mailer_autoconfirm=false \
site_url=undefined \
smtp_admin_email= \
smtp_host= \
smtp_pass= \
smtp_port=587 \
smtp_user=
Supabase Auth is distributed under the MIT license - source code available at https://github.com/supabase/auth .