thingpedia-common-devices icon indicating copy to clipboard operation
thingpedia-common-devices copied to clipboard

Ical with authentication

Open szimszon opened this issue 6 years ago • 2 comments

Hi, I wonder if someone could help me. How could I subscribe to a calendar in Horde/Nextcloud? Can I setup authentication credentials somewhere? Thank you!

szimszon avatar Jul 17 '18 16:07 szimszon

The icalendar support we currently have does not have authentication, and instead relies on preauthenticated URLs if you want to access private calendar. This is how you can access Facebook Birthdays or Facebook Events, for example.

For something like NextCloud, it would make sense to have a separate device that is tied to a nextcloud server, account and password, with nextcloud branding. Do you know how NextCloud authentication works? Does it use OAuth?

gcampax avatar Jul 18 '18 03:07 gcampax

Hi, Thank you for your prompt replay.

In my opinion the device should be a generic iCal / CalDav (https://en.wikipedia.org/wiki/CalDAV) device with basic authentication (https://en.wikipedia.org/wiki/Basic_access_authentication) support because Nextcloud calendar app is "based on the great davclient.js, ical.js and fullcalendar libraries" (https://github.com/nextcloud/calendar/). So there is nothing special about it. Also Horde's calendar use the CalDav standard (https://www.horde.org/) with http basic authentication.

And another thing is the CardDav (https://en.wikipedia.org/wiki/CardDAV) which is the same protocol just for contacts.

szimszon avatar Jul 18 '18 06:07 szimszon