Class com.ibm.ws.security.oauth20.jwt.JwtGrantTypeHandlerConfigTest
Tests
Test |
Duration |
Result |
testGetMethods |
0.015s |
passed |
Standard output
TrConfigZapper.zapTrConfig : start invoke init()
init: Did BaseTraceService.captureSystemStreams() already get excuted? : false. Current COH is com.ibm.websphere.ras.CapturedOutputHolder@db1e9a6e
registerLoggerHandlerSingleton: Did BaseTraceService.captureSystemStreams() already get excuted? : false. Current COH is com.ibm.websphere.ras.CapturedOutputHolder@db1e9a6e
captureSystemStreams: CurrentCOH is : com.ibm.websphere.ras.CapturedOutputHolder@db1e9a6e
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.eyJpc3MiOiJpYm0uY29tIiwiaWF0IjoxNzE4MzY4MDQxLCJleHAiOjE3MTgzNzE2NDF9.VNsUBZsgmUTjQMQtdu8y-ggwzOsf9xykfmaQ1BUWXYZ]
[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):[Fri Jun 14 11:14:01 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: [Fri Jun 14 13:35:41 BST 2024]. The current time plus the clock skew: [Fri Jun 14 13:32:21 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: [Fri Jun 14 13:20:41 BST 2024]. The current time plus the clock skew in the OpenID Connect Provider is [Fri Jun 14 13:22:21 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 [Fri Jun 14 13:32:20 BST 2024]. The 'nbf' time is [Fri Jun 14 13:32:21 BST 2024].