SpacingBat3 / WebCord

A Discord and SpaceBar :electron:-based client implemented without Discord API.
MIT License
1.92k stars 95 forks source link

Infinite Captcha when logging in via QR Code #535

Open Spamakin opened 5 months ago

Spamakin commented 5 months ago

Acknowledgements

Operating System / Platform

🐧️ Linux

Operating system architecture

x64 (64-bit Intel/AMD)

Electron version

29.0.0

Application version

4.8.0

Bug description

When logging into Webcord using the QR code option, I get thrown into a captcha. Upon solving this captcha, I am immediately thrown into another one. No amount of solving these (as far as I can tell) lets me in. I am 100% confident I am solving them right.

Additional context

Logging in via email and password words fine and lets me use the app as normal.

SpacingBat3 commented 5 months ago

Any errors in DevTools? What about disabling built-in CSP?

Spamakin commented 5 months ago

I'm not sure how to enable DevTools. I will also add that this issue seems to only appear in wifi networks that I have not connected to before (such as coffee shops) which makes this hard to debug live. On my home and school networks there seems to be no issue.

SpacingBat3 commented 5 months ago

I will also add that this issue seems to only appear in wifi networks that I have not connected to before (such as coffee shops) which makes this hard to debug live. On my home and school networks there seems to be no issue.

Somehow this feels familiar for me for many pages that I've seen to be protected with the captcha.


I suggested checking DevTools / disabling CSP as I suspected there could be some interference with the Captcha request being accidentally blocked by WebCord with its current policy. But if it works for you in other scenarios... I guess it is a problem on Captcha side that Discord uses (eventually Cloundflare protections, I believe those also can sometimes introduce endless Captcha solving from my experience with public networks; I honestly can't tell much what occurs for you without any logs or screenshots).

SpacingBat3 commented 5 months ago

I'm not sure how to enable DevTools.

You should be able to enable this in the settings. Then, you might see Inspect in the mouse pop-up or press Ctrl+Shift+I to open it.