-
-
Notifications
You must be signed in to change notification settings - Fork 182
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
OAuth #180
Comments
Bump as Google has announced they're not supporting basic authentication anymore. |
laravel-imap uses PHP IMAP functions (https://www.php.net/manual/en/ref.imap.php), but it does looks like PHP IMAP functions can not be used to authenticate using XOAUTH: https://stackoverflow.com/questions/5089614/php-imap-and-xoauth Some workaround is needed. Here a temprorary OAuth token can be obtained: https://developers.google.com/oauthplayground/ (select "Gmail API v1" --> |
Suggestion for Google: google/gmail-oauth2-tools#18 |
@Webklex do you think it is doable to make this lib compatible with OAuth IMAP or it will just continue to use native PHP |
It looks like Microsoft Office 365 customers are also going to be subject to the same requirements - https://developer.microsoft.com/en-us/office/blogs/end-of-support-for-basic-authentication-access-to-exchange-online-apis-for-office-365-customers/ |
Solved with v2.0.0: https://github.com/Webklex/laravel-imap#oauth |
the link is broken |
PHP IMAP from Webklex: https://github.com/Webklex/php-imap |
Is there a way or can you add to be able to use OAuth for IMAP instead of user/pass? Like what this Google demo has using old Zend libraries?
https://github.com/google/gmail-oauth2-tools/blob/master/php/oauth2.php
thanks
The text was updated successfully, but these errors were encountered: