Skip to content

Commit be72d5c

Browse files
authoredJun 14, 2023
Merge pull request #466 from supabase-community/anand/fix-readme
fix: incorrect example and document fault RLS
2 parents 5c75244 + a20a164 commit be72d5c

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed
 

‎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 = "3hf82fijf92@supamail.com"
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)
Please sign in to comment.