Skip to content
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

two questions #32

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open

two questions #32

wants to merge 2 commits into from

Conversation

bilulanlv
Copy link

1.After starting Bot and Abuse Protection, you need to add Authorization, otherwise captcha verification process failed will be reported.

  1. Add delete the user

After starting Bot and Abuse Protection, you need to add Authorization, otherwise captcha verification process failed will be reported.
Delete the user
@@ -29,6 +29,7 @@ public function __construct(string $apiKey, string $uriBase)

$this->httpClient = new \GuzzleHttp\Client();
$this->headers['apikey'] = $this->apiKey;

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

its been a while since ive used supabase, but is this line needed? i cant remember any use of an apikey header

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, without it you'll get

{"message":"No API key found in request","hint":"No `apikey` request header or url param was found."}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants