Bug 410327

Summary: Adding GMail IMAP account to KMail fails during OAuth: Sign in with Google temporarily disabled for this app / This app has not yet been verified by Google in order to use Google Sign in.
Product: [Frameworks and Libraries] Akonadi Reporter: Dennis Schridde <dennis.schridde>
Component: Google ResourceAssignee: Daniel Vrátil <dvratil>
Status: RESOLVED DUPLICATE    
Severity: normal CC: kdepim-bugs
Priority: NOR    
Version First Reported In: 5.11.2   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Dennis Schridde 2019-07-28 21:47:44 UTC
SUMMARY

When I try to add my GMail IMAP account to KMail (since KMail / Akonadi does not appear support GMail via their own API), I enter my username and imap.gmail.com as incoming server (and smtp.gmail.com as outgoing server) and continue.  I enter my password and the 2nd factor.  Google responds with (in German, for whatever reason):
```
Die Anmeldung mit Google ist für diese App vorübergehend deaktiviert
Die Verwendung von Google Log-in wurde für diese App noch nicht bestätigt.
```

STEPS TO REPRODUCE
1. Add GMail IMAP account
2. Authenticate

OBSERVED RESULT
Error message quoted above

EXPECTED RESULT
Successful login

SOFTWARE/OS VERSIONS
Fedora 30 (Linux 5.1)
KMail 5.11.2
KDE Frameworks 5.59.0
Qt 5.12.4 (built against 5.12.4)
Comment 1 Dennis Schridde 2019-07-29 12:43:08 UTC
The message in English:
```
Sign in with Google temporarily disabled for this app
This app has not yet been verified by Google in order to use Google Sign in.
```
Comment 2 Christoph Feck 2019-07-29 12:54:24 UTC

*** This bug has been marked as a duplicate of bug 404990 ***