rogora / hangish

A Google Hangouts native client for Sailfish
38 stars 7 forks source link

Problem with authentication process #44

Closed eohulse closed 7 years ago

eohulse commented 8 years ago

I deleted my token this morning, but could not obtain a new one anymore. Now when I start hangish I'm redirected to a page with an error message: Error: invalid_scope Not authorized to request scopes: [https://www.google.com/accounts/OAuthLogin]

Apparently this issue is happening for a week, with other third party apps that try to connect to google hangouts (https://productforums.google.com/forum/m/%23!topic/hangouts/LU2YZNDhN_s&sa=U&ved=0ahUKEwjdlNvfvYXPAhVIC5AKHYO6ATgQFggLMAA&usg=AFQjCNGDOVg9FO_L9foCBuKrsmac_vxBlA) It seems that the scope has to be changed... For now it is better not to delete the token as I did.

eohulse commented 8 years ago

the link above is bad, this is one should work, https://productforums.google.com/forum/m/#!topic/hangouts/LU2YZNDhN_s

rogora commented 8 years ago

Thanks for reporting this. I'm afraid I don't have time to look for a solution to this problem, but if any solution is found, I'll be happy to update hangish.

In the meantime, if you want to continue using hangish, I suggest you to get an authentication cookie with your computer, and create the authentication cookie for hangish yourself.

abranson commented 8 years ago

Does the new version fix this? It's definitely fixed my conversations list. Thanks!

rogora commented 8 years ago

I'm afraid it doesn't. I haven't had time to work on this yet

eohulse commented 8 years ago

I managed to get an authentication cookie, but could you advise me on how should I format the file to place it and also where should I place it within the sailfish file system? Thanks!

PS: Apparently some are using an workaround to get through the authentication process. [https://github.com/tdryer/hangups/issues/260#issuecomment-246578670]

rogora commented 8 years ago

Should be fixed with 326197025787871a4cd8e5f3eb59005cefa6ba56. Let me know if you cannot authenticate with the new procedure

abranson commented 8 years ago

I get "Error L3" when trying to log in

rogora commented 8 years ago

Thank you very much for trying. Apparently you get an error code from Google when you send your credentials. I was afraid this kind of errors could arise dropping the webview authentication, but unfortunately Sailfish doesn't allow for anything simpler.

Would you mind helping me debugging this issue trying a debug version of hangish and sending me the (obfuscated) logs?

abranson commented 8 years ago

No problem at all. It might be an idea to try the new Gecko Webview in Sailfish when that's ready - maybe that won't suffer from this ban.

rogora commented 8 years ago

Could you send me your email address?