Β© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
SupabaseS
Supabaseβ€’4y agoβ€’
8 replies
topperspal

Acceccing authenticated user in rpc() s

How can I access current signed-in user details in PostgreSQL functions when called using rpc() in dart. I want to increment user's counter so I need to extract current user id in order to execute the query wth it.
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

RPC current_user's id
SupabaseSSupabase / help-and-questions
4y ago
User not authenticated ERROR
SupabaseSSupabase / help-and-questions
2mo ago
withPageAuth user undefined for authenticated user
SupabaseSSupabase / help-and-questions
4y ago
Next.js, user doesn't get authenticated
SupabaseSSupabase / help-and-questions
4y ago