NuxtN
Nuxt2y ago
8 replies
abd

Supabase server-routes RLS authentication

Hello,

1. I am using supabase as part of my application
2. I am making all calls to supabase tables from server-side routes
3. I am adding in RLS to each of my tables. From the documentation I read that supabase will automatically send the JWT of the logged in user on CRUD requests to tables to validate the RLS rules. How does this happen if I am using supabase in server-routes where there is no client context?
Was this page helpful?