onAuthStateChange not triggered when using server-side signIn/signOut in Next.js with Supabase
When using the Supabase server client (from @supabase/ssr) to call signIn or signOut inside a Next.js server actions, the auth state changes are not detected on the browser client (createBrowserClient()). even using router.refrech()
Supabase gives you the tools, documentation, and community that makes managing databases, authentication, and backend infrastructure a lot less overwhelming.