sawhney17 / logseq-calendars-plugin

MIT License
130 stars 18 forks source link

Google Workspace accounts? #13

Open rosslaird opened 2 years ago

rosslaird commented 2 years ago

On my Google Workspace account, I am not able to add an ical file as shown in the Readme. Sharing a calendar requires login credentials. Do you plan to add this type of setup (I'm not sure what it's called, exactly -- OAuth2, maybe)? As I recall from using orgcaldav, for this method I think you need to register an application with the Google Developer Console and use Google's CalDAV API. Or maybe there is a way to do it via the browser directly, as many apps do (browser window pops up, Google asks for authorization, click OK).

sawhney17 commented 2 years ago

Implementing oauth would require either the user to be running a node server on their machine or the use of a callback URL which the logseq api doesn't support yet. I'll definitely keep an eye on the this feature request but it won't be possible with the current state of the API.

zhengyu-yang commented 2 years ago

Outlook oAuth is also very welcome!

zhengyu-yang commented 1 year ago

Is there any update on this? :)

IvanMM-TheBreachStudios commented 1 year ago

I'm finding the same problem (it complains of URL not fund) but I can download the ical file with that URL from a private browser session. To be sure I even tested in edge instead of chrome, so you can access that .ical without authentication.

Ok, after 24h now the plugin works fine and populates the day.