Mailu / Mailu/Mailu

Redesign the authentication systems

Open
#783 26 comments 41 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

priority/p2 type/enhancement type/security
Dominant language
Python
Stars
7.5k
Forks
999
PR merge metrics
No merged PRs in 30d

Description

This issue is to enhance the security of authentication within Mailu. It is based on a small brain-storming session me and @kaiyou had.

In order to properly secure and manageable 2fa system, we will need to centralize all web logins to a central point (eg admin). This system will forward an authentication token to the final app (webmail / admin). From this system we can extend to 2fa. Additionally, we want to investigate using a more advanced authentication system for IMAP:

[...] there are a couple technos available, OAuth, SAML, and also the good all redirect-and-post-the-login-form-for-me technique. We have to experiment

  • Write a central authentication handler in admin
  • Implement remote authentication for Roundcube
  • Implement remote authentication for Rainloop
  • Advanced auth system for IMAP
  • Implement 2fa in the central handler

This issue replaces #67, #264 and #685

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

The issue names the admin central authentication handler, remote authentication for Roundcube and Rainloop, IMAP authentication, and 2FA. Review the existing admin handler and completed webmail integrations first; the remaining work is to define and implement the advanced IMAP authentication system and central-handler 2FA.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
authentication, security
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.