Closed erangamapa closed 3 years ago
I couldn't figure out how to label this issue, so I've labeled it for a human to triage. Hang tight.
Hi @erangamapa, thanks for the report and patiently waiting. Are you able to replicate this issue consistently when registering an app or creating a new reCAPTCHA?
I tried replicating the issue, but I wasn't able to. By any chance, are you running under localhost or your app is deployed to hosting? Please make sure that all the settings that you're using are correct, especially the keys and domains.
@looptheloop88 Tried both localhost and hosting in two different domains with all the domains correctly configured with captcha including localhost. Did this even before asking from you guys and error still appeared. But did not try with different captcha account. However my domains listed under two captcha accounts. One for a different purpose and other i created specifically for app check and I do not think thats a problem. I also created a minimal example and tried that as well but issue still persists. Here is the gist https://gist.github.com/erangamapa/c9eccac208549ef8a1d41791baa073a0 I dont think credentials are wrong because other services works for example i am getting data from flame link successfully just that app check fails.
I figured out the issue. I was using v2 captcha instead of v3 as only v3 is supported for api calls. Hence closing this.
[REQUIRED] Describe your environment
[REQUIRED] Describe the problem
I can see in the request to
ontent-firebaseappcheck.googleapis.com
i am sendingrecaptcha_token
in payload but I am getting 403 with following response. However other features from firebase works perfectly.{ "error": { "code": 403, "message": "App attestation failed.", "status": "PERMISSION_DENIED" } }
Steps to reproduce:
Relevant Code: