Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(311)

Issue 13249007: revoke unused OAuth2 tokens on signout (Closed)

Created:
7 years, 9 months ago by Michael Courage
Modified:
7 years, 7 months ago
CC:
chromium-reviews, Munjal (Google)
Base URL:
/home/courage/git/chromium-src.git/@222774-invalid-grant-relogin
Visibility:
Public.

Description

revoke unused OAuth2 tokens on signout and re-signin A number of users have been reporting problems with the identity API. Gaia investigations reveal that these users have overflowed a limit on the number of login tokens they can have for Chrome. Revoking tokens we don't need any longer should mitigate the problem. BUG=224462

Patch Set 1 #

Total comments: 2

Patch Set 2 : rebase on lkgr #

Patch Set 3 : update baseurl, i hope #

Unified diffs Side-by-side diffs Delta from patch set Stats (+84 lines, -0 lines) Patch
M chrome/browser/signin/signin_manager.h View 1 3 chunks +8 lines, -0 lines 0 comments Download
M chrome/browser/signin/signin_manager.cc View 2 chunks +18 lines, -0 lines 0 comments Download
M google_apis/gaia/gaia_auth_consumer.h View 1 chunk +2 lines, -0 lines 0 comments Download
M google_apis/gaia/gaia_auth_fetcher.h View 1 5 chunks +15 lines, -0 lines 0 comments Download
M google_apis/gaia/gaia_auth_fetcher.cc View 1 6 chunks +34 lines, -0 lines 0 comments Download
M google_apis/gaia/gaia_urls.h View 2 chunks +2 lines, -0 lines 0 comments Download
M google_apis/gaia/gaia_urls.cc View 3 chunks +5 lines, -0 lines 0 comments Download

Messages

Total messages: 8 (0 generated)
Michael Courage
7 years, 9 months ago (2013-03-29 01:13:40 UTC) #1
tim (not reviewing)
https://codereview.chromium.org/13249007/diff/1/chrome/browser/signin/signin_manager.cc File chrome/browser/signin/signin_manager.cc (right): https://codereview.chromium.org/13249007/diff/1/chrome/browser/signin/signin_manager.cc#newcode331 chrome/browser/signin/signin_manager.cc:331: RevokeOAuthLoginToken(); Note that as of M26+ we won't actually ...
7 years, 8 months ago (2013-03-29 22:41:25 UTC) #2
Roger Tawa OOO till Jul 10th
I think the placement of the calls to revoke the token are fine, but I ...
7 years, 8 months ago (2013-03-31 18:16:30 UTC) #3
Michael Courage
On 2013/03/31 18:16:30, Roger Tawa wrote: > I think the placement of the calls to ...
7 years, 8 months ago (2013-04-01 22:33:29 UTC) #4
Roger Tawa OOO till Jul 10th
On 2013/04/01 22:33:29, Michael Courage wrote: > On 2013/03/31 18:16:30, Roger Tawa wrote: > > ...
7 years, 8 months ago (2013-04-02 14:14:11 UTC) #5
Michael Courage
On 2013/04/02 14:14:11, Roger Tawa wrote: > I'm OK with doing the extra revoking for ...
7 years, 8 months ago (2013-04-02 19:49:48 UTC) #6
Roger Tawa OOO till Jul 10th
On 2013/04/02 19:49:48, Michael Courage wrote: > On 2013/04/02 14:14:11, Roger Tawa wrote: > > ...
7 years, 8 months ago (2013-04-02 19:57:10 UTC) #7
Michael Courage
7 years, 8 months ago (2013-04-04 00:08:50 UTC) #8
On 2013/04/02 19:57:10, Roger Tawa wrote:
> OK sounds good for specific tokens.  I don't know either for the non-oauth2
> tokens.  Do they cause the same type of problem?

Seems like those tokens will automatically do the right thing according to
Breno. (Identity API tokens are not linked the same way to the refresh token,
but they will be handled separately.)

Powered by Google App Engine
This is Rietveld 408576698