App hangs after login; Supabase calls never return
The short fix, its sources, and where this limit comes from.
SupabaseLovable
Quick fix
Don't await Supabase calls inside onAuthStateChange; defer them (e.g. setTimeout(...,0)) or upgrade supabase-js.
Sources
- supabase.com/docs/guides/troubleshooting/why-is-my-supabase-api-call-not-returning-PGzXw0
- tomaspozo.com/articles/series-lovable-supabase-errors-application-hangs-up-after-log-in