Class com.ibm.ws.security.oauth20.jwt.JwtGrantTypeHandlerConfigTest

1

tests

0

failures

0

ignored

0.014s

duration

100%

successful

Tests

Test Duration Result
testGetMethods 0.014s passed

Standard output

    TrConfigZapper.zapTrConfig : start invoke init()
init: Did BaseTraceService.captureSystemStreams() already get excuted? : false. Current COH is com.ibm.websphere.ras.CapturedOutputHolder@bfc5fabf
registerLoggerHandlerSingleton: Did BaseTraceService.captureSystemStreams() already get excuted? : false. Current COH is com.ibm.websphere.ras.CapturedOutputHolder@bfc5fabf
captureSystemStreams: CurrentCOH is : com.ibm.websphere.ras.CapturedOutputHolder@bfc5fabf
    TrConfigZapper.zapTrConfig : finished invoke init()

Standard error

[ERROR   ] JWT_JWTTOKEN_ILLEGAL_STATE_ERR 
                                                                                                               client03
                                                                                                               JWT rejected due to invalid signature. Additional details: [[9] Invalid JWS Signature: JsonWebSignature{"alg":"HS256"}->eyJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJpYm0uY29tIiwiaWF0IjoxNzE1NjMyMTQ4LCJleHAiOjE3MTU2MzU3NDh9.8b7whkRMuNt1wB4HPWSKcwa43j8Q0VYRtWiJGRIWXYZ]
[ERROR   ] CWWKS2217E: The token endpoint request failed. Another JWT Token with the same 'iss':[client03] and 'jti':[UNIQUE2] has already been submitted.
[ERROR   ] CWWKS2202E: The token endpoint request failed because more than one JWT Token was found.
[ERROR   ] CWWKS2257E: The token endpoint request failed. The request is not valid because it is missing the required JWT Token.
[ERROR   ] CWWKS2272E: The OAuth token endpoint request failed. The JWT Token is signed with RS256. It is only supported with the OpenID Connect token endpoint.
[ERROR   ] CWWKS2215E: The token endpoint request failed. The JWT Token needs to provide the 'iat' claim because 'iatRequired' is set to true in the configuration of the OpenID Connect Provider.
[ERROR   ] CWWKS2214E: The token endpoint request failed. The JWT Token is not valid because its 'iss' claim(issue-at-time):[Mon May 13 19:15:49 BST 2024] exceeds the maximum JWT Token lifetime allowed, which is defined as tokenMaxLifetime in the configuration: [7,200] seconds.
[ERROR   ] CWWKS2262E: The token endpoint request failed. The JWT token 'iat' claim time is in the future: [Mon May 13 21:37:29 BST 2024]. The current time plus the clock skew: [Mon May 13 21:34:09 BST 2024]. 
[ERROR   ] CWWKS2251E: The token endpoint request failed. The JWT token in the request is missing a required claim 'exp'.
[ERROR   ] CWWKS2251E: The token endpoint request failed. The JWT token in the request is missing a required claim 'aud'.
[ERROR   ] CWWKS2266E: The token endpoint request failed. The audience claim [badAudience anotherBadAudience] does not match the issuer identifier of the OpenID Connect Provider [opIssuerIdentifier] or the token endpoint [https://localhost:8045/oidc/endpoint/unitoidc/token].
[ERROR   ] CWWKS2251E: The token endpoint request failed. The JWT token in the request is missing a required claim 'iss'.
[ERROR   ] CWWKS2265E: The token endpoint request failed. The JWT Token issuer [https://localhost:8020/test/redirect/bad] does not match clientId [client03] or any redirect uri such as: [https://localhost:8021/test/redirect]. 
[ERROR   ] CWWKS2251E: The token endpoint request failed. The JWT token in the request is missing a required claim 'sub'.
[ERROR   ] CWWKS2210E: The token endpoint request failed. The JWT token is not valid because its 'sub' claim [badUser] is not found in the OpenID Connect Provider user registry.
[ERROR   ] CWWKS2263E: The token endpoint request failed. The JWT token time passed its 'exp' claim: [Mon May 13 21:22:29 BST 2024]. The current time plus the clock skew in the OpenID Connect Provider is [Mon May 13 21:24:09 BST 2024].
[ERROR   ] CWWKS2205E: The token endpoint request failed. The 'exp' claim [not800] in the JWT Token is not in the right format. It should be in UTC time and must be an integer.
[ERROR   ] CWWKS2260E: The token endpoint request failed because the JWT Token was requested prior to its 'nbf' claim. Current time plus clock skew in the OpenID Connect Provider is [Mon May 13 21:34:08 BST 2024]. The 'nbf' time is [Mon May 13 21:34:09 BST 2024].