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()
Was this page helpful?