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

CaptchaRequired #23

Open
matlink opened this issue Nov 4, 2019 · 11 comments

Comments

@matlink
Copy link

@matlink matlink commented Nov 4, 2019

Hello,
Google asks me for Captcha using token dispenser like this

com.github.yeriomin.playstoreapi.AuthException: Auth error body: Error=CaptchaRequired

How can it be handled?
Thank you.

@archon810

This comment has been minimized.

Copy link

@archon810 archon810 commented Nov 6, 2019

Getting the same all the time now.

@archon810

This comment has been minimized.

Copy link

@archon810 archon810 commented Nov 6, 2019

Is it possible Google is looking at the user agent as well now, and the dispenser doesn't seem to be setting any? @yeriomin Any ideas?

@matlink

This comment has been minimized.

Copy link
Author

@matlink matlink commented Nov 6, 2019

@archon810

This comment has been minimized.

Copy link

@archon810 archon810 commented Nov 6, 2019

I've tried 5 different servers and 2 different accounts and they all have the captcha challenge. It used to only pop up if you haven't set up 2FA and app specific passwords, with a link to solve the Captcha, but now it's happening to app specific passwords too, and there's no link to solve the Captcha anymore.

@exofelipe

This comment has been minimized.

Copy link

@exofelipe exofelipe commented Nov 6, 2019

Having the same problem here, but I'm getting a link to solve the Captcha
2019-11-06 09:59:39:569 -0200 WARN com.github.yeriomin.tokendispenser.Server - com.github.yeriomin.playstoreapi.AuthException: Auth error body: Error=CaptchaRequired CaptchaToken=xxxxxxxxxxxxxxxxxxxxxx CaptchaUrl=https://accounts.google.com/Captcha?ctoken=xxxxxxxxxxxxxxxxxxxxxx&v=2
(changed the actual token to xxxxxxxxxxxxxxxxxxxxxx for obvious reasons)
It used to work before, but now every single account is showing this error. How do you handle these links? No 2FA enabled

@archon810

This comment has been minimized.

Copy link

@archon810 archon810 commented Nov 7, 2019

Right, the link just shows the Captcha image, that's all. Not sure how to proceed.

@archon810

This comment has been minimized.

Copy link

@archon810 archon810 commented Nov 7, 2019

@tclavier

This comment has been minimized.

Copy link

@tclavier tclavier commented Nov 13, 2019

An other option, deploy an application they upload apk from rooted phones ?

@hoffie

This comment has been minimized.

Copy link

@hoffie hoffie commented Nov 23, 2019

I have analyzed this issue in another project which uses the same API (Android App Aurora Store). My results so far are that Google seems to decide whether to require a Captcha by analyzing TLS protocol details. More specifically, I was able to make it work by forcing specific ciphers and disabling ALPN.

I still have to figure out how to convince Java to set the proper TLS options (only did it successfully in Python so far).

I am detailing my results here: https://gitlab.com/AuroraOSS/AuroraStore/issues/217#note_249390026

@matlink

This comment has been minimized.

Copy link
Author

@matlink matlink commented Nov 23, 2019

@hoffie Very nice! I hope you can come back here and post results when you have found a clean solution to this! Thanks!

@hoffie

This comment has been minimized.

Copy link

@hoffie hoffie commented Nov 27, 2019

Aurora Store seems to use a different login method now (/EmbeddedSetup with OAuth?), as does microg:
https://gitlab.com/AuroraOSS/AuroraStore/commit/1d7a82b01976041a83b5cbcef16ccd418e0b1225

Therefore, I'm currently no longer working on this, but happy to provide any relevant details from my tesst.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
5 participants
You can’t perform that action at this time.