Uploaded image for project: 'Magnolia Mail Module'
  1. Magnolia Mail Module
  2. MGNLMAIL-120

Provide an OOTB implementation for using Oauth2 on Office365 account

XMLWordPrintable

    • Icon: Improvement Improvement
    • Resolution: Duplicate
    • Icon: Neutral Neutral
    • None
    • 5.5.9
    • None
    • None

      Since Magnolia 6.1, OAuth 2.0 is supported but our current implementation works for SMTP Google account configuration. When a user tries to configure SMTP with Office365, he receives an error as follows:

      java.lang.RuntimeException: com.google.api.client.auth.oauth2.TokenResponseException: 401 Unauthorized
      POST https://oauth2.googleapis.com/token
              at info.magnolia.module.mail.smtp.authentication.GoogleOauthSmtpAuthentication.getAccessToken(GoogleOauthSmtpAuthentication.java:98) ~[magnolia-module-mail-5.5.8.jar:?]
      

      Would be nice to provide a second implementation on Mail module for being able of sending emails using Office365 accounts with OAuth 2.0

        Acceptance criteria

              Unassigned Unassigned
              ccantalapiedra Carlos Cantalapiedra
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: