Skip to content

Commit

Permalink
resolved discussion
Browse files Browse the repository at this point in the history
  • Loading branch information
SayazhanBos committed Apr 10, 2024
1 parent d1a4418 commit d8ce4cd
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions library/java/net/openid/appauth/IdToken.java
Original file line number Diff line number Diff line change
Expand Up @@ -167,6 +167,7 @@ public static IdToken from(String token) throws JSONException, IdTokenException
throw new IdTokenException("ID token must have both header and claims section");
}

// (AMN code changes invalidated this comment, 04-2024) We ignore header contents, but parse it to check that it is structurally valid JSON
// We are using headers to get nonce field from it and also parse it to check that it is
// structurally valid JSON
JSONObject headers = parseJwtSection(sections[0]);
Expand Down

0 comments on commit d8ce4cd

Please sign in to comment.