Cannot read data with RLS on python
Guys, apologies if that is the wrong channel for that but, I am scraping the documentation and I am not able to find a way to pass jwt to python. I want to pretty much write to RLS table, I have to token but cannot pass it to the API, here is my code:
def ConfigureUser(jwt):
d = supabase.auth.set_auth(access_token=jwt)
#data = supabase.table("user_settings").select("*").execute()
data2 = supabase.table("user_settings").insert({"RoleId":"123","VerifyChannelId": "123"}, returning="minimal").execute()
print (data2)
Any help please?
def ConfigureUser(jwt):
d = supabase.auth.set_auth(access_token=jwt)
#data = supabase.table("user_settings").select("*").execute()
data2 = supabase.table("user_settings").insert({"RoleId":"123","VerifyChannelId": "123"}, returning="minimal").execute()
print (data2)
Any help please?