Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Registration Fails Requiring Captcha but Provides no Captcha URL #237

Open
TwilightCitizen opened this issue Oct 9, 2023 · 2 comments
Open
Labels

Comments

@TwilightCitizen
Copy link

The title very nearly captures it all. When the register() method of a KikClient is called with pertinent details of an unregistered account (excluding captcha_result), on_register_error of the client's callback fires, indicating that captcha is required. However, no captcha URL is ever provided, essentially rendering the client's register method useless.

Is there some other way to trigger a captcha or obtain a captcha URL for this? Could the result of a captcha from something like a login attempt on another registered account be used, or is the captcha stateful with respect to the type of request?

@bluemods
Copy link
Contributor

Captcha tokens (urls) are bound to the username, they cannot be taken from one username and be used to solve for a different account.
There's likely a bug in the captcha parsing / handling in this repo preventing the captcha_url from being provided.

@tomer8007 tomer8007 added the bug label Nov 20, 2023
@tomer8007
Copy link
Owner

tomer8007 commented Nov 20, 2023

I would enable debug logs and print out the raw response to registration to figure out the problem.
This is the logic:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants