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?
2 Replies
resolved nvm thnx!
You should state how you fixed it so it will help others who might run into the same issue.