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

Issue 136573002: Retrieve the authenticated user's e-mail from GAIA during SAML login (Closed)

Created:
6 years, 11 months ago by bartfab (slow)
Modified:
6 years, 11 months ago
CC:
chromium-reviews, arv+watch_chromium.org, stevenjb+watch_chromium.org, davemoore+watch_chromium.org, oshima+watch_chromium.org, nkostylev+watch_chromium.org
Visibility:
Public.

Description

Retrieve the authenticated user's e-mail from GAIA during SAML login When using SAML, the e-mail address typed into the GAIA login form and the e-mail address of the user who actually ends up authenticating may not match. This CL ensures that the correct e-mail address gets used by querying GAIA for the authenticated user's e-mail instead of using the e-mail obtained from the GAIA login form. BUG=332132 TEST=New browser test Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=245081

Patch Set 1 #

Total comments: 6

Patch Set 2 : Addressed comments. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+479 lines, -152 lines) Patch
M chrome/browser/chromeos/login/saml_browsertest.cc View 1 11 chunks +40 lines, -7 lines 0 comments Download
M chrome/browser/resources/chromeos/login/screen_gaia_signin.js View 4 chunks +24 lines, -0 lines 0 comments Download
M chrome/browser/resources/gaia_auth/main.js View 4 chunks +27 lines, -3 lines 0 comments Download
M chrome/browser/resources/gaia_auth_host/gaia_auth_host.js View 4 chunks +45 lines, -0 lines 0 comments Download
A chrome/browser/ui/webui/chromeos/login/authenticated_user_email_retriever.h View 1 1 chunk +60 lines, -0 lines 0 comments Download
A chrome/browser/ui/webui/chromeos/login/authenticated_user_email_retriever.cc View 1 1 chunk +88 lines, -0 lines 0 comments Download
M chrome/browser/ui/webui/chromeos/login/signin_screen_handler.h View 1 4 chunks +7 lines, -0 lines 0 comments Download
M chrome/browser/ui/webui/chromeos/login/signin_screen_handler.cc View 1 5 chunks +18 lines, -2 lines 0 comments Download
M chrome/chrome_browser_ui.gypi View 1 1 chunk +2 lines, -0 lines 0 comments Download
M google_apis/gaia/fake_gaia.h View 3 chunks +9 lines, -3 lines 0 comments Download
M google_apis/gaia/fake_gaia.cc View 7 chunks +159 lines, -137 lines 0 comments Download

Messages

Total messages: 15 (0 generated)
bartfab (slow)
Hi Xiyuan, Could you please review the entire CL? Hi Roger, Could you please review ...
6 years, 11 months ago (2014-01-13 12:29:22 UTC) #1
Nikita (slow)
Bartosz, I'm currently experimenting with using <webview> version of GAIA extension on Chrome OS (https://code.google.com/p/chromium/issues/detail?id=329224). ...
6 years, 11 months ago (2014-01-13 13:07:15 UTC) #2
bartfab (slow)
On 2014/01/13 13:07:15, Nikita Kostylev wrote: > Bartosz, > > I'm currently experimenting with using ...
6 years, 11 months ago (2014-01-13 13:24:06 UTC) #3
Nikita (slow)
On 2014/01/13 13:24:06, bartfab wrote: > On 2014/01/13 13:07:15, Nikita Kostylev wrote: > > Bartosz, ...
6 years, 11 months ago (2014-01-13 13:31:34 UTC) #4
xiyuan
LGTM Thanks for exploring and finding a solution. https://codereview.chromium.org/136573002/diff/1/chrome/browser/chromeos/login/saml_browsertest.cc File chrome/browser/chromeos/login/saml_browsertest.cc (right): https://codereview.chromium.org/136573002/diff/1/chrome/browser/chromeos/login/saml_browsertest.cc#newcode252 chrome/browser/chromeos/login/saml_browsertest.cc:252: GetLoginDisplay()->ShowSigninScreenForCreds(kUserEmail, ...
6 years, 11 months ago (2014-01-13 22:05:58 UTC) #5
bartfab (slow)
https://codereview.chromium.org/136573002/diff/1/chrome/browser/chromeos/login/saml_browsertest.cc File chrome/browser/chromeos/login/saml_browsertest.cc (right): https://codereview.chromium.org/136573002/diff/1/chrome/browser/chromeos/login/saml_browsertest.cc#newcode252 chrome/browser/chromeos/login/saml_browsertest.cc:252: GetLoginDisplay()->ShowSigninScreenForCreds(kUserEmail, ""); On 2014/01/13 22:05:59, xiyuan wrote: > Think ...
6 years, 11 months ago (2014-01-14 14:41:32 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/bartfab@chromium.org/136573002/110001
6 years, 11 months ago (2014-01-14 14:42:43 UTC) #7
commit-bot: I haz the power
Retried try job too often on chromium_presubmit for step(s) presubmit http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=chromium_presubmit&number=44691
6 years, 11 months ago (2014-01-14 14:55:17 UTC) #8
Roger Tawa OOO till Jul 10th
lgtm for fake_gaia, but might want to have Zel take a look too.
6 years, 11 months ago (2014-01-14 17:00:32 UTC) #9
bartfab (slow)
Hi Zel, Could you take a look at fake_gaia.[cc|h]?
6 years, 11 months ago (2014-01-14 17:05:54 UTC) #10
zel
lgtm
6 years, 11 months ago (2014-01-14 17:55:46 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/bartfab@chromium.org/136573002/110001
6 years, 11 months ago (2014-01-14 18:28:06 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/bartfab@chromium.org/136573002/110001
6 years, 11 months ago (2014-01-14 23:23:49 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/bartfab@chromium.org/136573002/110001
6 years, 11 months ago (2014-01-15 02:51:55 UTC) #14
commit-bot: I haz the power
6 years, 11 months ago (2014-01-16 02:59:47 UTC) #15
Message was sent while issue was closed.
Change committed as 245081

Powered by Google App Engine
This is Rietveld 408576698