© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
SupabaseS
Supabase•4y ago
joyboy

Server side auth via the supabase React client

Hi! I was wondering if it's possible to send the user credentials from my React client to my Nestjs API, in order to define the user right to make some actions (send an already authenticated users data to authenticate it in the backend before any action)
My idea was to use the React Supabase client to auth users and then send the credentials to the API when the actions needs to be handled server side.
I don't know if I'm planning this the proper way.
Thanks in advance!
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

Different Supabase URL for client side and server side breaks auth
SupabaseSSupabase / help-and-questions
5mo ago
supabase.auth logging out server-side
SupabaseSSupabase / help-and-questions
4y ago
Is it possible to have both server side auth and client side auth nextjs + supabase
SupabaseSSupabase / help-and-questions
4mo ago
Client vs server-side database queries with Supabase
SupabaseSSupabase / help-and-questions
3y ago