I found a good example on how to do Google reCAPTCHA v3 and it sucessfully gets the token by the reCAPTCHA but when I try to verify users response ,
I get following error when I try to run it in cloudshell , locally or on cloud run.
Access to XMLHttpRequest at 'https://www.google.com/recaptcha/api/siteverify' from origin 'https://8080-cs-123456789012-default.cs-us-east1-abcd.cloudshell.dev' has been blocked by CORS policy: Response to preflight request doesn't pass access control check: No 'Access-Control-Allow-Origin' header is present on the requested resource.
Settings at google recaptcha is