© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
SupabaseS
Supabase•4y ago•
11 replies
ChunkyLubie

Uncaught TypeError supabase.auth.user is not a function

I'm trying to figure out what I've done wrong here, and have been unsuccessful thus far. The error i'm getting is "Uncaught TypeError supabase.auth.user is not a function". The issue is at line 18 in my App.vue file (I'm using Vue 3). On that line is
const user = supabase.auth.user();
const user = supabase.auth.user();
(as shown in code pictured). I'm not sure what I'm missing or did wrong.
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

get user function supabase.auth.user()
SupabaseSSupabase / help-and-questions
4y ago
supabase.auth.signIn is not a function
SupabaseSSupabase / help-and-questions
4y ago
TypeError client.auth.getSessionFromUrl is not a function
SupabaseSSupabase / help-and-questions
4y ago
TypeError supabaseClient.auth.session is not a function
SupabaseSSupabase / help-and-questions
4y ago