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

Issue 2344883002: Let auth credentials autorefresh and fix new tab (Closed)

Created:
4 years, 3 months ago by kjlubick
Modified:
4 years, 3 months ago
Reviewers:
KevinL, jcgregorio, stephana
CC:
chromium-reviews, infra-reviews+luci-py_chromium.org, M-A Ruel
Base URL:
git@github.com:luci/luci-py@master
Target Ref:
refs/heads/master
Project:
luci-py
Visibility:
Public.

Description

Let auth credentials autorefresh and fix new tab The auth signin doesn't happen if the page is opened in a new tab. This is likely because the user is already logged in, so we just reuse the credentials. Additionally, this prevents the credentials from expiring. BUG=631047 Committed: https://github.com/luci/luci-py/commit/cd808e1138f16101899a9f6409eda3a647a41381

Patch Set 1 #

Patch Set 2 : rebase #

Patch Set 3 : Add hack to make auth happen when opened in new tab #

Patch Set 4 : Avoid super hacky approach #

Total comments: 6

Patch Set 5 : Use setTimeout instead #

Unified diffs Side-by-side diffs Delta from patch set Stats (+42 lines, -3 lines) Patch
M appengine/swarming/elements/build/elements.html View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M appengine/swarming/elements/res/imp/common/auth-signin.html View 1 2 3 4 2 chunks +41 lines, -2 lines 0 comments Download

Depends on Patchset:

Dependent Patchsets:

Messages

Total messages: 17 (8 generated)
kjlubick
4 years, 3 months ago (2016-09-15 15:00:30 UTC) #4
jcgregorio
https://codereview.chromium.org/2344883002/diff/60001/appengine/swarming/elements/res/imp/common/auth-signin.html File appengine/swarming/elements/res/imp/common/auth-signin.html (right): https://codereview.chromium.org/2344883002/diff/60001/appengine/swarming/elements/res/imp/common/auth-signin.html#newcode96 appengine/swarming/elements/res/imp/common/auth-signin.html:96: _signingIn: { _signingIn seems to be needed because you ...
4 years, 3 months ago (2016-09-20 12:58:19 UTC) #5
kjlubick
https://codereview.chromium.org/2344883002/diff/60001/appengine/swarming/elements/res/imp/common/auth-signin.html File appengine/swarming/elements/res/imp/common/auth-signin.html (right): https://codereview.chromium.org/2344883002/diff/60001/appengine/swarming/elements/res/imp/common/auth-signin.html#newcode96 appengine/swarming/elements/res/imp/common/auth-signin.html:96: _signingIn: { On 2016/09/20 at 12:58:18, jcgregorio wrote: > ...
4 years, 3 months ago (2016-09-20 13:24:02 UTC) #6
jcgregorio
lgtm
4 years, 3 months ago (2016-09-20 13:31:00 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2344883002/80001
4 years, 3 months ago (2016-09-20 13:36:15 UTC) #9
commit-bot: I haz the power
No L-G-T-M from a valid reviewer yet. CQ run can only be started by full ...
4 years, 3 months ago (2016-09-20 13:36:17 UTC) #11
KevinL
lgtm
4 years, 3 months ago (2016-09-20 13:36:20 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2344883002/80001
4 years, 3 months ago (2016-09-20 13:36:35 UTC) #15
commit-bot: I haz the power
4 years, 3 months ago (2016-09-20 13:39:54 UTC) #17
Message was sent while issue was closed.
Committed patchset #5 (id:80001) as
https://github.com/luci/luci-py/commit/cd808e1138f16101899a9f6409eda3a647a41381

Powered by Google App Engine
This is Rietveld 408576698