Legacy Knowledge Base
Published Sep. 10, 2025

AWS Mail configuration in Liferay with OAuth 2.0

Written By

Apsara Raheja

How To articles are not official guidelines or officially supported documentation. They are community-contributed content and may not always reflect the latest updates to Liferay DXP. We welcome your feedback to improve How To articles!

While we make every effort to ensure this Knowledge Base is accurate, it may not always reflect the most recent updates or official guidelines.We appreciate your understanding and encourage you to reach out with any feedback or concerns.

Legacy Article

You are viewing an article from our legacy "FastTrack" publication program, made available for informational purposes. Articles in this program were published without a requirement for independent editing or verification and are provided"as is" without guarantee.

Before using any information from this article, independently verify its suitability for your situation and project.

Issue

  • Need to configure AWS email service to Liferay with the use of OAuth 2.0 authorization.
  • Configure SMTP with client ID/Secret instead of the use of email address and password i.e. Basic Authentication.

Environment

  • DXP 2024.Q1

Resolution

  • Amazon Web Services (AWS) provides various email services, including Amazon Simple Email Service (SES), which allows sending emails using SMTP.
  • Configuring the SMTP using Amazon SES supports only Basic Authentication as of now (i.e. connecting with an email address and password). 
  • Configure AWS email service to Liferay with the use of OAuth 2.0 authorization is considered a feature request and is being covered here: LPD-29120  


Additional Information

  • Requesting a New Feature or Feature Improvement
  • Please be aware that the implementation of new ideas within Liferay products is entirely dependent on their evaluation or investigations since this will need modifying existing product code, therefore there will be no ETA on this, but users can certainly vote for it.
Did this article resolve your issue ?

Legacy Knowledge Base