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

Issue 1960353002: [Findit] Use gerric scope instead of email scope to authorize findit to internal buildspec/ (Closed)

Created:
4 years, 7 months ago by Sharu Jiang
Modified:
4 years, 7 months ago
Reviewers:
stgao
CC:
chromium-reviews, infra-reviews+infra_chromium.org, mbarbella (wrong one), mmandlis, aarya
Base URL:
https://chromium.googlesource.com/infra/infra.git@master
Target Ref:
refs/heads/master
Project:
infra
Visibility:
Public.

Description

[Findit] Use gerric scope instead of email scope to authorize findit to internal buildspec/ For internal buildspec/ (https://chrome-internal.googlesource.com/chrome/tools/buildspec.git/), the scope for authentication should be https://www.googleapis.com/auth/gerritcodereview instead of https://www.googleapis.com/auth/userinfo.email. BUG=605356 Committed: https://chromium.googlesource.com/infra/infra/+/fb53695b44cc578a02b2d00c9e11b1ed316dde39

Patch Set 1 #

Total comments: 2

Patch Set 2 : Update doc string. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+11 lines, -8 lines) Patch
M appengine/findit/common/auth_util.py View 1 1 chunk +3 lines, -3 lines 0 comments Download
M appengine/findit/common/http_client_appengine.py View 2 chunks +8 lines, -5 lines 0 comments Download

Messages

Total messages: 13 (7 generated)
Sharu Jiang
This is to resolve the 403 issue accessing the internal buildspec/ repo - https://chrome-internal.googlesource.com/chrome/tools/buildspec.git/.
4 years, 7 months ago (2016-05-09 20:58:17 UTC) #4
Sharu Jiang
PTAL :)
4 years, 7 months ago (2016-05-09 20:58:29 UTC) #5
stgao
lgtm https://codereview.chromium.org/1960353002/diff/1/appengine/findit/common/auth_util.py File appengine/findit/common/auth_util.py (right): https://codereview.chromium.org/1960353002/diff/1/appengine/findit/common/auth_util.py#newcode12 appengine/findit/common/auth_util.py:12: """Gets auth token for requests to swarming server ...
4 years, 7 months ago (2016-05-09 21:44:45 UTC) #7
Sharu Jiang
https://codereview.chromium.org/1960353002/diff/1/appengine/findit/common/auth_util.py File appengine/findit/common/auth_util.py (right): https://codereview.chromium.org/1960353002/diff/1/appengine/findit/common/auth_util.py#newcode12 appengine/findit/common/auth_util.py:12: """Gets auth token for requests to swarming server and ...
4 years, 7 months ago (2016-05-09 22:01:48 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1960353002/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1960353002/20001
4 years, 7 months ago (2016-05-09 22:02:45 UTC) #11
commit-bot: I haz the power
4 years, 7 months ago (2016-05-09 22:07:05 UTC) #13
Message was sent while issue was closed.
Committed patchset #2 (id:20001) as
https://chromium.googlesource.com/infra/infra/+/fb53695b44cc578a02b2d00c9e11b...

Powered by Google App Engine
This is Rietveld 408576698