gpsoauth icon indicating copy to clipboard operation
gpsoauth copied to clipboard

Authentication problems with account on linux server

Open kyrlon opened this issue 9 months ago • 7 comments

I have no trouble logging into my account at home using my local network and an app password when I use the gkeepapi package. But when I try to move my code to an Ubuntu-running Azure server, I go through the browser authentication process after receiving the NeedsBrowser error, and Google says that my attempt to log in is unsuccessful. I confirm that this is me and continue, but the authentication hangs here when I use Chromium browser via X11. image

Does anyone else have this issue as well?

kyrlon avatar Nov 10 '23 02:11 kyrlon

Yes, me too!

arvid-r avatar Nov 23 '23 06:11 arvid-r

Me too.

My gkeepapi depending app running on raspberry pi encounters NeedsBrowser error. The authentication url does not work properly with hanging up displaying "one moment please".

installed gpsoauth version is 1.0.4

airosB avatar Dec 09 '23 18:12 airosB

Can you check if this is started with update of gpsoauth to 1.0.4? Does rolling back to 1.0.3 helps?

KapJI avatar Dec 11 '23 12:12 KapJI

I tried this sample code: https://github.com/kiwiz/gkeepapi/issues/123#issuecomment-1849322235

Both of gpsoauth 1.0.4 and 1.0.3 cause the same NeedsBrowser error.

airosB avatar Dec 11 '23 16:12 airosB

Rolling back to 1.0.2 helps for me.

flecmart avatar Dec 15 '23 13:12 flecmart

Rolling back to 1.0.2 helps for me.

I've attempted this not in a container but on Debian 11, but still get the error gkeepapi.exception.ParseException: Parse error in <class 'gkeepapi.node.WebLink'> stating that there is a key error

Exception has occurred: ParseException
Parse error in <class 'gkeepapi.node.WebLink'>
KeyError: 'title

kyrlon avatar Dec 17 '23 21:12 kyrlon

Rolling back to 1.0.2 helps for me.

This also works for me. However, it makes it impossible to deploy with the current version of gkeepapi as it's pip package requires >=1.0.3.

DrMikeyS avatar Jan 15 '24 12:01 DrMikeyS