SSilence / php-imap-client

a easy solution for simple IMAP email access in php
MIT License
268 stars 138 forks source link

OAuth Access #246

Open akopciuch opened 4 years ago

akopciuch commented 4 years ago

Feature request or bug

Feature

If a feature request, what do you want to be added or changed?

https://gsuiteupdates.googleblog.com/2019/12/less-secure-apps-oauth-google-username-password-incorrect.html

It is recently announced that Google will be requiring OAuth to access GSuite accounts (new accounts Starting June 15 202, and existing accounts February 15 2021). So in just over 1 year time, php-imap-client would no longer be able to connect to a gmail account with just a username/password over SSL/TLS.

I would be nice if OAuth was an option for authentication, and this would be available to avoid breaking applications that use php-imap-client to connect to gmail accounts. I am sure this would take some time to scope out the work required and implement it.

If a feature request, is this feature already in a pull request?

no

If a feature request, do you know anyone who can help?

no

sombatos commented 4 years ago

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