gpsoauth
gpsoauth copied to clipboard
Authentication problems with account on linux server
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.
Does anyone else have this issue as well?
Yes, me too!
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
Can you check if this is started with update of gpsoauth to 1.0.4? Does rolling back to 1.0.3 helps?
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.
Rolling back to 1.0.2 helps for me.
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
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.