GithubHelp home page GithubHelp logo

Comments (12)

tdryer avatar tdryer commented on June 27, 2024

Have you tried with a PIN rather than a backup code? Have you tried logging in with a browser first?

I don't think the auth code logs any private info, but it's not likely to be very helpful either.

from hangups.

uriel1998 avatar uriel1998 commented on June 27, 2024

Sorry I wasn't clear! Yeah, I was using the PINs generated by Authy. I've never had any problems with that. Successfully logged in with Chrome, Iceweasel (Firefox), and elinks2 to various Google services. I got a password check when trying

https://accounts.google.com/SecondFactor?continue=https%3A%2F%2Ftalkgadget.google.com%2Ftalkgadget%2Fgauth%3Fverify%3Dtrue&checkedDomains=youtube&pstMsg=0&skipvpage=true

which got me a page saying

You have logged in successfully. You can now refresh the page containing the Google Talk gadget and close this window.

But still no dice from hangups. It seems to be getting 301 and 302 errors from the connections at the end of the log. :/

from hangups.

tdryer avatar tdryer commented on June 27, 2024

Can you try logging in with just your Google username rather than the full email address? Might be related to #35.

from hangups.

uriel1998 avatar uriel1998 commented on June 27, 2024

No-go. :( I'm guessing that if I turn off 2-factor, sign in, and then turn it back on again I'll be back at this same place, huh?

from hangups.

GermainZ avatar GermainZ commented on June 27, 2024

Are you using an app specific password? If so, can you try without?

from hangups.

tdryer avatar tdryer commented on June 27, 2024

I'm guessing that if I turn off 2-factor, sign in, and then turn it back on again I'll be back at this same place, huh?

I think so, yes.

Are you using an app specific password? If so, can you try without?

I'm pretty sure app specific passwords don't work.

from hangups.

uriel1998 avatar uriel1998 commented on June 27, 2024

I've tried both app-specific and using the PIN from Authy. FWIW, I just set up another computer's gcalcli just fine, but it used a different auth method. The app-specific password was recognized as being used, but wasn't accepted. I'll try setting this up on the other system just in case there's something else weird I'm missing.

from hangups.

tdryer avatar tdryer commented on June 27, 2024

If you'd like to use hangups before this gets fixed, here's a template for cookies.json. You can steal the relevant cookies from your browser using the dev tools.

{
  "SSID": "",
  "SAPISID": "",
  "HSID": "",
  "SID": "",
  "APISID": "",
  "NID": ""
}

from hangups.

hughdavenport avatar hughdavenport commented on June 27, 2024

I played with this last night. I get same issue with PIN, using master password, then code generated by google authenticator. Logging in manually works fine.

I tried using a app specific password, and doesn't work, and trying manually gives an error saying use master password.

Would be good if we could not have to use master password, but we rely on the cookies right? How does the autosignin in chrome/ff on an android phone actually work, as I don't put in my master pass on there at all afaik.

In mean time will grab the cookies. I'm very keen to use this library. Was thinking of making a xmpp gateway type thing so you can have [email protected] where hughdavenport is you, and joesmith is a contact you want to contact via hangups. This approach could work with group chats as well, and you could do this all with your own xmpp server and a gateway to hangouts! (very up in the air on this atm, but keen to work on it over the break).

Cheers,

Hugh

from hangups.

tdryer avatar tdryer commented on June 27, 2024

There's a new auth implementation on the robobrowser-auth branch that might be more reliable. Switching to this branch will require a re-install because of dependency changes.

If it still doesn't work, try logging in from python -m hangups.auth and post the log output from stdout.

from hangups.

HenryHu avatar HenryHu commented on June 27, 2024

I hit the same problem that after entering the PIN, it says "second factor failed".
After switching to robobrowser-auth it logged in successfully.

from hangups.

uriel1998 avatar uriel1998 commented on June 27, 2024

Robobrowser worked for me as well.

from hangups.

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.