Permit modification of autoconfig xml file to add oauth2 as primary auth

  1. Allow administrators to specify the order of authentication methods (OAuth2, password-cleartext, etc.) in the autoconfig/autodiscover files generated by Stalwart.
  2. Add an option in the WebUI (Settings › Authentication or Settings › Autoconfig) to define the default authentication method and priority order for IMAP, SMTP, CalDAV, and CardDAV.
  3. This feature would enable forcing OAuth2 by default for modern clients while maintaining compatibility with app passwords for legacy clients, without requiring manual hosting of a custom autoconfig file.

Autoconfig is being replace by PACC, Stalwart will keep supporting autoconfig but will no longer add features around it.

1 Like