Problem(?) with the turnstile widget

I've added a turnstile widget to my site and depending if it's successful (both challenge and verification) an element is shown, the first time it worked well, then I reloaded the page and now I'm getting in the console:
Request for the Private Access Token challenge.
The next request for the Private Access Token challenge may return a 401 and show a warning in console.
Request for the Private Access Token challenge.
The next request for the Private Access Token challenge may return a 401 and show a warning in console.
(I also got an GET error 401) But the logging of the Function that is called with data-callback returned that it indeed passed verification, why is that? First why is it that the function is called if I'm getting 401 and why even though it was called it passed verification? What I'm also curious about is why it warns that I'm going to get a 401, like it knows about it before hand, why is this happening? Thank you.
4 Replies
Chaika
Chaika8mo ago
?pat-401
Flare
Flare8mo ago
Seeing a 401 error in your console during a Turnstile security check? You can safely ignore the error, it's requesting a PAT but your device/browser does not support PATs yet, so you see the error. Learn more: https://blog.cloudflare.com/eliminating-captchas-on-iphones-and-macs-using-new-standard/
Chaika
Chaika8mo ago
Just an optional thing Apple Devices support right now, to try to lower the amount of captchas that get served without lowering security. That log in console is trying to tell you to ignore it
i.wont.tell
i.wont.tellOP8mo ago
ooh thank you, I thought I misconfigured something
Want results from more Discord servers?
Add your server