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

Issue 2196043002: auth: Minor fixes in OpenID login flow. (Closed)

Created:
4 years, 4 months ago by Vadim Sh.
Modified:
4 years, 4 months ago
Reviewers:
nodir
CC:
chromium-reviews, infra-reviews+luci-py_chromium.org
Base URL:
https://chromium.googlesource.com/external/github.com/luci/luci-py@master
Target Ref:
refs/heads/master
Project:
luci-py
Visibility:
Public.

Description

auth: Minor fixes in OpenID login flow. In particular: * Fix typo in code that reports missing 'state' parameter error. * Always show account chooser, even if there's only one account (fixes some annoying silent redirects). * Stricter validation of redirect URLs in /login and /logout. R=nodir@chromium.org BUG= Committed: https://github.com/luci/luci-py/commit/777aeadd52d6a8af4e60b884109102bd8757696b

Patch Set 1 #

Total comments: 3
Unified diffs Side-by-side diffs Delta from patch set Stats (+77 lines, -19 lines) Patch
M appengine/components/components/auth/openid.py View 4 chunks +46 lines, -6 lines 3 comments Download
M appengine/components/components/auth/openid_test.py View 3 chunks +30 lines, -12 lines 0 comments Download
M appengine/components/components/auth/version.py View 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 7 (2 generated)
Vadim Sh.
4 years, 4 months ago (2016-07-30 19:09:52 UTC) #1
nodir
lgtm https://codereview.chromium.org/2196043002/diff/1/appengine/components/components/auth/openid.py File appengine/components/components/auth/openid.py (left): https://codereview.chromium.org/2196043002/diff/1/appengine/components/components/auth/openid.py#oldcode362 appengine/components/components/auth/openid.py:362: self.abort(400, detai='Missing "state" parameter') Yay Python https://codereview.chromium.org/2196043002/diff/1/appengine/components/components/auth/openid.py File ...
4 years, 4 months ago (2016-07-30 20:04:14 UTC) #2
Vadim Sh.
https://codereview.chromium.org/2196043002/diff/1/appengine/components/components/auth/openid.py File appengine/components/components/auth/openid.py (right): https://codereview.chromium.org/2196043002/diff/1/appengine/components/components/auth/openid.py#newcode578 appengine/components/components/auth/openid.py:578: # Get rid of '//', '.', '..' in the ...
4 years, 4 months ago (2016-07-30 20:09:51 UTC) #3
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/2196043002/1
4 years, 4 months ago (2016-07-31 18:09:25 UTC) #5
commit-bot: I haz the power
4 years, 4 months ago (2016-07-31 18:11:43 UTC) #7
Message was sent while issue was closed.
Committed patchset #1 (id:1) as
https://github.com/luci/luci-py/commit/777aeadd52d6a8af4e60b884109102bd8757696b

Powered by Google App Engine
This is Rietveld 408576698