2 hours ago · Tech · hide · 0 comments

I’ve completed development work on OAuth support in pimsync. The implementation has been tested primary with NextCloud (both its built-in OAuth provider and the OIDC plugin), but should be usable with any CalDAV/CardDAV server using OAuth for authentication. It should also work with Google’s flavour of CalDAV, although this has yet to be tested. At this point, mostly the documentation is missing — the reference-level documentation is there, but a friendlier “how to” guide covering all the details is still pending. It’s both definitely planned and quite necessary. Implementation details[permalink] I wrote a sans-io OAuth library in Rust, liboauth, which is essentially a state-machine for the whole authentication process. This is usable with any Rust HTTP client, including hyper, which is the HTTP implementation of choice for pimsync. liboauth v0.1.0 has been published to crates.io, and its integration tests use NextCloud as a server. It’s possible that it might need extra tweaking as…

No comments yet. Log in to reply on the Fediverse. Comments will appear here.