Zyrenth / DiscordLauncher

Ever wanted to go back to the old versions of Discord? Not a problem, go back as early as 2019 using this program.
GNU General Public License v3.0
9 stars 0 forks source link

The captcha loops when creating an account. #1

Open my3u opened 5 months ago

my3u commented 5 months ago

The captcha loops when creating an account

All versions have this issue.

If there is a place to enter the API key for captcha, could you please let us know where it is?

This text is translated by DeepL, please note that there may be some oddities.

Zyrenth commented 5 months ago

Hey, thanks for raising this.

Captchas currently don't work on Discord Launcher, this is because the captchas are specifically meant for the discord.com domain so because of this hCaptcha refuses to work outside of that configured domain. This probably could be solved by patching the captcha script and proxying its requests so it thinks it's operating on discord.com instead of localhost.

The current easy fix is registering/logging in on discord.com and then copying the account token from the local storage and manually setting it for Discord Launcher, however, there isn't really another solution for other endpoints (such as when you join a guild) so you just have to hope it doesn't ask for a captcha there or you can join the guild on discord.com and browse it on Discord Launcher after that.

For older versions that use reCaptcha, I don't know if there is a permanent solution like for hCaptcha but you still can use the tricks that I mentioned above for hCaptcha.

I'm currently not planning on fixing this because I'll probably make a V2 version of this that will be easier to use and will probably have a patch for hCaptcha. (I don't have an ETA for V2 though.)

If you have other questions feel free to ask them. 👍

my3u commented 5 months ago

Thanks for your reply! I didn't realize there was such a backstory to the captcha... Keep up the good work on the development!