New issue
Advanced search Search tips

Issue 730589 link

Starred by 2 users

Issue metadata

Status: Fixed
Owner:
Closed: Aug 2017
Components:
EstimatedDays: ----
NextAction: ----
OS: Linux , Windows , Chrome , Mac
Pri: 3
Type: Bug

Blocked on:
issue 740924

Blocking:
issue 716053



Sign in to add a comment

[DICE] Add support for X-Chrome-ID-Consistency-Response

Project Member Reported by droger@chromium.org, Jun 7 2017

Issue description

Handle the X-Chrome-ID-Consistency-Response that can be sent by Gaia for account consistency.
 
Project Member

Comment 3 by bugdroid1@chromium.org, Jun 22 2017

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/7c51029f7f3e25be2a0d2a9c54263c43660990be

commit 7c51029f7f3e25be2a0d2a9c54263c43660990be
Author: droger <droger@chromium.org>
Date: Thu Jun 22 13:51:27 2017

[signin] Generate OAuth token on Dice Signin responses

Introduces the DiceResponseHandler class to handle the Dice responses, which
is a new profile keyed service.
In this CL, only the SIGNIN response is implemented, and triggers a OAuth2
token request.

BUG= 730589 

Review-Url: https://codereview.chromium.org/2942193002
Cr-Commit-Position: refs/heads/master@{#481518}

[modify] https://crrev.com/7c51029f7f3e25be2a0d2a9c54263c43660990be/chrome/browser/BUILD.gn
[modify] https://crrev.com/7c51029f7f3e25be2a0d2a9c54263c43660990be/chrome/browser/signin/chrome_signin_helper.cc
[add] https://crrev.com/7c51029f7f3e25be2a0d2a9c54263c43660990be/chrome/browser/signin/dice_response_handler.cc
[add] https://crrev.com/7c51029f7f3e25be2a0d2a9c54263c43660990be/chrome/browser/signin/dice_response_handler.h

Project Member

Comment 8 by bugdroid1@chromium.org, Jun 25 2017

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/17b48e52235ed23509c756d976cfa6871ef3c2d6

commit 17b48e52235ed23509c756d976cfa6871ef3c2d6
Author: droger <droger@chromium.org>
Date: Sun Jun 25 13:08:56 2017

[signin] Add unit test for Gaia error in DiceResponseHandler

BUG= 730589 

Review-Url: https://codereview.chromium.org/2953673003
Cr-Commit-Position: refs/heads/master@{#482172}

[modify] https://crrev.com/17b48e52235ed23509c756d976cfa6871ef3c2d6/chrome/browser/signin/dice_response_handler_unittest.cc

Labels: -OS-Fuchsia
Project Member

Comment 10 by bugdroid1@chromium.org, Jun 30 2017

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/a3530331759f8edfb4ee8e595fa9f11bb5cb5670

commit a3530331759f8edfb4ee8e595fa9f11bb5cb5670
Author: David Roger <droger@google.com>
Date: Fri Jun 30 13:52:22 2017

[Signin] Handle Google-Accounts-SignOut for Dice

This CL intercepts the Google-Accounts-Signout header
and implements the signout flow.

Main changes:
- Since multiple accounts can be specified, DiceResponseParams
has now a vector of accounts.
- Since header parameters can be repeated, the parsing function
now uses std::multimap instead of std::map.
- Since header parameters contain whitespace and quotes, additional
sanitization is performed.
- Since this header is not set on redirect,
ProcessDiceResponseHeaderIfExists() is now called on all requests.
- DiceResponseHandler now implements the signout flow.

Bug:  730589 
Change-Id: I334e9a884a2d40e8f614870a77c9db0e1cc67cb5
Reviewed-on: https://chromium-review.googlesource.com/548359
Commit-Queue: David Roger <droger@chromium.org>
Reviewed-by: Mihai Sardarescu <msarda@chromium.org>
Cr-Commit-Position: refs/heads/master@{#483691}
[modify] https://crrev.com/a3530331759f8edfb4ee8e595fa9f11bb5cb5670/chrome/browser/signin/chrome_signin_helper.cc
[modify] https://crrev.com/a3530331759f8edfb4ee8e595fa9f11bb5cb5670/chrome/browser/signin/dice_response_handler.cc
[modify] https://crrev.com/a3530331759f8edfb4ee8e595fa9f11bb5cb5670/chrome/browser/signin/dice_response_handler.h
[modify] https://crrev.com/a3530331759f8edfb4ee8e595fa9f11bb5cb5670/chrome/browser/signin/dice_response_handler_unittest.cc
[modify] https://crrev.com/a3530331759f8edfb4ee8e595fa9f11bb5cb5670/components/signin/core/browser/dice_header_helper.cc
[modify] https://crrev.com/a3530331759f8edfb4ee8e595fa9f11bb5cb5670/components/signin/core/browser/dice_header_helper.h
[modify] https://crrev.com/a3530331759f8edfb4ee8e595fa9f11bb5cb5670/components/signin/core/browser/fake_signin_manager.cc
[modify] https://crrev.com/a3530331759f8edfb4ee8e595fa9f11bb5cb5670/components/signin/core/browser/fake_signin_manager.h
[modify] https://crrev.com/a3530331759f8edfb4ee8e595fa9f11bb5cb5670/components/signin/core/browser/signin_header_helper.cc
[modify] https://crrev.com/a3530331759f8edfb4ee8e595fa9f11bb5cb5670/components/signin/core/browser/signin_header_helper.h
[modify] https://crrev.com/a3530331759f8edfb4ee8e595fa9f11bb5cb5670/components/signin/core/browser/signin_header_helper_unittest.cc

Blockedon: 740924
Status: Fixed (was: Started)

Sign in to add a comment