Class com.ibm.ws.security.openidconnect.server.internal.OidcDiscoveryProviderConfigTest

10

tests

0

failures

0

ignored

0.008s

duration

100%

successful

Tests

Test Duration Result
testCalculatedAuthorizationEndpoint 0s passed
testCalculatedCheckSessionIframeEndpoint 0s passed
testCalculatedCoverageMapEndpoint 0s passed
testCalculatedEndSessionEndpoint 0s passed
testCalculatedIntrospectionEndpoint 0s passed
testCalculatedIssueId 0.005s passed
testCalculatedProxyEndpoint 0s passed
testCalculatedRegistrationEndpoint 0s passed
testCalculatedTokenEndpoint 0s passed
testCalculatedUserinfoEndpoint 0.003s passed

Standard error

[ERROR   ] CWWKS1626E: The login user name [user2] does not match with the subject of the ID token [user1].
[ERROR   ] CWWKS1636E: The post_logout_redirect_uri parameter: http://localhost:80/index.html does not match the value of the OpenID Connect provider attribute, postLogoutRedirectUris=[ https://localhost:80/index.html, http://redirect ] in the client ID: client01.
[ERROR   ] CWWKS1625E: The OpenID Connect provider failed to validate the ID token due to [tried to return a com.ibm.oauth.core.api.oauth20.client.OAuth20ClientProvider$$EnhancerByCGLIB$$64278fbb from a method that can only return a com.ibm.ws.security.oauth20.api.OidcOAuth20ClientProvider].
[ERROR   ] CWWKS1636E: The post_logout_redirect_uri parameter: http://localhost:80/index.html does not match the value of the OpenID Connect provider attribute, postLogoutRedirectUris=null in the client ID: null.
[ERROR   ] CWWKS1619E: A userinfo request was made with an access token that did not have the 'openid' scope. The request URI was test URI.
[ERROR   ] CWWKS1616E: A userinfo request was made with no access token. The request URI was test URI.
[ERROR   ] CWWKS1621E: A userinfo request was made with an access token in the access_token request parameter and also the authorization header. Only one access token is allowed. The request URI was test URI.
[ERROR   ] CWWKS1617E: A userinfo request was made with an access token that was not recognized. The request URI was test URI.
[ERROR   ] CWWKS1622E: A userinfo request was made with a token that was not an access token. The request URI was test URI.
[ERROR   ] CWWKS1623E: A userinfo request was made with an expired access token. The request URI was test URI.
[ERROR   ] CWWKS1634E: The request endpoint test URI does not have attribute OidcRequest.
[ERROR   ] CWWKS1629E: The OpenID Connect configuration service is not available for provider testprovider.
[ERROR   ] CWWKS1632E: The OAuth provider name referenced by the OpenID Connect provider testprovider was not found.
[ERROR   ] CWWKS1630E: OAuth20Provider object is null for the OpenID Connect provider testprovider.
[ERROR   ] CWWKS1625E: The OpenID Connect provider failed to validate the ID token due to [IDTokenValidatonFailedException].
[ERROR   ] OIDC_IDTOKEN_SIGNATURE_VERIFY_ERR 
                                                                                                               client01
                                                                                                               JWT rejected due to invalid signature. Additional details: [[9] Invalid JWS Signature: JsonWebSignature{"alg":"HS256"}->eyJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJodHRwczovL3lhbW1lcmxwOjgwMjAvb2lkYy9lbmRwb2ludC9vaWRjT3BDb25maWdTYW1wbGUiLCJub25jZSI6ImRlZmF1bHRfbm9uY2UiLCJpYXQiOjE0MDc4NzUyNjksInN1YiI6InVzZXIxIiwiZXhwIjoxNDA3ODgyNDY5LCJhdWQiOiJjbGllbnQwMSIsInJlYWxtTmFtZSI6IkJhc2ljUmVhbG0iLCJ1bmlxdWVTZWN1cml0eU5hbWUiOiJ1c2VyMSIsImF0X2hhc2giOiJSNHVPdl9JbTc5dDgteWRFZDl1TGVBIn0.E20YvyWVhZ2X6Cx46PHjlHZCQZaQqks_6sxfF9_cmDk]
                                                                                                               HS256
[ERROR   ] CWWKS1625E: The OpenID Connect provider failed to validate the ID token due to [SignatureException Message:JWT rejected due to invalid signature. Additional details: [[9] Invalid JWS Signature: JsonWebSignature{"alg":"HS256"}->eyJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJodHRwczovL3lhbW1lcmxwOjgwMjAvb2lkYy9lbmRwb2ludC9vaWRjT3BDb25maWdTYW1wbGUiLCJub25jZSI6ImRlZmF1bHRfbm9uY2UiLCJpYXQiOjE0MDc4NzUyNjksInN1YiI6InVzZXIxIiwiZXhwIjoxNDA3ODgyNDY5LCJhdWQiOiJjbGllbnQwMSIsInJlYWxtTmFtZSI6IkJhc2ljUmVhbG0iLCJ1bmlxdWVTZWN1cml0eU5hbWUiOiJ1c2VyMSIsImF0X2hhc2giOiJSNHVPdl9JbTc5dDgteWRFZDl1TGVBIn0.E20YvyWVhZ2X6Cx46PHjlHZCQZaQqks_6sxfF9_cmDk]].
[ERROR   ] CWWKS1625E: The OpenID Connect provider failed to validate the ID token due to [com.google.gson.stream.MalformedJsonException: Unterminated string at line 1 column 15].
[ERROR   ] CWWKS1625E: The OpenID Connect provider failed to validate the ID token due to [Expected JWT to have 3 segments separated by '.', but it has 2 segments].
[ERROR   ] CWWKS1626E: The login user name [user2] does not match with the subject of the ID token [user1].
[ERROR   ] CWWKS1636E: The post_logout_redirect_uri parameter: http://localhost:80/index.html does not match the value of the OpenID Connect provider attribute, postLogoutRedirectUris=[ https://localhost:80/index.html, http://redirect ] in the client ID: client01.
[ERROR   ] CWWKS1625E: The OpenID Connect provider failed to validate the ID token due to [tried to return a com.ibm.oauth.core.api.oauth20.client.OAuth20ClientProvider$$EnhancerByCGLIB$$64278fbb from a method that can only return a com.ibm.ws.security.oauth20.api.OidcOAuth20ClientProvider].
[ERROR   ] CWWKS1636E: The post_logout_redirect_uri parameter: http://localhost:80/index.html does not match the value of the OpenID Connect provider attribute, postLogoutRedirectUris=null in the client ID: null.
[ERROR   ] CWWKS1619E: A userinfo request was made with an access token that did not have the 'openid' scope. The request URI was test URI.
[ERROR   ] CWWKS1616E: A userinfo request was made with no access token. The request URI was test URI.
[ERROR   ] CWWKS1621E: A userinfo request was made with an access token in the access_token request parameter and also the authorization header. Only one access token is allowed. The request URI was test URI.
[ERROR   ] CWWKS1617E: A userinfo request was made with an access token that was not recognized. The request URI was test URI.
[ERROR   ] CWWKS1622E: A userinfo request was made with a token that was not an access token. The request URI was test URI.
[ERROR   ] CWWKS1623E: A userinfo request was made with an expired access token. The request URI was test URI.
[ERROR   ] CWWKS1634E: The request endpoint test URI does not have attribute OidcRequest.
[ERROR   ] CWWKS1629E: The OpenID Connect configuration service is not available for provider testprovider.
[ERROR   ] CWWKS1632E: The OAuth provider name referenced by the OpenID Connect provider testprovider was not found.
[ERROR   ] CWWKS1630E: OAuth20Provider object is null for the OpenID Connect provider testprovider.
[ERROR   ] CWWKS1625E: The OpenID Connect provider failed to validate the ID token due to [IDTokenValidatonFailedException].
[ERROR   ] OIDC_IDTOKEN_SIGNATURE_VERIFY_ERR 
                                                                                                               client01
                                                                                                               JWT rejected due to invalid signature. Additional details: [[9] Invalid JWS Signature: JsonWebSignature{"alg":"HS256"}->eyJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJodHRwczovL3lhbW1lcmxwOjgwMjAvb2lkYy9lbmRwb2ludC9vaWRjT3BDb25maWdTYW1wbGUiLCJub25jZSI6ImRlZmF1bHRfbm9uY2UiLCJpYXQiOjE0MDc4NzUyNjksInN1YiI6InVzZXIxIiwiZXhwIjoxNDA3ODgyNDY5LCJhdWQiOiJjbGllbnQwMSIsInJlYWxtTmFtZSI6IkJhc2ljUmVhbG0iLCJ1bmlxdWVTZWN1cml0eU5hbWUiOiJ1c2VyMSIsImF0X2hhc2giOiJSNHVPdl9JbTc5dDgteWRFZDl1TGVBIn0.E20YvyWVhZ2X6Cx46PHjlHZCQZaQqks_6sxfF9_cmDk]
                                                                                                               HS256
[ERROR   ] CWWKS1625E: The OpenID Connect provider failed to validate the ID token due to [SignatureException Message:JWT rejected due to invalid signature. Additional details: [[9] Invalid JWS Signature: JsonWebSignature{"alg":"HS256"}->eyJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJodHRwczovL3lhbW1lcmxwOjgwMjAvb2lkYy9lbmRwb2ludC9vaWRjT3BDb25maWdTYW1wbGUiLCJub25jZSI6ImRlZmF1bHRfbm9uY2UiLCJpYXQiOjE0MDc4NzUyNjksInN1YiI6InVzZXIxIiwiZXhwIjoxNDA3ODgyNDY5LCJhdWQiOiJjbGllbnQwMSIsInJlYWxtTmFtZSI6IkJhc2ljUmVhbG0iLCJ1bmlxdWVTZWN1cml0eU5hbWUiOiJ1c2VyMSIsImF0X2hhc2giOiJSNHVPdl9JbTc5dDgteWRFZDl1TGVBIn0.E20YvyWVhZ2X6Cx46PHjlHZCQZaQqks_6sxfF9_cmDk]].
[ERROR   ] CWWKS1625E: The OpenID Connect provider failed to validate the ID token due to [com.google.gson.stream.MalformedJsonException: Unterminated string at line 1 column 15].
[ERROR   ] CWWKS1625E: The OpenID Connect provider failed to validate the ID token due to [Expected JWT to have 3 segments separated by '.', but it has 2 segments].