Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature request: Single Sign On (SSO) support #583

Open
1 task
ghost opened this issue May 5, 2023 · 2 comments
Open
1 task

Feature request: Single Sign On (SSO) support #583

ghost opened this issue May 5, 2023 · 2 comments
Labels
new feature New feature.

Comments

@ghost
Copy link

ghost commented May 5, 2023

Use case

When selfhosting a number of services, having many different credentials does not make much sense and becomes cumbersome, so I use an SSO provider to login instead.

Your idea for a solution

Support SSO providers via Open ID Connect to login (and maybe signup?) to maddy.

  • I'm willing to help with the implementation
@ghost ghost added the new feature New feature. label May 5, 2023
@foxcpp
Copy link
Owner

foxcpp commented Aug 22, 2023

Probably related: #169

@artooro
Copy link

artooro commented Feb 11, 2024

I've been thinking of getting into self-hosting email again, and the main drawback is the lack of modern authentication with support for security keys and other 2nd factors.
OAuth2 would fix this, except that the ecosystem doesn't appear ready for it yet. Looking at https://wiki.mozilla.org/Thunderbird:Autoconfiguration:ConfigFileFormat they cite a lack of an open protocol to discover and establish a trust relationship with the OAuth2 server, as generally each client needs a key generated by the OAuth2 server.
OpenID does have the well-known protocol https://openid.net/specs/openid-connect-discovery-1_0.html#ProviderConfigurationRequest but it does not seem to be supported by email clients currently.

Fastmail for an example supports OAuth2 on their servers, but requires each email client to specifically register with them.
https://www.fastmail.com/for-developers/oauth/

So as of today I don't see much of a path forward in regard to doing proper OIDC with third-party email clients.

If we were talking about a webmail client it would be a different story of course. And if I'm wrong that would be awesome 😄

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
new feature New feature.
Projects
None yet
Development

No branches or pull requests

2 participants