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

Unable to login to a Google account #8598

Open
2 tasks done
sivaraam opened this issue Nov 20, 2024 · 14 comments
Open
2 tasks done

Unable to login to a Google account #8598

sivaraam opened this issue Nov 20, 2024 · 14 comments
Labels
priority: high High priority issues that need to be addressed soon type: bug Something is causing incorrect behavior or errors

Comments

@sivaraam
Copy link

Checklist

  • I have used the search function to see if someone else has already submitted the same bug report.
  • I will describe the problem with as much detail as possible.

App

K-9 Mail

App version

8.1

Where did you get the app from?

F-Droid

Android version

12

Device model

OnePlus Nord

Steps to reproduce

  1. Go to add account
  2. Enter Gmail account address
  3. Tap on 'Sign in with Google'
  4. Login to Google account

Expected behavior

We can grant K-9 mail access to the account and access our e-mail.

Actual behavior

I get an error stating the app is blocked as seen in the screenshot below.

Image

Logs

No response

@sivaraam sivaraam added type: bug Something is causing incorrect behavior or errors unconfirmed Newly reported issues awaiting triage or confirmation labels Nov 20, 2024
@cketti
Copy link
Member

cketti commented Nov 20, 2024

It’s possible that this error is displayed because Google decided our “OAuth application” needs re-verification. We’ve started this process a while ago. But it’s still ongoing.

The problem doesn’t seem to affect all users. I was able to sign-in using OAuth with all my Google accounts. Maybe it only affects Google accounts that have never allowed Thunderbird access to emails before.

See also: https://forum.k9mail.app/t/yet-another-issue-with-gmail/10992

@cketti cketti removed the unconfirmed Newly reported issues awaiting triage or confirmation label Nov 20, 2024
@cketti cketti pinned this issue Nov 20, 2024
@kewisch kewisch added the priority: high High priority issues that need to be addressed soon label Nov 20, 2024
@kewisch
Copy link
Member

kewisch commented Nov 21, 2024

Hey folks, quick update on this - we've tried to re-submit for verification and made some updates that Google had requested, but we're not really sure if it worked out because Google's cloud console is sending us mixed messages on if we're waiting for them or they are waiting for us. It seems there is an automated checker for the privacy policy being on the home page that isn't finding the right privacy policy, and then it is unclear if a human has reviewed the privacy policy changes or if there is also some automated checker not detecting the updates we made.

If you are reading this and happen to know someone in the Third Party Data Safety Team, we could use some help getting this over the finish line.

@lockon-stratos-x4
Copy link

It’s possible that this error is displayed because Google decided our “OAuth application” needs re-verification. We’ve started this process a while ago. But it’s still ongoing.

The problem doesn’t seem to affect all users. I was able to sign-in using OAuth with all my Google accounts. Maybe it only affects Google accounts that have never allowed Thunderbird access to emails before.

K9 Ver8.1 warns that the application is blocked (each application is the result of the same action three times each).
Thunderbird had no problem in both Ver8.1 and 8.0b5; other mailers that authenticate and register Google accounts with OAuth also had no problem.

@jordan-bravo
Copy link

I'm also having this issue on Android, which started occurring some time in the past few days. Previously, I was using my Gmail account in K-9 / Thunderbird with no issue using OAuth 2 as the authentication method.

Version info:

version 8.1

com.fsck.k9
versionCode 39012

targetSdk 34
minSdk 21

@kewisch
Copy link
Member

kewisch commented Nov 22, 2024

@jordan-bravo Are you getting the same application blocked error message, or a different one?

@jordan-bravo
Copy link

Image

@sivaraam
Copy link
Author

Thunderbird had no problem in both Ver8.1 and 8.0b5;

I could confirm the same. Thunderbird works fine. I'm able to login via App password in K-9 mail. Bit OAuth is failing to work. Hoping that Google approves K-9 mail's request soon.

@stanwood77
Copy link

In the meantime, a workaround is to generate a third party app unique password in Google security properties and use it in the app.

You need to change the authentication method to ‘Normal password’.

@jordan-bravo
Copy link

@stanwood77 , thank you for providing that workaround using the app password.

@1441951683
Copy link

use Thunderbird intead of k9 can solve this problem

@jordan-bravo
Copy link

use Thunderbird intead of k9 can solve this problem

This seems to work!

@Jackabomb
Copy link

I was using Thunderbird with this same Gmail account on several devices without trouble. I was also using K-9 mail on this device and account successfully for a long time.

Today I had to reset the account password and tried reauthorizing k-9 mail. I got the error message, but can succeed with Thunderbird.

@cketti cketti marked this as a duplicate of #8717 Jan 4, 2025
@animeloe
Copy link

animeloe commented Jan 4, 2025

I tried using passwords but it still wouldn't work. I'm on the 9.0rc3 release

@sruggier
Copy link

sruggier commented Jan 4, 2025

I tried using passwords but it still wouldn't work. I'm on the 9.0rc3 release

It should work if you create and use an app password, but it won't work if you try to enter your real account password

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
priority: high High priority issues that need to be addressed soon type: bug Something is causing incorrect behavior or errors
Projects
None yet
Development

No branches or pull requests

10 participants