© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
SupabaseS
Supabase•6mo ago•
2 replies
JohnGonzo

Server side auth setup help needed

Hello, I am trying to set up a node.js and express REST api.

I am currently generating the token client side via supabase auth, and attaching it to all api requests. I then validate it via the service role on my server, and pass it to a user client, in order to take advantage of RLS.

Every time I try this, it returns 0 rows, or throws some other error (yes, im not dumb, the rows exist)

Would anyone be able to help?
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

supabase.auth logging out server-side
SupabaseSSupabase / help-and-questions
4y ago
Different Supabase URL for client side and server side breaks auth
SupabaseSSupabase / help-and-questions
5mo ago
Server side auth via the supabase React client
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