wasm-demo/demo/ermis-f/imap-protocol/cur/1600094991.22553.mbox:2,S

62 lines
1.9 KiB
Plaintext

MBOX-Line: From kmansoft at gmail.com Fri Feb 24 04:09:08 2017
To: imap-protocol@u.washington.edu
From: Kostya Vasilyev <kmansoft@gmail.com>
Date: Fri Jun 8 12:34:55 2018
Subject: [Imap-protocol] Gmail - OAUTH2 - failures since Feb 23
Message-ID: <CAN7dqjB3uUeos7hEA0A5Kiad1VZT4JY=8y2t_ig_L+YzGXu5ug@mail.gmail.com>
Hi,
My apologies to everyone for a message about Gmail that has nothing to
do with IMAP specifically.
Hoping someone from Google (perhaps Brandon Long who I've seen lurk
here?) can respond and we can take the discussion off the list.
---
Since Feb 23, we're seeing login / auth failures affecting a good
number of users.
We support OAUTH2 and get the token through Google Play Services.
I saw the issue on one of my phones and was able to debug it:
- Most of the time, our code would get a valid looking token from
Google Play Services
- A web API request using this token to get the user's name, email and
profile photo would work fine
- And yet, using this token to log into Gmail would get "status code
400, bad request" from Gmail's IMAP and SMTP servers.
At other times, there'd be a failure inside GoogleAuthUtil.getToken
with GoogleAuthException: Unknown
So this looks to me like some back-end failure on Google's side,
specific to Gmail (by comparison, the user profile API is just fine).
We found a workaround:
Removing our app from "authorized apps" in "your Google account", and
the user re-authorizing the app seems to work.
But until this is done, authentication keeps failing, even if our code
refreshes the token again.
Is this a known issue?
Are there changes we need to make or is this a bug (looks like a bug to me)?
If this is confirmed as a bug on Google's side, when can we and our
users expect a fix?
Thanks, and my apologies again to the IMAP list!
PS - the app is called Aqua Mail, not sure if the issue is affecting
only our app.
-- K