Skip to content

Commit a20a164

Browse files
authored
fix: incorrect example and document fault RLS
1 parent 5c75244 commit a20a164

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

Diff for: README.md

+4-1
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@ supabase: Client = create_client(url, key)
134134
# Sign in using the user email and password.
135135
random_email: str = "[email protected]"
136136
random_password: str = "fqj13bnf2hiu23h"
137-
user = supabase.auth.supabase.auth.sign_in_with_password({ "email": random_email, "password": random_password })
137+
user = supabase.auth.sign_in_with_password({ "email": random_email, "password": random_password })
138138
```
139139

140140
## Managing Data
@@ -212,6 +212,9 @@ Realtime changes are unfortunately still a WIP. Feel free to file PRs to [realti
212212

213213
See [Supabase Docs](https://supabase.com/docs/guides/client-libraries) for full list of examples
214214

215+
## NOTE: RLS does not work out of the box right now
216+
After you sign a user in, the user's access token is _not_ being used by the library for any of the API calls, and therefore RLS does not work right now. See [related issue and discussion](https://github.com/supabase-community/supabase-py/issues/185)
217+
215218
## Python and Supabase Resources
216219

217220
- [Python data loading with Supabase](https://supabase.com/blog/loading-data-supabase-python)

0 commit comments

Comments
 (0)