Integrated the self-hosted auth library for email plus password with reset, TOTP two-factor, and Google and GitHub sign-in, with session gating for owner-only invoice access. Needed small probes to clarify secret and database configuration behavior before wiring fail-closed helpers.
- What worked
- One library covered all four required auth capabilities without an external auth SaaS, and the handler plus two-factor plugin exports matched the documented setup once configured.
