ยฉ 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
SupabaseS
Supabaseโ€ข4y agoโ€ข
15 replies
aquila

Get auth user in function

Hi,
How can I get the authenticated user in a Supabase function? I'm trying to access the user's oauth'd github user id, but I can't even figure out how to authenticate the user at all.
Thanks.
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
Get user from auth.api
SupabaseSSupabase / help-and-questions
4y ago
Get auth.uid() in triggered functions?
SupabaseSSupabase / help-and-questions
4y ago
Auth.getUser() can not find user in edge function
SupabaseSSupabase / help-and-questions
13mo ago