insanum / gcalcli

Google Calendar Command Line Interface
MIT License
3.26k stars 307 forks source link

you may lose access to apps that are using less secure sign-in technology #626

Open aristosv opened 2 years ago

aristosv commented 2 years ago

I'm assuming gcalcli wont be affected by this change, since it's using OAuth authentication?

Greenshot 2022-03-05 06 08 36

rrthomas commented 2 years ago

I've just been notified that gcalcli will indeed stop working because it uses OOB OAUTH2.

michaelmhoffman commented 2 years ago

I hope that before it stops working, there will be a simple and accepted way to solve this! Google's documentation is, as usual, relatively impenetrable.

jhilker98 commented 2 years ago

I hope so too, because I love this tool and use it daily.

felix-albrecht commented 2 years ago

The issue is that the deprecated library oauth2client is used for authentication. The suggested replacement is google-auth, see here... Has anyone attempted to adapt gcalcli for this?

ManuRS commented 2 years ago

Today the OAuth login is not working for me. Maybe the OOB problem is here. Is someone more facing this error? It just say "error", without a code, after select my google account in the web.

michaelmhoffman commented 2 years ago

@gopromaster Thanks for the tip on google-auth! If anyone can verify that switching will fix this, that information would be greatly appreciated. As would a pull request.

ManuRS commented 2 years ago

I was trying to open the link in Chrome as always. I finally tried with Firefox and still working. My bad for assuming that google services will work better with the google browser. Maybe was just an annoying cache bug on Chrome or something like that.

In any case, I would mark this issue as "important" or something like that. Because is true the library oauth2client is getting old and Google could discard OOB OAuth at any moment.

jhilker98 commented 2 years ago

I can fork the project and see what I can do - I've got a new machine coming in today, but once I get that set up I can work on it.

jhilker98 commented 1 year ago

I can fork the project and see what I can do - I've got a new machine coming in today, but once I get that set up I can work on it.

Unfortunately, been dealing with some really heavy stuff in my personal life, so I'm not sure I'll be able to work on it right now. I'm sorry all - I'll be archiving my fork, and when things improve I'll see what I can do.