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

Issue 10042045: oauth issues 78 & 79 update Id token to draft 27 and add IdTokenVerifier (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
10 years, 11 months ago by yanivi
Modified:
10 years, 10 months ago
Reviewers:
peleyal
CC:
ngmiceli
Base URL:
https://code.google.com/p/google-oauth-java-client/
Visibility:
Public.

Description

oauth issues 78 & 79 update Id token to draft 27 and add IdTokenVerifier oauth issue 78: Update to ID Token draft 27 https://code.google.com/p/google-oauth-java-client/issues/detail?id=78 oauth issue 79: New IdTokenVerifier class https://code.google.com/p/google-oauth-java-client/issues/detail?id=79

Patch Set 1 #

Patch Set 2 : improvements #

Patch Set 3 : name improvements #

Total comments: 24

Patch Set 4 : fixes #

Patch Set 5 : sync #

Unified diffs Side-by-side diffs Delta from patch set Stats (+569 lines, -13 lines) Patch
M clirr-ignored-differences.xml View 1 2 3 4 2 chunks +9 lines, -0 lines 0 comments Download
M google-oauth-client/pom.xml View 1 chunk +5 lines, -0 lines 0 comments Download
M google-oauth-client/src/main/java/com/google/api/client/auth/openidconnect/IdToken.java View 1 2 3 9 chunks +189 lines, -13 lines 0 comments Download
A google-oauth-client/src/main/java/com/google/api/client/auth/openidconnect/IdTokenVerifier.java View 1 2 3 1 chunk +251 lines, -0 lines 0 comments Download
M google-oauth-client/src/test/java/com/google/api/client/auth/openidconnect/IdTokenTest.java View 1 2 3 1 chunk +15 lines, -0 lines 0 comments Download
A google-oauth-client/src/test/java/com/google/api/client/auth/openidconnect/IdTokenVerifierTest.java View 1 2 3 1 chunk +100 lines, -0 lines 0 comments Download

Messages

Total messages: 8
yanivi
10 years, 11 months ago (2013-06-05 16:57:10 UTC) #1
yanivi
10 years, 10 months ago (2013-06-06 14:27:48 UTC) #2
yanivi
friendly ping
10 years, 10 months ago (2013-06-11 11:52:35 UTC) #3
peleyal
https://codereview.appspot.com/10042045/diff/9001/google-oauth-client/src/main/java/com/google/api/client/auth/openidconnect/IdToken.java File google-oauth-client/src/main/java/com/google/api/client/auth/openidconnect/IdToken.java (right): https://codereview.appspot.com/10042045/diff/9001/google-oauth-client/src/main/java/com/google/api/client/auth/openidconnect/IdToken.java#newcode30 google-oauth-client/src/main/java/com/google/api/client/auth/openidconnect/IdToken.java:30: * href="http://openid.net/specs/openid-connect-basic-1_0-27.html#id_token">ID Token</a>. Maybe I'm missing something here, but ...
10 years, 10 months ago (2013-06-12 14:20:49 UTC) #4
yanivi
https://codereview.appspot.com/10042045/diff/9001/google-oauth-client/src/main/java/com/google/api/client/auth/openidconnect/IdToken.java File google-oauth-client/src/main/java/com/google/api/client/auth/openidconnect/IdToken.java (right): https://codereview.appspot.com/10042045/diff/9001/google-oauth-client/src/main/java/com/google/api/client/auth/openidconnect/IdToken.java#newcode30 google-oauth-client/src/main/java/com/google/api/client/auth/openidconnect/IdToken.java:30: * href="http://openid.net/specs/openid-connect-basic-1_0-27.html#id_token">ID Token</a>. On 2013/06/12 14:20:49, peleyal wrote: > ...
10 years, 10 months ago (2013-06-17 17:36:10 UTC) #5
yanivi
ping
10 years, 10 months ago (2013-06-20 16:52:03 UTC) #6
peleyal
LGTM, but let's talk about my comment before submitting https://codereview.appspot.com/10042045/diff/9001/google-oauth-client/src/main/java/com/google/api/client/auth/openidconnect/IdToken.java File google-oauth-client/src/main/java/com/google/api/client/auth/openidconnect/IdToken.java (right): https://codereview.appspot.com/10042045/diff/9001/google-oauth-client/src/main/java/com/google/api/client/auth/openidconnect/IdToken.java#newcode152 google-oauth-client/src/main/java/com/google/api/client/auth/openidconnect/IdToken.java:152: ...
10 years, 10 months ago (2013-06-24 15:38:22 UTC) #7
yanivi
10 years, 10 months ago (2013-06-24 19:58:08 UTC) #8
https://codereview.appspot.com/10042045/diff/9001/google-oauth-client/src/mai...
File
google-oauth-client/src/main/java/com/google/api/client/auth/openidconnect/IdToken.java
(right):

https://codereview.appspot.com/10042045/diff/9001/google-oauth-client/src/mai...
google-oauth-client/src/main/java/com/google/api/client/auth/openidconnect/IdToken.java:152:
public static class Payload extends JsonWebToken.Payload {
On 2013/06/24 15:38:22, peleyal wrote:
> So I don't get it, why they don't appear also in this spec? Is this spec is
> addition to the JWT?
> It's weird because iss for example is mentioned in both of the spec, and nbf
> appears only in the JWT.
> 
> On 2013/06/17 17:36:10, yanivi wrote:
> > On 2013/06/12 14:20:49, peleyal wrote:
> > > Again, maybe I'm not on the same page as you, but it looks like
> > > JsonWebToken.Payload contains fields like nbf and jti which don't exist in
> the
> > > spec.
> > 
> > They are in the JWT spec.
> 

I agree that it is weird, but at the same time these are draft specs, so
probably it just a matter of waiting and they will fix these kinds of minor
inconsistencies between the specs.
Sign in to reply to this message.

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