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

Issue 2952323002: Take into account expiration time when comparing tokens. (Closed)

Created:
3 years, 6 months ago by Vadim Sh.
Modified:
3 years, 6 months ago
Reviewers:
iannucci
CC:
chromium-reviews, infra-reviews+luci-go_chromium.org, maruel+w_chromium.org, tandrii+luci-go_chromium.org
Target Ref:
refs/heads/master
Project:
luci-go
Visibility:
Public.

Description

Take into account expiration time when comparing tokens. When refreshing a token some (misbehaving) token providers may return existing token, but with different expiration time. It confused the token cache that assumed expiration time is a static property of the token. R=iannucci@chromium.org BUG=skia:6611 Review-Url: https://codereview.chromium.org/2952323002 Committed: https://github.com/luci/luci-go/commit/d68e694983c84b6dfed7c9eecc3196fadbf1b946

Patch Set 1 #

Patch Set 2 : Take into account expiration time when comparing tokens. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+6 lines, -8 lines) Patch
M common/auth/internal/common.go View 1 1 chunk +6 lines, -8 lines 0 comments Download

Messages

Total messages: 8 (4 generated)
Vadim Sh.
3 years, 6 months ago (2017-06-22 23:26:30 UTC) #1
iannucci
gross... lgtm
3 years, 6 months ago (2017-06-22 23:30:36 UTC) #2
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/2952323002/20001
3 years, 6 months ago (2017-06-22 23:34:44 UTC) #5
commit-bot: I haz the power
3 years, 6 months ago (2017-06-22 23:48:01 UTC) #8
Message was sent while issue was closed.
Committed patchset #2 (id:20001) as
https://github.com/luci/luci-go/commit/d68e694983c84b6dfed7c9eecc3196fadbf1b946

Powered by Google App Engine
This is Rietveld 408576698