Gmail and O365 deprecation of basic auth in favour of OAuth 2.0 for POP/IMAP mail retrieval

Support scope clarification

We’re getting a few support queries at the moment relating to mail server authentication problems. To be clear, Jira is responsible for definition of mail hosts and connectivity to those hosts, when a mail has been successfully retrieved, then JEMH is invoked (by Jira), and our support scope begins. We try to be helpful, and offer suggestions - our support is best effort as this problem area is not in our support scope. Problems with the Jira platform should be directed to support.atlassian.com

Below are some current references on authentication impacting changes (removal of basic auth)

O365 (affects POP/IMAP)

https://docs.microsoft.com/en-us/exchange/clients-and-mobile-in-exchange-online/deprecation-of-basic-authentication-exchange-online

When will this change take place?

We've already started making this change. New Microsoft 365 tenants are created with Basic authentication already turned off as they have Security defaults enabled.

So effectively 1 OCT 2022 basic auth will start to be disabled regardless of usage, SMTP basic auth remains valid.

See related update: https://techcommunity.microsoft.com/t5/exchange-team-blog/basic-authentication-and-exchange-online-september-2021-update/ba-p/2772210

Authentication problems?

If you are unable to authenticate, maybe this can help.

 

Gmail (affects POP/IMAP)

https://support.google.com/mail/thread/158494817/i-have-received-a-notification-that-basic-authentication-will-be-disabled-for-regular-gmail-account?hl=en

Quoting:

You may need to enable 2SV: https://support.google.com/a/answer/9176657 and then use the app password instead of your regular password: https://support.google.com/accounts/answer/185833 .

Less secure apps are stopping for non Google Workspace customers in MAY 2022

https://support.google.com/accounts/answer/6010255

A blog from Atlassian of 19th APR: https://community.atlassian.com/t5/Jira-articles/ATTN-Changes-required-for-Jira-mail-servers-using-Google-email/ba-p/2005850

any mail server set up in Jira via a username and account password with a personal Google email account will not work from 30th May 2022

 

Atlassian Server/DC docs on configuring OAuth 2.0 to receive mail

Jira 8.13+ is required (https://jira.atlassian.com/browse/JRASERVER-63917).