brbzull0 commented on issue #8874:
URL: https://github.com/apache/trafficserver/issues/8874#issuecomment-1145903137

   @Scumtron thanks for the details.
   
   It seems that the payload in your token is not right:
   ```json
   {
      "header":{
         "typ":"JWT",
         "alg":"HS256"
      },
      "payload":{
         "exp":1654240744
      }
   }
   ```
   
   If you check the log you'll notice:
   ```
   Searching all keys for issuer (null) for 0x7fe49005bf30
   ```
   Issuer is null(and not present in the payload up above), `iss` key should 
hold the issuer in this case.
   As per the plugin's 
[documentation](https://docs.trafficserver.apache.org/en/latest/admin-guide/plugins/uri_signing.en.html?highlight=uri%20signing#supported-claims)
   ```
   iss: Must be present. The issuer is used to locate the key for verification.
   ```
   
   Please have a look at the token and how it's being generated.
   
   Regards,
   Damian.


-- 
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.

To unsubscribe, e-mail: [email protected]

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

Reply via email to