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

Issue 238273011: Fixed reauthentication issue (Closed)

Created:
6 years, 8 months ago by pgervais
Modified:
6 years, 8 months ago
CC:
chromium-reviews, Dirk Pranke, cmp-cc_chromium.org, M-A Ruel, iannucci+depot_tools_chromium.org, ilevy-cc_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/tools/depot_tools.git@master
Visibility:
Public.

Description

Fixed reauthentication issue Renewal of OAuth2 credentials did not work on appengine because it replies with 302 instead of 401 when authentication fails. Configured it to attempt credentials renewal on a 302. Of course this will prevent any 302 from working normally, but it works with Rietveld since it does not use 302. BUG=319446 Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=264639

Patch Set 1 #

Total comments: 5

Patch Set 2 : Small fixes #

Unified diffs Side-by-side diffs Delta from patch set Stats (+2 lines, -0 lines) Patch
M rietveld.py View 1 1 chunk +2 lines, -0 lines 0 comments Download

Messages

Total messages: 15 (0 generated)
pgervais
This should fix issues we have with an authenticated Rietveld.
6 years, 8 months ago (2014-04-17 17:03:43 UTC) #1
Ryan Tseng
lgtm % comment Also upstream it to oa2client.REFRESH_STATUS_CODES https://codereview.chromium.org/238273011/diff/1/rietveld.py File rietveld.py (right): https://codereview.chromium.org/238273011/diff/1/rietveld.py#newcode33 rietveld.py:33: # ...
6 years, 8 months ago (2014-04-17 17:10:40 UTC) #2
Ryan Tseng
I meant, upstream to https://code.google.com/p/rietveld/source/browse/rietveld.py?name=chromium. You can send a patch to maruel@ and he'll commit ...
6 years, 8 months ago (2014-04-17 17:12:43 UTC) #3
pgervais
https://codereview.chromium.org/238273011/diff/1/rietveld.py File rietveld.py (right): https://codereview.chromium.org/238273011/diff/1/rietveld.py#newcode33 rietveld.py:33: # appengine replies with 302 when authentication fails (sigh) ...
6 years, 8 months ago (2014-04-17 17:28:00 UTC) #4
pgervais
On 2014/04/17 17:12:43, Ryan T. wrote: > I meant, upstream to > https://code.google.com/p/rietveld/source/browse/rietveld.py?name=chromium. > You ...
6 years, 8 months ago (2014-04-17 17:30:49 UTC) #5
pgervais
The CQ bit was checked by pgervais@chromium.org
6 years, 8 months ago (2014-04-17 17:30:54 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/pgervais@chromium.org/238273011/1
6 years, 8 months ago (2014-04-17 17:31:07 UTC) #7
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 8 months ago (2014-04-17 17:34:04 UTC) #8
commit-bot: I haz the power
Presubmit check for 238273011-1 failed and returned exit status 1. Running presubmit commit checks ...
6 years, 8 months ago (2014-04-17 17:34:04 UTC) #9
pgervais
maruel? can you lgtm that as well?
6 years, 8 months ago (2014-04-17 17:35:29 UTC) #10
iannucci
let's see if my rslgtm is good enough.
6 years, 8 months ago (2014-04-17 18:27:44 UTC) #11
M-A Ruel
lgtm assuming you did want Ryan asked. https://codereview.chromium.org/238273011/diff/1/rietveld.py File rietveld.py (right): https://codereview.chromium.org/238273011/diff/1/rietveld.py#newcode34 rietveld.py:34: oa2client.REFRESH_STATUS_CODES = ...
6 years, 8 months ago (2014-04-17 19:12:47 UTC) #12
pgervais
The CQ bit was checked by pgervais@chromium.org
6 years, 8 months ago (2014-04-17 21:16:15 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/pgervais@chromium.org/238273011/20001
6 years, 8 months ago (2014-04-17 21:16:43 UTC) #14
commit-bot: I haz the power
6 years, 8 months ago (2014-04-17 21:19:37 UTC) #15
Message was sent while issue was closed.
Change committed as 264639

Powered by Google App Engine
This is Rietveld 408576698