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

Google Has Started Blocking SignIns since using K9 Mail #3661

Closed
NovaViper opened this issue Oct 13, 2018 · 13 comments
Closed

Google Has Started Blocking SignIns since using K9 Mail #3661

NovaViper opened this issue Oct 13, 2018 · 13 comments

Comments

@NovaViper
Copy link

Expected behavior

Should not be getting messages about blocked sign in attempts from Google

Actual behavior

Ever since I signed into my secondary gmail accounts (which do not use 2 Step Authentication like my primary does), I give been getting emails from Google saying that multiple sign in attempts have been blocked by "someone using my password", and almost soon after I notice that K9 can no longer get into the accounts to see emails, I have to re-log in nearly every time. The emails look like this:
image

Steps to reproduce

  1. Sign into K9 Mail using a Gmail account that doesn't have 2-Step Authentication activated
  2. Wait for message from Google in a couple of days
  3. Notice that you can no longer access the account since that email

Environment

K-9 Mail version: 5.600

Android version: 8.0.0

Account type (IMAP, POP3, WebDAV/Exchange): Gmail (IMAP)

@lieryan
Copy link

lieryan commented Oct 14, 2018

Did you enable Less secure Apps on your secondary account?

Possible related issue: #655

@NovaViper
Copy link
Author

Yeah.. but it still keeps on sending me those notifications

@NovaViper
Copy link
Author

@lieryan I just took a look at the issue.. it doesn't appear to have been implemented/solved at all.

@ByteHamster
Copy link
Collaborator

Have you tried changing your password? Maybe someone found out your password and it is just a coincidence that the messages started after installing K-9. K-9 is a quite widespread app and it does not look like many people have this issue.

@NovaViper
Copy link
Author

No it's not the password only happens when I have added the accounts to K9. I also seem to notice it happens with (Did not have this with a my other client) my VPN

@RafaelLinux
Copy link

I have had the same message in my first try to access my gmail account from K9-mail. However, when I tried BlueMail, I have not that problem!!! Why K9 is not working out of the box with gmail accounts?

@wiktor-k
Copy link
Contributor

Have you tried using Google's app passwords? I recently set up K9 and didn't have problems with it. (tl;dr google generates you a second password that you can use in K9, username stays the same).

@lieryan
Copy link

lieryan commented Nov 24, 2018

@wiktor-k: App passwords only work if you enable Less secure apps. In some Google Apps for Business configuration, the administrator didn't allow you to enable Less secure apps, and so you can't create App passwords.

@wiktor-k
Copy link
Contributor

Yep, app passwords are also disabled when Advanced Protection is turned on.

I'm afraid only XOAUTH2 could work in that case.

@NovaViper
Copy link
Author

App passwords only seem to work when I have 2step authentication enabled

@leophys
Copy link

leophys commented Nov 28, 2018

I have 2 steps auth and was using app specific password but since yesterday I am not able to login with k9 anymore on my gmail account. It complains that PLAIN authentication method is not allowed. Then it prompts an error message suggesting to follow a link with my browser (screenshot of the error ) but I am not able to copy or select the text.

It happened something similar with conversations and google xmpp very recently.

@NovaViper
Copy link
Author

NovaViper commented Dec 6, 2018

Why hasn't support for XOAUTH2 been added to the app? It's quite annoying (and worrisome considering the numerous data breaches that's been happening lately) to constantly get emails about Google saying my accounts was accessed, even though that the it was the app accessing them. The only account that does not have this particular issue is my primary Gmail, which has app passwords and 2FA enabled.

@philipwhiuk
Copy link
Contributor

Duplicate of #655

@philipwhiuk philipwhiuk marked this as a duplicate of #655 Jan 9, 2019
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

7 participants