Issue Summary
The Oauth 2.0 authentication for the Outgoing Mail Server functionality was introduced in Jira 9.2.0 as per Jira 9.2 release notes.
In the ⚙ > System > Outgoing Mail configuration page, the following is mentioned:
Optional - if you use authenticated SMTP to send email, enter your username.
However, when configuring an Outgoing Mail Server and when testing the connection, we are forced to enter something in that field, otherwise the connection test fails.
Therefore, there are 2 problems here:
- this field is mandatory while it is showing as optional
- if this field is not correctly filled in (the browser might automatically autofill this field with a random user), we might run into the following error:
Unfortunately no connection was possible. Review the errors below and rectify: AuthenticationFailedException: 535 5.7.3 Authentication unsuccessful [XXXXXXXXXX.XXXXXX.PROD.OUTLOOK.COM]
Steps to replicate
- Install Jira 9.2.0
- Configure an Oauth 2.0 integration in ⚙ > Applications > Application links
- Configure an Outgoing Mail Server in ⚙ > System > Outgoing Mail, and select the Oauth integration as the authentication method
- Leave the username field empty
- Authorize the mailbox
- Test the connection
Actual Results
The connection test is not executed when the username field is not filled in, and the Jira admin user is forced to enter a username.
Expected Results
The connection test should be executed even if the username field is not filled in
- is related to
-
JRASERVER-78051 "Connection test" fails with authentication error when Outgoing Mail Server setup is performed with no credentials
- Gathering Impact
- relates to
-
JRASERVER-74878 The "Connection Test" on the Outgoing Mail Server page fails with an authentication error code when no username or password is specified
- Closed
-
JRASERVER-74705 Getting an error when trying to save an Outgoing Mail configuration in Jira using the JNDI Location setting
- Closed
-
JRASERVER-74815 TLS option in the outgoing mail server page is automatically unticked after the authorization process is complete
- Closed
-
JRASERVER-74818 The "Connection Test" fails on the Outgoing Mail server when the option "Change password" is not ticked
- Closed
-
JRASERVER-75527 Unable to change outgoing mail server from Oauth to Basic Auth
- Closed
-
JSEV-3214 Loading...
-
JSEV-3658 Loading...
-
MNSTR-6919 Loading...
- is mentioned by
-
BOAR-617 Loading...
- mentioned in
-
Page Loading...
-
Page Loading...
-
Page Loading...
-
Page Loading...
-
Page Loading...
-
Page Loading...