NextJS ServerSide createServerClient RLS not being utilized
I have a server side service call for a table in my database, that has RLS enabled and a policy for only able to seeing own data. However all data is being returned.
I'm running into this issue while using supabase local.
I'm seeing past implementations where you pass in the authenticated users token into the createServerClient, but I'm not seeing that in the current docs, the suggestion is that should be working via cookie, however I'm seeing a different outcome.
Supabase gives you the tools, documentation, and community that makes managing databases, authentication, and backend infrastructure a lot less overwhelming.