I get error AuthHost disallowed UrlAction: 0x2101 for URL: https://challenges.cloudflare.com/turnstile/v0/g/dc6b543c1346/api.js

BackNot 46 Reputation points
2024-03-25T11:24:34.53+00:00

I have UWP app. Recently I have moved from google captcha to cloudflare turnstile for one website. In the application I use WebAuthenticationBroker to perform oauth2 like this:

WebAuthenticationResult webAuthenticationResult = await WebAuthenticationBroker.AuthenticateAsync(
                                                WebAuthenticationOptions.None,
                                                startUri,
                                                endUri);


The problem is that on the login page I can't see the captcha and the login fails. In the logs file I found a log that contains this message which I believe is why captcha is not showing:

AuthHost disallowed UrlAction: 0x2101 for URL: https://challenges.cloudflare.com/turnstile/v0/g/dc6b543c1346/api.js

Do you have any idea why is this showing up? How can I get more information about the reason?

Universal Windows Platform (UWP)
{count} votes