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

How to login use xoauth2? #17

Closed
pewh opened this issue Jun 25, 2019 · 1 comment
Closed

How to login use xoauth2? #17

pewh opened this issue Jun 25, 2019 · 1 comment

Comments

@pewh
Copy link

pewh commented Jun 25, 2019

My use case is user login without asking password from app. What I need is to use google_sign_in instead. But how I passing xoauth2 token to imap_client?

@michaelspiss
Copy link
Owner

michaelspiss commented Jun 25, 2019

I haven't implemented oauth yet, but you can write your own authentication mechanism as described on this wiki page. It can then be passed to the authenticate() method.

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

2 participants