Yakyak: Error: invalid_scope

Created on 30 Aug 2016  Â·  52Comments  Â·  Source: yakyak/yakyak

Suddenly i cannot open yakyak.

All i get is a page with the following info:

400. That’s an error.

Error: invalid_scope

Not authorized to request the scopes: [https://www.google.com/accounts/OAuthLogin]

Learn more

Request Details
=
scope=https://www.google.com/accounts/OAuthLogin
response_type=code
redirect_uri=urn:ietf:wg:oauth:2.0:oob
client_id=936475272427.apps.googleusercontent.com
That’s all we know.
bug help wanted

Most helpful comment

We need yakyak more than ever. The new hangouts extension is an abomination.

I get the above error as well.

All 52 comments

Same for me, I just changed my Google account password and think that it may be related to that.

I am getting this issue too, I just downloaded it and ran it. On startup, a loading indicator shows and then this error. OAuthLogin failing would make sense considering I hadn't even gotten to connecting my google account

edit: I am running the most recent Yakyak binary (1.3.1, x64) on windows 10 Pro ver. 1607

Should also mention I'm on Mac OSX El Capitan 10.11.6 running yakyak Version 1.2.5 (1.3.1)

@davehalladay i did just activate two factor authentication, but i created a new user (in Linux), ie no previous config, and tried starting yakyak with the same result.

I'm getting the same on OSX (both Yosemite and El Capitan) and haven't changed my password or enabled 2-factor auth.

Also getting this after deleting my ~/.config/yakyak folder on Linux.

I just discovered YakYak and downloaded the app. When running it for the first time, I get the same error than @lohfu (OS X 10.10.4).

same error. just discovered and downloaded so i haven't signed in yet, although I have also recently (in the last 10 minutes) changed the password to one of my accounts. El capitan 10.11.6

This is the error I get when I get this screen.

hconnect
reconnecting 0
resolving proxy http://plus.google.com
resolving proxy https://plus.google.com
resolved proxy DIRECT
resolved proxy DIRECT
asking for login credentials
2016-08-30 19:57:54 WARN no SAPISID cookie
2016-08-30 19:57:54 WARN no SAPISID cookie
2016-08-30 19:58:10 WARN no SAPISID cookie
2016-08-30 19:58:10 WARN no SAPISID cookie

Google has changed something :>

On windows 10 x64,

@davibe "_Yes, google did something_"

123

Yakyak is based on hangupsjs which is a port of https://github.com/tdryer/hangups to js. They have the same issue https://github.com/tdryer/hangups/issues/260 so this is affecting many google hangout based project in both python and js.

are you going to merge hangupsjs to YakYak ever? @davibe

First time trying it here on ArchLinux, got same error, the application is unusable.

It's a general issue with third party clients as of now: https://productforums.google.com/forum/#!topic/hangouts/LU2YZNDhN_s. I guess we only have to wait until this is settled?

Is there any update for fix this?. The app is useless if I cant login to Hangouts 😞

Having the same issue as well.

image

It seems like Google disabled OAuth for all third party applications

[redacted] - see source for what I mentioned but it is unfounded anyway so 😅

Source

It seems like Google disabled OAuth for all third party applications

No, that's just baseless speculation by someone who is neither a third party developer nor a google employee, it's not any sort of official statement.

If anything, it's more likely it's google doing internal unrelated changes. There is no official support for third party applications, they just don't care. We just use a reverse engineered implementation of the oauth flow used by the iOS hangouts app. They changed something in it, and we have to figure out what changed.

The reason why it affects all third party applications is that everyone copied the same auth flow from hangups.

No, that's just baseless speculation by someone who is neither a third party developer nor a google employee, it's not any sort of official statement.

Ah ok, I apologize. I do not wish to misinform

@dequis thanks for this clarification. What a sad state of matters to develop =/

same issue here =/

I was running version 1.2.5 at home without problems. At work I was using 1.2.1 and it crapped out beginning of week with all the aforementioned ailments. On a hunch, I packaged my home profile yakyak in the appdata/roaming folder (need to unhide everything) and the program files and unpacked them/replaced them at work and everything is working fine.

Update. Cookies.json needs to be populated. Note: I'm no programmer. Just seeing what and what doesn't work. -B

The same error in debian.
captura de pantalla de 2016-09-04 11-32-13

I guess no more reports of "same here" are needed. It seems clear it's happening for many.

Any way to manually create the config on MacOS 10.11.6?

It happens when you change your password or switch to 2-factor auth (or revoke/invalidate YakYak's Google oAuth token in any other way).

It should be handling that exception (start the onboarding process again), but it doesn't.

For any new user of YakYak it's also not gonna work either.

has this been fixed yet... pleeeease!?

nop i dont know how to fix that issue..

_Anish M Alias_

_http://codehints.in/ http://codehints.in/_
https://anishalias00.wordpress.com/

On Tue, Sep 6, 2016 at 11:33 AM, Andy [email protected] wrote:

has this been fixed yet... pleeeease!?

—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/yakyak/yakyak/issues/358#issuecomment-244857450, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AGajfgLdG3zTlMbEAwNRZ5OnE9bLLa7Cks5qnQJJgaJpZM4JwfKY
.

It looks like an authentication problem... I think they'll fix it soon

The chrome hangout extension was updated, which also seems to have changed the authentication/hangout process.

http://googleappsupdates.blogspot.com/2016/08/a-new-google-hangouts-chrome-extension.html

We need yakyak more than ever. The new hangouts extension is an abomination.

I get the above error as well.

Same problem here...

$ ./yakyak 
hconnect
reconnecting 0
resolving proxy http://plus.google.com
resolving proxy https://plus.google.com
resolved proxy DIRECT
resolved proxy DIRECT
asking for login credentials

"400. That’s an error.
Error: invalid_scope
Not authorized to request the scopes: [https://www.google.com/accounts/OAuthLogin]"

@ricardoamaro he knows it doesn't work. Read the thread. We don't need more me too posts.

I noticed @mydongistiny . Thanks. This is an important piece of software that i can only think it would be important to confirm the root cause, so we can know where to watch. If that's indeed Google's problem where should we complain?

@ricardoamaro there's no place to complain. AFAIK this software and other third party clients are built by reverse engineering the official one.

Alternative fix: convince everyone to move away from Google's lock-in chat client.

Looks like @dequis found a workaround: https://github.com/tdryer/hangups/issues/260#issuecomment-246578670

Confirmed that if you grab the auth using the mentioned method and hardcode it into src/login.coffee, the app works as expected.

Given how yakyak uses electron and can load full web pages, it may be possible to integrate this the way it was intended to - in a webview, with something outside of the frame grabbing the cookie just like the iOS app does.

So you're lucky there, but for the rest of the hangups users we still have to find something better.

Are there new binaries available?

1.3.2 is in prepublish right now. Can you try and confirm it works so i can make it "public" ?

The OSX zip is a bit weird. Getting this error when I try to extract it:

screen shot 2016-09-13 at 11 24 23 am

1.3.2 works for me.

(the OS X app works if you unzip it from the command line)
If you log in using 1.3.2, then sign out, you return to the loop of 400 invalid_scope

Tried 1.3.2 on win32_x64, works lovely

Built on Debian 8, seems to be working. The first time running it just hung on "Connecting..." after logging in, but after a restart it's good :+1:

(the OS X app works if you unzip it from the command line)

That worked, thanks! App's working great so far, OSX 10.11.6

Hi!

First of all, thanks for your amazing job.

Unfortunatly, the 1.3.2 doesn't work for me.
It was my first install of YakYak on my OS X 10.11.6. Never logged thought the app so.
I have: "400. That’s an error.
Error: invalid_scope
Not authorized to request the scopes: [https://www.google.com/accounts/OAuthLogin]"

Thanks for your help.

Works for me. First time user, never connected, OS X 10.10.4.

1.3.2 is good on Ubuntu 16.04 too. I had the 400 error before upgrading.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

austin-guevara picture austin-guevara  Â·  6Comments

pricelessbrewing picture pricelessbrewing  Â·  6Comments

ivanatpr picture ivanatpr  Â·  5Comments

brian163 picture brian163  Â·  4Comments

fuckchinaOK picture fuckchinaOK  Â·  3Comments