rafaelwendel / phpsupabase

PHP Client to use Supabase
MIT License
182 stars 16 forks source link

captcha verification process failed #30

Closed yunsimple closed 2 weeks ago

yunsimple commented 5 months ago

When I enable "Bot and Abuse Protection" using the service_role key it says "Server error: POST https://sdqczznijvha.supabase.co/auth/v1/signup resulted in a 500 Internal Server Error response : {"code":500,"msg":"captcha verification process failed","error_id":"8611cf16c0276459-SJC"} "

When I also use this service_role key from javascript I am able to skip verification.

I'm using version 0.0.7.

rafaelwendel commented 2 months ago

Hi @yunsimple

When you enable Bot and Abuse Protection, you need to add Authorization ($service->setBearerToken("YOUR_KEY")).

=)

yunsimple commented 2 months ago

Thanks for the feedback, I'll go in and try it.