php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Request #64039 suppport XOAUTH2 in imap_open
Submitted: 2013-01-21 18:15 UTC Modified: 2020-01-08 05:25 UTC
Votes:38
Avg. Score:4.8 ± 0.5
Reproduced:34 of 34 (100.0%)
Same Version:10 (29.4%)
Same OS:21 (61.8%)
From: k dot andris at gmail dot com Assigned:
Status: Open Package: IMAP related
PHP Version: 5.3.21 OS: linux
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If this is not your bug, you can add a comment by following this link.
If this is your bug, but you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: k dot andris at gmail dot com
New email:
PHP Version: OS:

 

 [2013-01-21 18:15 UTC] k dot andris at gmail dot com
Description:
------------
Adding XOAUTH2 support to imap_open would be very welcome. It's needed for Oauth2 
based access to Gmail. It's quite easy to add.


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2020-01-08 05:25 UTC] bishop@php.net
-Status: Open +Status: Assigned
 [2020-01-08 05:29 UTC] bishop@php.net
Thanks for the request. It should be easy to add the XOAUTH2 mechanism to the AUTHENTICATE step of imap_open, but consumers will need to add OAuth flows to their application; that's the hard part.

Because Google and Microsoft are switching to OAuth soon, and since there may be some developers who have questions on how to put it all together, we've assembled a single resource (info, plan, status, etc) for consumers: https://wiki.php.net/todo/ext/imap/xoauth2

It's a work in progress.
 
PHP Copyright © 2001-2021 The PHP Group
All rights reserved.
Last updated: Thu Sep 23 16:03:36 2021 UTC