krydos / todoist-linux

The Linux wrapper for Todoist web version. Unofficial!

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Google signing not working

Rahul7f opened this issue · comments

commented

image

Interesting. Thanks for the report @Rahul7f,
Did you try Ctrl+R to refresh the page as it stated in the message? I'm not sure if Ctrl+R will refresh the page but worth a try

Hi, I'm experiencing the same issue.
Ctrl+R does refresh the page but does not fix the issue.

EDIT: Nevermind, I just installed the newest version and it fixed the issue. I can now login without issue.

Installing on Ubuntu 18.04.3 LTS 64-bit
image
image
image
image

Even though it's a fresh install, I tried the CTRL+R, and just for giggles, CTRL+SHIFT+R and I get the same error.

I don't understand why it's using the YouTube API...
image
image

Believe it or not ... this problem also exists within the Windows 10 Beta. But not on the Windows App.

Same for me. Some Googling shows that it may be relatively easy to fix for one knowing Electron: https://stackoverflow.com/questions/59685927/electron-application-using-google-oauth-this-browser-or-app-may-not-be-secure

Same for me. Some Googling shows that it may be relatively easy to fix for one knowing Electron: https://stackoverflow.com/questions/59685927/electron-application-using-google-oauth-this-browser-or-app-may-not-be-secure

For what it's worth:

Apparently Google is restricting usage of Google sign-in in non-standard browsers (which presumably includes Electron) starting in Jan. 2021, and warns developers not to modify their browser's user-agent (which all three of the possibilities I mention do). Use at your own risk! (they don't make clear what outcome will result, but for my own use, I'm opting to use the alternative shown below from now on)

As an alternative to using a Google sign-in popup in your app (which some might be wary of, since Electron apps could in principle insert code into the popup to read the raw password -- not that it matters that much, since Electron apps could just install keyloggers or the like anyway), you could instead open a tab in the user's regular external browser, pointed to a special page that triggers a sign-in popup there, and then just sends the credentials to your Electron app afterward.

Instructions can be seen here (approach 3): https://stackoverflow.com/a/64328193/2441655