SupabaseS
Supabase4y ago
enti

policy not working

I got a table named companies with RLS enabled.
I created a policy to allow SELECT for any authenticated user + anon.
I do my API call from my Vuejs client with an authenticated user :
const { data, error } = await supabase
        .from("companies")
        .select(
          "id, nom, raison, adresse, cp, ville, pays, id_name, uuid, resipay"
        );

I check my API call live on the XHR console and the authenticated token is in the header.
Yet I get a 403 response from supabase...
What did I miss?
unknown.png
unknown.png
unknown.png
unknown.png
Was this page helpful?