Skip to content
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

OAuth2 Support #1

Closed
ephekt opened this issue Jul 13, 2012 · 8 comments
Closed

OAuth2 Support #1

ephekt opened this issue Jul 13, 2012 · 8 comments

Comments

@ephekt
Copy link

ephekt commented Jul 13, 2012

Anyone heard news on when OAuth2 will supported?

@nfo
Copy link
Owner

nfo commented Aug 8, 2012

I don't see any support for OAuth2 in the GMail IMAP and SMTP protocols doc. As I don't have any friend at Google, I can't help !

@lucaswiman
Copy link

As far as I can tell, Google does not offer OAuth2 support for IMAP at all (yet). https://mail.google.com/ is allowed in the list of scopes, so you can presumably use the GMail Inbox Feed (untested). However, their deprecation policy lists that they will continue to support OAuth1 until 2015, by which time they will hopefully have implemented IMAP/SMTP OAuth2 support. You can continue to use OAuth1 by either doing nothing (if you're already set up), or registering your domain for an OAuth1 key/secret if you need to start a new app. See the following links for instructions:
https://accounts.google.com/ManageDomains
https://developers.google.com/accounts/docs/RegistrationForWebAppsAuto

It's sad, as their App authorization screen is much nicer for OAuth2 than OAuth1.

@glongman
Copy link

I'm confused. The docs list XOAUTH2 first and Oauth1 under "Older protocols"

https://developers.google.com/google-apps/gmail/xoauth2_protocol

So they have not implemented XOAUTH2 even though the docs say to use it?

@lucaswiman
Copy link

Woah! Hey! I'm pretty sure that wasn't there last week (though it's entirely conceivable that I missed it). Awesome. If these docs are correct, they now support OAUTH2 authentication on IMAP. Thanks for noticing, @glongman, I had given up.

@glongman
Copy link

:D

@nfo
Copy link
Owner

nfo commented Sep 14, 2012

Nice. I'll take a look at it during the week-end.

@glongman
Copy link

I puzzled it out. Will send pull req for your review.

update: see #2

@nfo
Copy link
Owner

nfo commented Sep 15, 2012

Thanks @glongman ! Updating the README before making a new release.

b92d6ac

@nfo nfo closed this as completed Sep 15, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants