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

Support OAuth authentication #8

Open
djsutherland opened this issue Aug 22, 2013 · 3 comments
Open

Support OAuth authentication #8

djsutherland opened this issue Aug 22, 2013 · 3 comments
Assignees

Comments

@djsutherland
Copy link

It'd be great if envelopes supported OAuth authentication to e.g. gmail (https://developers.google.com/accounts/docs/OAuth2) with a minimum of configuration, because that's a pain to figure out. :)

@tomekwojcik
Copy link
Owner

Hi,
AFAIK OAuth2 is only suitable for Web apps while Envelopes operates on SMTP. As such, the issue is out of scope of this project.

Thanks for the issue and your interest in the project.

@djsutherland
Copy link
Author

You can authenticate to gmail via oauth: sorry, I linked to the wrong page before, but https://developers.google.com/gmail/oauth_overview explains it.

Obviously, if this isn't something you're interested in implementing that's your decision. I've just recently written something that accesses my gmail account through IMAP, which should have used oauth but instead reads a plaintext password because it was too much hassle to figure out. The same thing applies to SMTP.

@ghost ghost assigned tomekwojcik Aug 22, 2013
@tomekwojcik
Copy link
Owner

Hm, it looks interesting. I'm not entirely sure how would I implement that using Python's smtplib, but I'll have a look. Also, since Envelopes' job is only to send e-mails, I assume your app would get the OAuth2 token and then use it to authenticate.

Actually, this is getting far more interesting I'd expect it to be. Thanks :).

@tomekwojcik tomekwojcik reopened this Aug 22, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants