Fetch icon indicating copy to clipboard operation
Fetch copied to clipboard

oAuth authentication

Open sombatos opened this issue 6 years ago • 4 comments

Hi,

Will you implement an oAuth authentication for IMAP?

See info here https://github.com/google/gmail-oauth2-tools/issues/18

sombatos avatar Dec 24 '19 16:12 sombatos

No- Google deciding it no longer wants to follow standards is a pretty shitty thing for them to do. If someone wants to make a pull request to add this functionality I will happily accept it, but I am not going to spend any time supporting Google.

tedivm avatar Dec 24 '19 20:12 tedivm

@tedivm I collaborated with you on some project over 10 years ago, so hey!

If you read the whole Google announcement, they're not going to allow any new users sign in without OAuth2 for EVERY service on July 20, 2020, just 7 months from now.

I saw you write:

It's not just a programming issue either. My company is currently using Google Suites, and we have to turn off this OAuth requirement for our users to be able to use their existing calendar and email clients.

You better start refactoring! Because all of these use cases will apparently cease relatively soon.

This is the biggest antitrust move I've ever seen Google do.

hopeseekr avatar Dec 25 '19 01:12 hopeseekr

I have just received an email with a major update notification for Office 365. They will also stop supporting basic authentication for IMAP, which will probably mean this project will stop working for Office 365 as well?

source: https://techcommunity.microsoft.com/t5/exchange-team-blog/basic-auth-and-exchange-online-february-2020-update/ba-p/1191282

DarkAllMan avatar Feb 28 '20 09:02 DarkAllMan

That is correct- pure imap is dying, so the php extension this library is built off of is not going to work for the major providers. Your best bet is to jump to a different library, such as horde imap.

tedivm avatar Mar 11 '20 20:03 tedivm