[KSMTP] OAuth support
Closed, ResolvedPublic

Description

Add OAuth support to KSmtp. We already have the SASL plugin in kdepim-runtime and KSmtp has SASL support, so it's just about adding new values to the mech enum and adjusting UI in MailTransport. The SASL plugin could probably be moved to libkgapi, which is a hard dependency of PIM now anyway and is a good central place for this.

The trick is to try to share the OAuth token with the IMAP resource, because I'm not sure if otherwise there won't be problem with IMAP and KSmtp fighting over a valid token for the same app keys. Again, I wonder if I should add some token store/handler to libkgapi to make that easier or if we should start looking into having some centralized account management or token provider for whole KDE PIM (backed by kwallet or whatever) so that stuff like OAuth tokens are not bound to individual apps or resource instances.

dvratil created this task.Apr 10 2018, 9:00 AM
dvratil moved this task from Backlog to In Progress on the KDE PIM board.Apr 21 2018, 2:57 PM
knauss edited projects, added KDE PIM (Applications 18.08 (master)); removed KDE PIM.
knauss moved this task from Backlog to In Progress on the KDE PIM (Applications 18.08 (master)) board.
knauss assigned this task to dvratil.
knauss closed this task as Resolved.Aug 16 2018, 3:22 PM
knauss added a subscriber: knauss.

This feature is fixed within 18.08.0