mapero / node-red-contrib-hangouts

5 stars 3 forks source link

400 error when I click on the OAuth Link #13

Open broo0ose opened 7 years ago

broo0ose commented 7 years ago

Hi, I'm trying to set up a new Hangout. I get a 400 error when I click on the OAuth Link. Am I missing something? I'm using Chrome logged into my Google account. Thanks Bruce

Edit: Error: invalid_scope

mapero commented 7 years ago

This is a known error due to changes in the authorization process at google. All third party libraries and clients for hangout have this problem. See:

OAuth invalid scope

broo0ose commented 7 years ago

thanks for the reply. After a bit of Googling I can see this is a major issue for a number of projects. I guess it kills this node until Google decides to fix it.

mapero commented 7 years ago

Thats true for new deployed flows. Existing flows should still work until the token gets invalid.

Eeems commented 7 years ago

Looks like there is a workaround according to the link you gave @mapero https://github.com/tdryer/hangups/issues/260

broo0ose commented 7 years ago

thanks @Eeems that works.

juancgalvez commented 7 years ago

Hi @mapero. Do you have any plan to fix it? Did anyone fix it in code that could share?

mapero commented 7 years ago

@juancgalvez Hi. I stopped using this and switched to telegram. Google does not provide any API documentation and it is only a matter of time until google changes something again and the hack breaks again. With the workaround it still should work.

Still I am open for pull requests.

juancgalvez commented 7 years ago

@mapero. Thank you for the information. I will give it a try and switch.