Closed wentasah closed 7 years ago
The new endpoint requires OAuth2 authentication. This is not supported in Emacs proper, though there exists a library for it in GNU ELPA.
I guess I could extend org-caldav to use this library, but after looking around for roughly an hour on Google, using the new endpoint with OAuth2 isn't straightforward at all. It seems I have to register org-caldav as an application, which also for some reason requires giving Google my cell phone number, which I won't do. Also, the application is restricted to limits like 5 requests per second, which will lead to errors during the initial sync. Unless I pay for it, of course...
I find it pretty ridiculous that I should have to jump through hoops like this just to sync a calendar, especially since I don't use it. So it seems that when the old endpoint stops working, this is it for Google Calendar sync, unless someone else wants to implement it.
You are not required to create application. It's better to ask users that want to use OAuth2 to create their own applications if they wish to use new endpoint. So 5 requests per second is good enough for almost all users.
As example, there is org-gcal
that works with new end point.
Is anyone else interested in merging org-gcal functionality into org-caldav?
Since Google does no longer require cell phone numbers for registering a CalDAV application, I've added that functionality. Every user will still need to register its own application with Google, though (see README).
Hello,
https://developers.google.com/google-apps/calendar/caldav/v2/guide says that https://www.google.com/calendar/dav endpoint is deprecated. One should use https://apidata.googleusercontent.com/caldav/v2/calid/events instead. I tried to
and modified the source like this:
I ended up with an error:
Any idea why is that? With the old endpoint, everything works.