-
Notifications
You must be signed in to change notification settings - Fork 164
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
GMAIL OAuth2 gives AUTHENTICATIONFAILED #80
Comments
As mentioned in the docs, the password is used if no connection could be established with OAuth (see https://github.com/coddingtonbear/django-mailbox/blob/master/django_mailbox/transports/gmail.py#L11 for details). Given the description you've posted above, It sounds like OAuth is failing for you. Are you sure you've stored your credentials properly with |
You're right, OAuth is failing. I just can't see why
|
It was hard to find out why as the error was buried, so I had to deconstruct.
|
Awesome, @pa-jama -- I'm glad you found the answer! |
I think you might find the answer you're looking for by going to the link the error message is directing you to, @arun10797. |
I have solved that error but now it is just loading and finally I get timeout error.For web mail. |
I have used %40 instead of @ |
Hello,
I am using python-social-auth.
Its working well and I can login to my site using google.
However, when I follow the docs, and use like this
gmail+ssl://youremailaddress%40yourdomain.com.com:oauth2@imap.gmail.com?archive=Archived
It always gives authentication failed, presumably because the oauth2 password fails.
But why does it even need to use the password? It should be able to grab the auth token from python social auth.
The docs could be missing something?
but in the code, get_connection method seems to always try to use a password
The text was updated successfully, but these errors were encountered: