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

1

tests

0

failures

0

ignored

0.019s

duration

100%

successful

Tests

Test Duration Result
testGetMethods 0.019s passed

Standard output

    TrConfigZapper.zapTrConfig : start invoke init()
init: Did BaseTraceService.captureSystemStreams() already get excuted? : false. Current COH is com.ibm.websphere.ras.CapturedOutputHolder@9e00bf5b
registerLoggerHandlerSingleton: Did BaseTraceService.captureSystemStreams() already get excuted? : false. Current COH is com.ibm.websphere.ras.CapturedOutputHolder@9e00bf5b
captureSystemStreams: CurrentCOH is : com.ibm.websphere.ras.CapturedOutputHolder@9e00bf5b
    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.eyJpc3MiOiJpYm0uY29tIiwiaWF0IjoxNzE5MDg3NTM5LCJleHAiOjE3MTkwOTExMzl9.mByJpbXwqFPkYIE9nRCwWu_bnalMo0Ra3MkAUV1WXYZ]
[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):[Sat Jun 22 18:05:39 UTC 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: [Sat Jun 22 20:27:19 UTC 2024]. The current time plus the clock skew: [Sat Jun 22 20:23:59 UTC 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: [Sat Jun 22 20:12:19 UTC 2024]. The current time plus the clock skew in the OpenID Connect Provider is [Sat Jun 22 20:13:59 UTC 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 [Sat Jun 22 20:23:58 UTC 2024]. The 'nbf' time is [Sat Jun 22 20:23:59 UTC 2024].