© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
SupabaseS
Supabase•4y ago•
1 reply
Rozko

Does auth.getUser() internally invoke the getSession() method?

Just wondering if it does, does it also inherently refresh the session if the session is invalid?
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

getSession(), safeGetSession(), and getUser()
SupabaseSSupabase / help-and-questions
8mo ago
What is the use case for choosing auth.getSession() over auth.getUser() and vice versa?
SupabaseSSupabase / help-and-questions
4y ago
supabase auth.getUser always returns null
SupabaseSSupabase / help-and-questions
4y ago
How am I supposed to work with the getUser() method?
SupabaseSSupabase / help-and-questions
4y ago