-
Notifications
You must be signed in to change notification settings - Fork 177
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
Access Denied when making rpc call. #590
Comments
Hi, The issue is that the custom claim requires claims_admin permission hence the denial. Ways to fix this: Create a special admin user and give claims_admin permissions and then use that user as a way to interact with these functions. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Describe the bug
Hi, I am getting an 'access denied' error when I use supabase rpc call.
Error:
2023-10-14 16:57:16,384:INFO - HTTP Request: POST https://xxxx.supabase.co/rest/v1/rpc/set_claim "HTTP/1.1 200 OK"
data='error: access denied' count=None
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Should run the function without causing any errors.
Desktop (please complete the following information):
The text was updated successfully, but these errors were encountered: