[ 
https://issues.apache.org/jira/browse/KNOX-2575?focusedWorklogId=586034&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-586034
 ]

ASF GitHub Bot logged work on KNOX-2575:
----------------------------------------

                Author: ASF GitHub Bot
            Created on: 20/Apr/21 17:36
            Start Date: 20/Apr/21 17:36
    Worklog Time Spent: 10m 
      Work Description: moresandeep commented on a change in pull request #436:
URL: https://github.com/apache/knox/pull/436#discussion_r616900266



##########
File path: 
gateway-spi/src/main/java/org/apache/knox/gateway/services/security/token/impl/JWTToken.java
##########
@@ -80,12 +82,17 @@ public JWTToken(String alg, String[] claimsArray, 
List<String> audiences, boolea
     if(claimsArray[3] != null) {
       builder = builder.expirationTime(new 
Date(Long.parseLong(claimsArray[3])));
     }
+    if(claimsArray[4] != null) {

Review comment:
       It does but that is a good test before we stumble into 
ArrayIndexOutOfBounds exception




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]


Issue Time Tracking
-------------------

    Worklog Id:     (was: 586034)
    Time Spent: 50m  (was: 40m)

> Add `kid` and `jku` claims to JWT tokens issues by Knox
> -------------------------------------------------------
>
>                 Key: KNOX-2575
>                 URL: https://issues.apache.org/jira/browse/KNOX-2575
>             Project: Apache Knox
>          Issue Type: Improvement
>            Reporter: Sandeep More
>            Assignee: Sandeep More
>            Priority: Major
>          Time Spent: 50m
>  Remaining Estimate: 0h
>
> With support for JWKS endpoint out of the way (KNOX-2570) JWT tokens issued 
> by Knox should include `kid` and `jku` claims.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to