© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
SupabaseS
Supabase•13mo ago•
3 replies
hova

20 second call to supabase.auth.getUser()

I'm working on a minimal Supabase Auth demo app with NextJS
NextJS is hosted by Vercel and Supabase is Supabase's free tier

I've followed the tutorial in the docs and have a basic flow working for anonymous users.

I'm noticing that any time I call
supabase.auth.getUser()
supabase.auth.getUser()
there's a decent chance the request is going to freeze for exactly... roughly.... 20 seconds

Is this known behavior?
Is this fixable via code or paying for a better tier?
Anyway, the core flow is working, and I'm pretty happy with the UX but the 20s latency is nearly a dealbreaker

Live site is here: https://nextjs-supabase-auth-from-scratch.vercel.app/
Supabase banner
SupabaseJoin
Supabase gives you the tools, documentation, and community that makes managing databases, authentication, and backend infrastructure a lot less overwhelming.
45,816Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements

Similar Threads

supabase auth.getUser always returns null
SupabaseSSupabase / help-and-questions
4y ago
supabase.auth.getUser and supabase.auth.updateUser across simultaneous server sessions
SupabaseSSupabase / help-and-questions
13mo ago
Rate limiting on supabase.auth.getUser(token)
SupabaseSSupabase / help-and-questions
4w ago
Supabase getUser() returns undefined
SupabaseSSupabase / help-and-questions
7mo ago