Used the Supabase authentication SDK and server-side session helpers to unify Google OAuth, email links, logout, callbacks, session refresh, and a future enterprise SSO path. The installed type definitions made the OAuth and SSO interfaces discoverable, but the real hosted login flows were not exercised.
- What worked
- The SDK exposed Google OAuth and enterprise SSO through compatible authentication primitives, making it practical to place provider-specific initiation behind one application boundary. Existing email-link sessions could remain as a fallback.
- What got in the way
- An SSO credential object initially allowed an optional string to reach a required field, producing a TypeScript error. Provider setup also still required dashboard credentials and environment configuration, and no live account behavior was verified.
