Comments (12)
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.
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.
Can you try logging in with just your Google username rather than the full email address? Might be related to #35.
from hangups.
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.
Are you using an app specific password? If so, can you try without?
from hangups.
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.
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.
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.
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.
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.
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.
Robobrowser worked for me as well.
from hangups.
Related Issues (20)
- docker image out of date. HOT 7
- Some requirements are pinned to outdated versions HOT 1
- Slew of deprecation warnings for protobuf descriptors HOT 6
- Login error: Failed to find form '#gaia_loginform' in page HOT 1
- AttributeError
- Card messages HOT 1
- Potential Security Issue
- Feature request: Allow to get OAuth token from environment variable
- Attribute Error HOT 1
- Message 'Conversation' ignoring field force_history_state: Unknown enum value: 2 HOT 4
- NetworkError: Request return unexpected status: 429: quota exceeded HOT 2
- How to Send Newlines? HOT 6
- not receiving incoming messages HOT 3
- Sending embed/file in google chat causes exception HOT 1
- AttributeError: 'ConversationEventListWalker' object has no attribute 'positions' HOT 1
- ignoring field type: [] has type list, but expected one of: int, long HOT 2
- Logging Not Working HOT 1
- Name 'fcntl' is not defined HOT 1
- Google Hangouts API has been shut down HOT 17
- support for spaces chats HOT 6
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from hangups.