Login
New accounts must verify their email before they can sign in. After you register, open the message we send and
click the link. (Requires a Supabase project configured in supabase-config.js.)
Sign in
Hosting setup (one-time)
This page uses Supabase Auth in the browser, so you need a Supabase project. The anon key is safe to use in a public site; protect database rows with row level security (RLS), not by hiding the key.
- In the Supabase dashboard, create a project (free tier is fine) or open an existing one.
-
Go to Project Settings → API and copy the Project URL and
the anon public key into
supabase-config.js(replace theYOUR_…placeholders). Save and reload this page. - Open Authentication → Providers → Email: enable it. Turn on Confirm email if you want sign-in blocked until the user clicks the link in their email.
-
Under Authentication → URL Configuration, add this site’s
Redirect URLs (e.g. your production
https://…/login.htmland for local fileshttp://127.0.0.1:5500/lease-web/login.htmlor whatever port your dev server uses). The confirmation link must be allowed to redirect back here.