Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(651)

Issue 12906045: code review 12906045: goauth2: Keep track of the JWT id_token received during...

Can't Edit
Can't Publish+Mail
Start Review
Created:
12 years, 2 months ago by asimshankar
Modified:
12 years, 1 month ago
Reviewers:
adg
CC:
adg, golang-dev, bradfitz
Visibility:
Public.

Description

goauth2: Keep track of the JWT id_token received during access token exchanges. For more details about the JWT id_token, see: http://openid.net/specs/oauth-v2-multiple-response-types-1_0-08.html#id_token And the Google OAuth APIs: https://developers.google.com/accounts/docs/OAuth2Login#exchangecode

Patch Set 1 #

Patch Set 2 : diff -r ecc4c1308422 https://code.google.com/p/goauth2 #

Patch Set 3 : diff -r ecc4c1308422 https://code.google.com/p/goauth2 #

Patch Set 4 : diff -r ecc4c1308422 https://code.google.com/p/goauth2 #

Total comments: 9

Patch Set 5 : diff -r ecc4c1308422 https://code.google.com/p/goauth2 #

Total comments: 6

Patch Set 6 : diff -r ecc4c1308422 https://code.google.com/p/goauth2 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+20 lines, -6 lines) Patch
M oauth/oauth.go View 1 2 3 4 5 4 chunks +10 lines, -1 line 0 comments Download
M oauth/oauth_test.go View 1 2 3 4 6 chunks +10 lines, -5 lines 0 comments Download

Messages

Total messages: 17
asimshankar
Hello golang-dev@googlegroups.com, I'd like you to review this change to https://code.google.com/p/goauth2
12 years, 2 months ago (2013-08-20 07:23:20 UTC) #1
asimshankar
Hello adg@golang.org, golang-dev@googlegroups.com (cc: golang-dev, golang-dev@googlegroups.com), Please take another look.
12 years, 2 months ago (2013-08-20 07:25:49 UTC) #2
bradfitz
R=adg On Tue, Aug 20, 2013 at 12:23 AM, <asimshankar@gmail.com> wrote: > Reviewers: golang-dev1, > ...
12 years, 2 months ago (2013-08-20 14:50:28 UTC) #3
adg
Functionally it looks okay, but if http://golang.org/issue/6213 gets in for 1.2 I'd prefer to take ...
12 years, 2 months ago (2013-08-22 07:06:49 UTC) #4
asimshankar
On 2013/08/22 07:06:49, adg wrote: > Functionally it looks okay, but if http://golang.org/issue/6213 gets in ...
12 years, 2 months ago (2013-08-22 07:47:39 UTC) #5
adg
Let's explore getting this in, for now. https://codereview.appspot.com/12906045/diff/9001/oauth/oauth.go File oauth/oauth.go (right): https://codereview.appspot.com/12906045/diff/9001/oauth/oauth.go#newcode345 oauth/oauth.go:345: b.Id = ...
12 years, 2 months ago (2013-08-26 05:14:48 UTC) #6
asimshankar
https://codereview.appspot.com/12906045/diff/9001/oauth/oauth.go File oauth/oauth.go (right): https://codereview.appspot.com/12906045/diff/9001/oauth/oauth.go#newcode345 oauth/oauth.go:345: b.Id = vals.Get("id_token") On 2013/08/26 05:14:48, adg wrote: > ...
12 years, 2 months ago (2013-08-26 06:11:41 UTC) #7
adg
I'd like to make this compatible with the future approach, so here it is. https://codereview.appspot.com/12906045/diff/9001/oauth/oauth.go ...
12 years, 2 months ago (2013-08-27 03:54:01 UTC) #8
asimshankar
Thanks. All comments addressed. https://codereview.appspot.com/12906045/diff/9001/oauth/oauth.go File oauth/oauth.go (right): https://codereview.appspot.com/12906045/diff/9001/oauth/oauth.go#newcode136 oauth/oauth.go:136: IdToken string // A JWT ...
12 years, 2 months ago (2013-08-27 04:22:43 UTC) #9
adg
https://codereview.appspot.com/12906045/diff/18001/oauth/oauth.go File oauth/oauth.go (right): https://codereview.appspot.com/12906045/diff/18001/oauth/oauth.go#newcode136 oauth/oauth.go:136: Extra map[string]string // May be nil. sorry, for the ...
12 years, 2 months ago (2013-08-27 04:42:53 UTC) #10
asimshankar
All done. https://codereview.appspot.com/12906045/diff/18001/oauth/oauth.go File oauth/oauth.go (right): https://codereview.appspot.com/12906045/diff/18001/oauth/oauth.go#newcode136 oauth/oauth.go:136: Extra map[string]string // May be nil. On ...
12 years, 2 months ago (2013-08-27 04:56:23 UTC) #11
adg
LGTM
12 years, 2 months ago (2013-08-27 04:58:58 UTC) #12
adg
Have you signed the Contributor License Agreement? http://golang.org/doc/contribute.html#copyright
12 years, 2 months ago (2013-08-27 05:00:43 UTC) #13
asimshankar
Just did. Though, since I'm currently employed by Google, I'm under the impression that my ...
12 years, 2 months ago (2013-08-27 05:04:50 UTC) #14
adg
On 27 August 2013 15:04, Asim Shankar <asimshankar@gmail.com> wrote: > > Though, since I'm currently ...
12 years, 2 months ago (2013-08-27 05:14:49 UTC) #15
asimshankar
Flipped a coin: gmail it is :) Thanks! On Mon, Aug 26, 2013 at 10:14 ...
12 years, 2 months ago (2013-08-27 05:16:52 UTC) #16
adg
12 years, 1 month ago (2013-08-27 23:40:36 UTC) #17
*** Submitted as https://code.google.com/p/goauth2/source/detail?r=aa0ef39a7c24 *** goauth2: Keep track of the JWT id_token received during access token exchanges. For more details about the JWT id_token, see: http://openid.net/specs/oauth-v2-multiple-response-types-1_0-08.html#id_token And the Google OAuth APIs: https://developers.google.com/accounts/docs/OAuth2Login#exchangecode R=adg, golang-dev, bradfitz CC=golang-dev https://codereview.appspot.com/12906045 Committer: Andrew Gerrand <adg@golang.org>
Sign in to reply to this message.

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b