add nextcloud provider file

Bug #1588850 reported by Danielle Foré
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Switchboard Online Accounts Plug
Confirmed
Wishlist
Unassigned

Bug Description

depends on https://bugs.launchpad.net/switchboard-plug-onlineaccounts/+bug/1588844

Sounds like at the moment nextcloud support card and caldav. Requires a url to point to the server, then of course the auth.

Changed in switchboard-plug-onlineaccounts:
importance: Undecided → Wishlist
status: New → Confirmed
Revision history for this message
Danielle Foré (danrabbit) wrote :

From Lukas in slack:

So starting with the development release you can send a `POST` to `/token/generate` containing:

- user: Username
- password: User password
- name: Name of the client (for example "Most awesome Elementary Sync-thingy")

Then you will get back a 128 character random token in a JSON array. The token is mapped to an element called `token`. You can then use that token to authenticate against the APIs. You can do this by using it simply as a password and use the normal username.

 if the API by any case returns a cookie you should just resend this as well. We are for example considering adding Same Site Cookies as a security feature and in that case it would be awesome if the client would be clever enough to notice: "We got a cookie so we need to resend it".

The best way to test the implementation is probably to download a daily release from https://download.owncloud.org/community/daily/owncloud-daily-master.tar.bz2 and test against it.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.