-
Notifications
You must be signed in to change notification settings - Fork 26
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Supabase policy auth with Fultterflow #1712
Comments
I think this is an issue from your supabase, try using, ' auth.uid() = user_id ' |
This issue is stale because it has been open for 7 days with no activity. If there are no further updates, a team member will close the issue. |
Hi @sergedahdouh, thank you for submitting this issue. This issue tracker is intended for general bugs that are applicable to all users. It looks like this error may be specific to your project, so this is classified as a support request and will be closed. Please use chat support or contact support [at] flutterflow.io where they can be more helpful in allowing you diagnose the cause of your issue. |
Has your issue been reported?
Current Behavior
I am trying to RLS policy in Supabase which is policy ((auth.jwt() ->> 'sub'::text) = user_id) but in return i get an error 401 unauthorized, when i remove the policy is work perfect
Expected Behavior
((auth.jwt() ->> 'sub'::text) = user_id) this policy should allow auth user who has the id to delete update his own row
Steps to Reproduce
Reproducible from Blank
Bug Report Code (Required)
https://app.flutterflow.io/project/testauction-26ii4i?tab=uiBuilder&page=Auth4
Context
you cannot use supabase policy
Visual documentation
you cant use supabase policy
Additional Info
No response
Environment
The text was updated successfully, but these errors were encountered: