OAuth2/OIDC + MFA support for Cloudron Mail clients
-
Hi,
would it be possible to add modern authentication support for Cloudron Mail?
Cloudron already supports 2FA for the user account, but external mail clients using IMAP/SMTP still authenticate with either the platform password or an app password. App passwords are useful, but they are still just single-factor secrets.
It would be great if Cloudron Mail could support OAuth2/OIDC for IMAP/SMTP, so mail clients can use an MFA-capable login flow similar to Microsoft 365 or Google Workspace.
Useful options could be:
OAuth2/OIDC login for IMAP/SMTP
app passwords as fallback for legacy clients
admin option to disable platform-password login for mail
per-client/device revocationThis would make Cloudron Mail much more attractive for business use cases where password-only mail access is a security concern.
Thanks!
-
Hello @james, this is great to hear!
If it turns out that this cannot be added in time for the Cloudron 10 release, it would already be very helpful to at least have an option to disable the platform password for mail login, so users are required to use app passwords instead.
-
I second this request . My board of directors is concerned about the lack of 2fa on mail. I am glad that all of the other parts and apps of cloudron are fully protected (alas we canβt set password policies , but the 2fa requirement gets us an exception).
What are the blockers here ? Does roundcube support OIdC ? Would work need to be done in the cloudron core authentication / groups / permission layer ?
-
-
I think the main holdup is that there are hardly any mail clients out there that can make use of oauth 2.0 with providers other than google/microsoft/... I think the best way for now is to only allow app password logins for imap/smtp connections.
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better π
Register Login
