[MGNLMAIL-136] CLONE - Implement OAuth 2.0 authentication Created: 09/Aug/22  Updated: 15/Nov/23  Resolved: 12/Dec/22

Status: Closed
Project: Magnolia Mail Module
Component/s: None
Affects Version/s: 5.5.13
Fix Version/s: None

Type: Improvement Priority: Neutral
Reporter: Richard Gange Assignee: Chuong Doan Huy
Resolution: Not an issue Votes: 1
Labels: None
Remaining Estimate: Not Specified
Time Spent: 3d 0.5h
Original Estimate: Not Specified

Attachments: PNG File Screen Shot 2022-12-05 at 4.07.44 PM.png    
Issue Links:
relation
is related to DOCU-2045 DOC: Example of how to use OAuth 2.0 Closed
is related to MGNLMAIL-66 Implement OAuth 2.0 authentication Closed
is related to MGNLMAIL-83 Do not show the password value in the... Closed
is related to MGNLMAIL-120 Provide an OOTB implementation for us... Closed
Template:
Acceptance criteria:
Empty
Task DoD:
[ ]* Doc/release notes changes? Comment present?
[ ]* Downstream builds green?
[ ]* Solution information and context easily available?
[ ]* Tests
[ ]* FixVersion filled and not yet released
[ ]  Architecture Decision Record (ADR)
Release notes required:
Yes
Documentation update required:
Yes
Date of First Response:
Epic Link: Support
Team: DeveloperX
Work Started:

 Description   

Update (2022-11-30)

At least implement (or document) support for mail with Office 365 with Oauth 2 as its suppport for Basic Authentication is ending at end of 2022.

Original description:

We need a generic implementation for configuration of OAuth 2.0 that goes beyond Gmail. For example Microsoft Office 365 SMTP server with OAuth 2.0. Maybe this is already possible but it's not clear how it works.

Notes
At the moment it's not completely clear how to configure Gmail for OAuth which was implemented in MGNLMAIL-66 but removed in MGNLMAIL-83.
Can we create a generic set of configuration parameters for all OAuth 2.0 systems or will separate classes be required? Should the customer/partner implement an interface?
A step-by-step would be helpful. See DOCU-2045.

 



 Comments   
Comment by Tu Bo Xuan [ 28/Oct/22 ]

Hi czimmermann

Our partner 3Enix ( currently supporting MCIS client) has raised ticket https://jira.magnolia-cms.com/browse/SUPPORT-15466 . They are running on office 365 and really concern since next year it will no long support basic authetication. 

Hope it helps!

Comment by Chuong Doan Huy [ 05/Dec/22 ]

Hi czimmermann, tu.bo, rgange
This is what is my finding:

  • In short: we don't need and can not implement OAuth 2 for mail with Office 365 because Microsoft haven't have any plan on disabling Basic Authentication for SMTP and also does not support OAuth 2 for SMTP yet.
Comment by Christopher Zimmermann [ 12/Dec/22 ]

Closing as not an issue - as the Oauth2 does not relate to the customers concern.

Generated at Mon Feb 12 06:03:59 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.