In Supabase: Authentication → URL Configuration → add http://localhost:3000/auth/callback under Redirect URLs (and your production URL when you deploy).
In Supabase: Authentication → URL Configuration → add http://localhost:3000/auth/callback under Redirect URLs (and your production URL when you deploy).