cpatpa rips out Supabase Auth for Auth.js plus Microsoft Entra
A full sign-in rebuild that lets enterprise users log in through their corporate Microsoft account - and quietly hardens the password flow while it's at it.
cpatpa has swapped the fork's entire authentication system. Out goes Supabase Auth (the login service bundled with the underlying database platform); in comes Auth.js, an open-source sign-in library, paired with optional support for Microsoft Entra - Microsoft's corporate identity service that lets a firm's users sign in with their existing work account. The Entra option only lights up when an admin configures it, so smaller fork-takers aren't forced into Microsoft's orbit.
Along the way the team rebuilt password reset from scratch with the kind of details security reviewers actually look for: reset links expire in an hour, can only be used once, and the system gives identical responses whether or not the email exists - so an attacker can't fish for valid accounts. An email domain allowlist and a bootstrap admin role round it out.
Spotted something wrong? Or know the PR text has fresher detail than the writeup above?