Recaptcha issue token null

Hello,

I have implemented recaptcha for a web page with a form.

When I run locally from file in my browser I got the token but the validation is saying browser error.

When I host in Azure I always get a null token despite I have a * for CORS domain.

Can you please help?

I have tried both version 3 and enterprise.

this is the snippet of the call with version 3:

grecaptcha.ready(() => {
              grecaptcha
              .execute("reducted")
              .then((token) => {

Adding an action on the execute call does not change anything

Thanks

Luigi

0 1 954
1 REPLY 1