© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
SupabaseS
Supabase•4y ago•
16 replies
enti

policy not working

I got a table named
companies
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"
        );
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
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 Admin policy not working
SupabaseSSupabase / help-and-questions
6mo ago
RLS policy 'in' not working
SupabaseSSupabase / help-and-questions
4y ago
RLS policy with join not working
SupabaseSSupabase / help-and-questions
4y ago
RLS Policy not working with JWT (Auth0)
SupabaseSSupabase / help-and-questions
4y ago