Nothing in here should be treated as production-ready code; this is just a proof of concept. Corners have been cut.
Example repo with NextJS and Supabase for a hacky multi-tenant auth solution.
- Start supabase
supabase start
- Start the project
docker compose up -d
You can now visit foo.localhost and bar.localhost and register. The docker compose also includes its own inbucket
to send the password reset email you can visit this at localhost:9000