© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
SupabaseS
Supabase•2w ago•
3 replies
Nollix

auth edge function

edge functions
Hi! When an user try to call one of my edge function, I would like that the code of the edge function checks that it is a real user and not someone who wants to access illegally to the function. Now I check the user in the edge function using "await supabaseClient.auth.getUser" passing the auth header. Is it the right way? Are there other safe method to implement this feature?
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

Edge function auth problem
SupabaseSSupabase / help-and-questions
2mo ago
Clerk- edge function auth
SupabaseSSupabase / help-and-questions
3mo ago
Failing auth in Edge Function
SupabaseSSupabase / help-and-questions
5mo ago
Edge Function
SupabaseSSupabase / help-and-questions
5mo ago