Giter Club home page Giter Club logo

Comments (5)

babyquin avatar babyquin commented on June 14, 2024 1

is there any way to fix this problem?. thanks

from raccoon4.

onyxbits avatar onyxbits commented on June 14, 2024

For support, please open a support ticket (Help|Support menu).

from raccoon4.

jpstotz avatar jpstotz commented on June 14, 2024

It looks like the authentication workaround using the special configured cipher suites has some limitations. I also encountered this problem even after allowing "Less Secure apps" in the Google account.

For future there may be an alternative way to fix such issues:

Looking at the traffic of latest Play Store app the authentication scheme has completely changed. Instead if the "Authorization", "GoogleLogin auth=" + token } header the app now uses as value "Bearer " + some base64 encoded data.
This looks like standard oAuth authentication, if it really is standard oAuth then this would be an opportunity:

oAuth only requires password based authentication on the first time, afterwards you only need the authentication and refresh token. That would mean Raccoon could just use those tokens for authentication and even saving the password no longer be needed.

And for the first authentication it would be possible to use web-based authentication, e.g. by using an already installed web-browser or alternatively some WebView element integrated in Raccoon (unfortunately plain Java does seem to provide a WebView, only JavaFX or SWT does provide one). Then for initial login the same web page could be used that is used on an Android device to authenticate and get the oAuth token and afterwards the authentication would not be a problem anymore.

from raccoon4.

onyxbits avatar onyxbits commented on June 14, 2024

Looking at the traffic of latest Play Store app the authentication scheme has completely changed. Instead if the "Authorization", "GoogleLogin auth=" + token } header the app now uses as value "Bearer " + some base64 encoded data.
This looks like standard oAuth authentication, if it really is standard oAuth then this would be an opportunity:

It is a standard oAuth2. The Base64 data is the old auth token.

The problem starts sooner though. The BadAuthentication error does not come from Play, but from Google's account manager.

And for the first authentication it would be possible to use web-based authentication, e.g. by using an already installed web-browser or alternatively some WebView element integrated in Raccoon.

AFAIR Google throws a giant piece of JavaScript at the browser that is suppose to do Bot detection. So nothing short of a real browser will work.

from raccoon4.

jpstotz avatar jpstotz commented on June 14, 2024

AFAIR Google throws a giant piece of JavaScript at the browser that is suppose to do Bot detection. So nothing short of a real browser will work.

I am aware that this login page performs contains a lot JavaScript. Therefore I suggested to use a WebView. From my perspective a WebView is a full-fledged web browser embedded as component into an application. I don't know how the JavaFX WebView works but the SWT version uses the built-in web browser of the OS. On Windows for example the IE engine or if installed the Edge WebView2 engine.

from raccoon4.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.