0

I am trying to use Cloudflare's turnstile documented here with the execution option. I am calling turnstile.execute in an async function called after a button press, but the function doesn't seem to be wait for the challenge to finish before continuing. Is there a way I can await or something similar on turnstile.execute so that I am able to use the token in the callback later on in the function?

Hyrial
  • 1,728
  • 3
  • 15
  • 27

0 Answers0