fix(compose): make auth URLs and signup policy configurable

↗ view on GitHub · Thijs de Zoete · 2026-07-20 · d26fe041

GoTrue's API_EXTERNAL_URL and SITE_URL were hardcoded to localhost, so
confirmation links pointed at the user's own machine and signup could never
be completed on a hosted deploy. Both now derive from the public URLs.

MAILER_AUTOCONFIRM and DISABLE_SIGNUP are configurable too: a host with no
real SMTP needs autoconfirm on to register at all, and open registration
should be closable once the operator has an account. Defaults unchanged, so
local dev still exercises the real email flow via Mailpit.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Repository open-legal-products/mike
Author Thijs de Zoete <thijsdezoete@gmail.com>
Authored
Committed
Parents 969233d8
Stats 1 file changed , +10 , -5
Part of Land a self-hosted Mike stack

Capture this commit into my fork

Download a Markdown prompt that tells Claude how to port this exact commit into your working tree. Run it via claude -p < capture-commit-d26fe041.md from inside the repo you want the change in.

⬇ Download capture-commit-d26fe041.md