You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have hosted Supabase locally on Dockers, but the endpoints such as 127.0.0.1:54321/rest/v1/internal_events?select=* can be accessed without any API Key. It shows all the data for that table. My tables don't have Row Level Security (RLS) enabled.
This is because when I have RLS disabled on the cloud version, the endpoint rest/v1/internal_events?select=* cannot be accessed without the API key, it shows this,
{"message":"No API key found in request","hint":"No apikey request header or url param was found."}
Is there any way I can mimic this behaviour for my on-premise Supabase, or is RLS the only way to solve this? Please let me know if more information is required.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
I have hosted Supabase locally on Dockers, but the endpoints such as 127.0.0.1:54321/rest/v1/internal_events?select=* can be accessed without any API Key. It shows all the data for that table. My tables don't have Row Level Security (RLS) enabled.
This is because when I have RLS disabled on the cloud version, the endpoint rest/v1/internal_events?select=* cannot be accessed without the API key, it shows this,
{"message":"No API key found in request","hint":"No
apikeyrequest header or url param was found."}Is there any way I can mimic this behaviour for my on-premise Supabase, or is RLS the only way to solve this? Please let me know if more information is required.
Thanks.
Beta Was this translation helpful? Give feedback.
All reactions