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

Issue 1831523003: FR: SAML Sign In - Interstitial page to send users directly to IdP login screen (Closed)

Created:
4 years, 9 months ago by afakhry
Modified:
4 years, 8 months ago
Reviewers:
xiyuan
CC:
chromium-reviews, dzhioev+watch_chromium.org, achuith+watch_chromium.org, arv+watch_chromium.org, oshima+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

FR: SAML Sign In - Interstitial page to send users directly to IdP login screen Depending on the value of the login_authentication_behavior device policy, users can be given the option to skip the GAIA Minute Maid screen and go directly to the login screen of the SAML-based enrollment enterprise domain IdP. Screenshots: SAML Interstitial Page: https://drive.google.com/open?id=0B6G_-uQnf1_LYlQ2THNuXzlORFk On Next pressed: https://drive.google.com/open?id=0B6G_-uQnf1_LVm0zaHBYWHg0Tm8 On Signin with different account clicked: https://drive.google.com/open?id=0B6G_-uQnf1_Lc2d3S01kaUQ3Ylk BUG=498896, 583724 Committed: https://crrev.com/cffafcbc6517076a8b2e0522c628688b5df24b92 Cr-Commit-Position: refs/heads/master@{#383788}

Patch Set 1 #

Patch Set 2 : WIP #

Patch Set 3 : Fully working #

Patch Set 4 : Cleanup #

Patch Set 5 : Fix failing tests #

Total comments: 41

Patch Set 6 : Xiyuan's comments and rebase #

Total comments: 8

Patch Set 7 : comments #

Patch Set 8 : Remove weird files #

Patch Set 9 : remove the <br> comment #

Unified diffs Side-by-side diffs Delta from patch set Stats (+335 lines, -90 lines) Patch
M chrome/app/chromeos_strings.grdp View 1 2 2 chunks +15 lines, -4 lines 0 comments Download
M chrome/browser/resources/chromeos/login/custom_elements_login.html View 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/browser/resources/chromeos/login/custom_elements_login.js View 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/browser/resources/chromeos/login/custom_elements_oobe.html View 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/resources/chromeos/login/custom_elements_oobe.js View 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/resources/chromeos/login/offline_gaia.html View 2 chunks +4 lines, -4 lines 0 comments Download
M chrome/browser/resources/chromeos/login/offline_gaia.js View 1 chunk +4 lines, -1 line 0 comments Download
A chrome/browser/resources/chromeos/login/saml_interstitial.html View 1 2 3 4 5 6 7 8 1 chunk +62 lines, -0 lines 0 comments Download
A chrome/browser/resources/chromeos/login/saml_interstitial.js View 1 2 3 4 5 1 chunk +30 lines, -0 lines 0 comments Download
M chrome/browser/resources/chromeos/login/screen_gaia_signin.html View 1 2 1 chunk +3 lines, -1 line 0 comments Download
M chrome/browser/resources/chromeos/login/screen_gaia_signin.js View 1 2 3 4 5 6 24 chunks +127 lines, -55 lines 0 comments Download
M chrome/browser/resources/gaia_auth_host/authenticator.js View 1 2 3 4 5 6 10 chunks +34 lines, -5 lines 0 comments Download
M chrome/browser/ui/webui/chromeos/login/gaia_screen_handler.cc View 1 2 3 4 9 chunks +50 lines, -20 lines 0 comments Download

Messages

Total messages: 20 (9 generated)
afakhry
Hi Xiyuan! Could you please review this CL? Thanks!
4 years, 9 months ago (2016-03-26 02:48:37 UTC) #3
xiyuan
Mostly good. You might want to check out saml_browsertest.cc and add some test cases there, ...
4 years, 8 months ago (2016-03-28 20:58:41 UTC) #4
afakhry
I will investigate adding the tests in a separate CL as suggested. https://codereview.chromium.org/1831523003/diff/80001/chrome/browser/resources/chromeos/login/saml_interstitial.html File chrome/browser/resources/chromeos/login/saml_interstitial.html ...
4 years, 8 months ago (2016-03-28 23:15:33 UTC) #6
xiyuan
https://codereview.chromium.org/1831523003/diff/80001/chrome/browser/resources/chromeos/login/saml_interstitial.js File chrome/browser/resources/chromeos/login/saml_interstitial.js (right): https://codereview.chromium.org/1831523003/diff/80001/chrome/browser/resources/chromeos/login/saml_interstitial.js#newcode22 chrome/browser/resources/chromeos/login/saml_interstitial.js:22: this.i18n_(['samlInterstitialMessage', this.domain]); On 2016/03/28 23:15:32, afakhry wrote: > On ...
4 years, 8 months ago (2016-03-29 02:10:50 UTC) #7
afakhry
https://codereview.chromium.org/1831523003/diff/80001/chrome/browser/resources/chromeos/login/screen_gaia_signin.js File chrome/browser/resources/chromeos/login/screen_gaia_signin.js (right): https://codereview.chromium.org/1831523003/diff/80001/chrome/browser/resources/chromeos/login/screen_gaia_signin.js#newcode266 chrome/browser/resources/chromeos/login/screen_gaia_signin.js:266: * authentication by automatic redirection to the SAML-based enrollment ...
4 years, 8 months ago (2016-03-29 03:12:02 UTC) #8
xiyuan
lgtm
4 years, 8 months ago (2016-03-29 15:55:50 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1831523003/140001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1831523003/140001
4 years, 8 months ago (2016-03-29 17:35:51 UTC) #11
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/161561)
4 years, 8 months ago (2016-03-29 17:46:27 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1831523003/160001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1831523003/160001
4 years, 8 months ago (2016-03-29 17:56:44 UTC) #16
commit-bot: I haz the power
Committed patchset #9 (id:160001)
4 years, 8 months ago (2016-03-29 19:07:22 UTC) #18
commit-bot: I haz the power
4 years, 8 months ago (2016-03-29 19:08:59 UTC) #20
Message was sent while issue was closed.
Patchset 9 (id:??) landed as
https://crrev.com/cffafcbc6517076a8b2e0522c628688b5df24b92
Cr-Commit-Position: refs/heads/master@{#383788}

Powered by Google App Engine
This is Rietveld 408576698