Learning Auth
Building my b2b whole dashboards and stuff, trying to keep it simple, what y'all think?
+---------------------------+ | Google Sign-In | +---------------------------+ | v +--------------------------------------------------+ | PHP Backend | | +------------------------------------------+ | | | /verify-google-token | | | | /send-magic-link | | | | /verify-magic-link | | | | /logout | | | +------------------------------------------+ | | | | | v | | +------------------------------------------+ | | | SQLite Database | | | | (User info & Magic link tokens) | | | +------------------------------------------+ | +--------------------------------------------------+ | v +---------------------------+ | Client-side | | (HTMX for updates) | +---------------------------+