Test Name | oidcc-codereuse-30seconds |
---|---|
Variant | client_auth_type=client_secret_basic, server_metadata=discovery, response_type=code, response_mode=form_post, client_registration=static_client |
Test ID | MQH5is8P6Yf8hri https://www.certification.openid.net/log-detail.html?public=true&log=MQH5is8P6Yf8hri |
Created | 2022-08-03T09:04:26.084293Z |
Description | isva_op_oidc_core_test_gh static_client |
Test Version | 4.1.45 |
Test Owner | 3287601 https://gitlab.com |
Plan ID | hLLsDSNqbGj7q https://www.certification.openid.net/plan-detail.html?public=true&plan=hLLsDSNqbGj7q |
Exported From | https://www.certification.openid.net |
Exported By | 3287601 https://gitlab.com |
Suite Version | 5.0.0 |
Exported | 2022-08-11 06:00:11 (UTC) |
Status: FINISHED Result: PASSED |
SUCCESS 59 FAILURE 0 WARNING 0 REVIEW 0 INFO 5 |
2022-08-03 09:04:26 |
INFO
|
TEST-RUNNER
Test instance MQH5is8P6Yf8hri created
|
||||||||||||||
|
2022-08-03 09:04:26 |
SUCCESS
|
CreateRedirectUri
Created redirect URI
|
||
|
2022-08-03 09:04:26 |
|
GetDynamicServerConfiguration
HTTP request
|
||||||||
|
2022-08-03 09:04:27 |
RESPONSE
|
GetDynamicServerConfiguration
HTTP response
|
||||||||
|
2022-08-03 09:04:27 |
SUCCESS
|
GetDynamicServerConfiguration
Successfully parsed server configuration
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
2022-08-03 09:04:27 |
SUCCESS
|
CheckServerConfiguration
Found required server configuration keys
|
||
|
2022-08-03 09:04:27 |
SUCCESS
|
ExtractTLSTestValuesFromServerConfiguration
Extracted TLS information from authorization server configuration
|
||||||||
|
2022-08-03 09:04:27 |
|
FetchServerKeys
Fetching server key
|
||
|
2022-08-03 09:04:27 |
|
FetchServerKeys
HTTP request
|
||||||||
|
2022-08-03 09:04:28 |
RESPONSE
|
FetchServerKeys
HTTP response
|
||||||||
|
2022-08-03 09:04:28 |
|
FetchServerKeys
Found JWK set string
|
||
|
2022-08-03 09:04:28 |
SUCCESS
|
FetchServerKeys
Found server JWK set
|
||
|
2022-08-03 09:04:28 |
SUCCESS
|
CheckServerKeysIsValid
Server JWKs is valid
|
||
|
2022-08-03 09:04:28 | SUCCESS |
ValidateServerJWKs
Valid server JWKs: keys are valid JSON, contain the required fields and are correctly encoded using unpadded base64url
|
|
2022-08-03 09:04:28 | SUCCESS |
CheckForKeyIdInServerJWKs
All keys contain kids
|
|
2022-08-03 09:04:28 | SUCCESS |
CheckDistinctKeyIdValueInServerJWKs
Distinct 'kid' value in all keys of server_jwks
|
||
|
2022-08-03 09:04:28 | SUCCESS |
EnsureServerJwksDoesNotContainPrivateOrSymmetricKeys
Jwks does not contain any private or symmetric keys
|
|
2022-08-03 09:04:28 |
SUCCESS
|
GetStaticClientConfiguration
Found a static client object
|
||||
|
2022-08-03 09:04:28 | INFO |
ValidateClientJWKsPrivatePart
Skipped evaluation due to missing required element: client jwks
|
||||||
|
2022-08-03 09:04:28 |
INFO
|
ExtractJWKsFromStaticClientConfiguration
Skipped evaluation due to missing required element: client jwks
|
||||||
|
2022-08-03 09:04:28 | INFO |
CheckDistinctKeyIdValueInClientJWKs
Skipped evaluation due to missing required element: client jwks
|
||||||
|
2022-08-03 09:04:28 |
|
SetScopeInClientConfigurationToOpenId
Set scope in client configuration to "openid"
|
||
|
2022-08-03 09:04:28 |
SUCCESS
|
EnsureServerConfigurationSupportsClientSecretBasic
Contents of 'token_endpoint_auth_methods_supported' in discovery document matches expectations.
|
||||||
|
2022-08-03 09:04:28 |
SUCCESS
|
SetProtectedResourceUrlToUserInfoEndpoint
userinfo_endpoint will be used to test access token. The user info is not a mandatory to implement feature in the OpenID Connect specification, but is mandatory for certification.
|
||
|
2022-08-03 09:04:28 |
|
oidcc-codereuse-30seconds
Setup Done
|
|
Make request to authorization endpoint |
2022-08-03 09:04:28 |
SUCCESS
|
CreateAuthorizationEndpointRequestFromClientInformation
Created authorization endpoint request
|
||||||
|
2022-08-03 09:04:28 |
|
CreateRandomStateValue
Created state value
|
||||
|
2022-08-03 09:04:28 |
SUCCESS
|
AddStateToAuthorizationEndpointRequest
Added state parameter to request
|
||||||||
|
2022-08-03 09:04:28 |
|
CreateRandomNonceValue
Created nonce value
|
||||
|
2022-08-03 09:04:28 |
SUCCESS
|
AddNonceToAuthorizationEndpointRequest
Added nonce parameter to request
|
||||||||||
|
2022-08-03 09:04:28 |
SUCCESS
|
SetAuthorizationEndpointRequestResponseTypeFromEnvironment
Added response_type parameter to request
|
||||||||||||
|
2022-08-03 09:04:28 |
|
SetAuthorizationEndpointRequestResponseModeToFormPost
Added response_mode parameter to request
|
||||||||||||||
|
2022-08-03 09:04:28 |
SUCCESS
|
BuildPlainRedirectToAuthorizationEndpoint
Sending to authorization endpoint
|
||||
|
2022-08-03 09:04:28 |
REDIRECT
|
oidcc-codereuse-30seconds
Redirecting to authorization endpoint
|
||
|
2022-08-03 09:04:33 |
INCOMING
|
oidcc-codereuse-30seconds
Incoming HTTP request to /test/a/isva_op_oidc_core_test_gh/callback
|
||||||||||||||||||||||
|
2022-08-03 09:04:33 |
SUCCESS
|
CreateRandomImplicitSubmitUrl
Created random implicit submission URL
|
||
|
2022-08-03 09:04:33 |
OUTGOING
|
oidcc-codereuse-30seconds
Response to HTTP request to test instance MQH5is8P6Yf8hri
|
||||
|
2022-08-03 09:04:34 |
INCOMING
|
oidcc-codereuse-30seconds
Incoming HTTP request to /test/a/isva_op_oidc_core_test_gh/implicit/4hLIJ9LfxSgehWTfnwx6
|
||||||||||||||||||||||
|
2022-08-03 09:04:34 |
OUTGOING
|
oidcc-codereuse-30seconds
Response to HTTP request to test instance MQH5is8P6Yf8hri
|
||||||||
|
2022-08-03 09:04:34 |
SUCCESS
|
ExtractImplicitHashToCallbackResponse
implicit_hash is empty
|
|
2022-08-03 09:04:34 |
REDIRECT-IN
|
oidcc-codereuse-30seconds
Authorization endpoint response captured
|
||||||||||
|
Verify authorization endpoint response |
2022-08-03 09:04:34 | SUCCESS |
CheckCallbackHttpMethodIsPost
HTTP method used at redirect_uri is 'POST'
|
|
2022-08-03 09:04:34 | SUCCESS |
CheckCallbackContentTypeIsFormUrlEncoded
content-type header to redirect_uri has the expected value
|
||||
|
2022-08-03 09:04:34 | SUCCESS |
RejectAuthCodeInUrlQuery
Authorization code is not present in URL query returned from authorization endpoint
|
|
2022-08-03 09:04:34 | SUCCESS |
RejectErrorInUrlQuery
'error' is not present in URL query returned from authorization endpoint
|
|
2022-08-03 09:04:34 |
SUCCESS
|
CheckMatchingCallbackParameters
Callback parameters successfully verified
|
|
2022-08-03 09:04:34 |
|
ValidateIssInAuthorizationResponse
No 'iss' value in authorization response.
|
|
2022-08-03 09:04:34 |
SUCCESS
|
CheckIfAuthorizationEndpointError
No error from authorization endpoint
|
|
2022-08-03 09:04:34 |
SUCCESS
|
CheckStateInAuthorizationResponse
State in response correctly returned
|
||
|
2022-08-03 09:04:34 |
SUCCESS
|
ExtractAuthorizationCodeFromAuthorizationResponse
Found authorization code
|
||
|
2022-08-03 09:04:34 |
SUCCESS
|
CreateTokenEndpointRequestForAuthorizationCodeGrant
Created token endpoint request
|
||||||
|
2022-08-03 09:04:34 |
SUCCESS
|
AddBasicAuthClientSecretAuthenticationParameters
Added basic authorization header
|
||
|
2022-08-03 09:04:34 |
|
CallTokenEndpoint
HTTP request
|
||||||||
|
2022-08-03 09:04:35 |
RESPONSE
|
CallTokenEndpoint
HTTP response
|
||||||||
|
2022-08-03 09:04:35 |
SUCCESS
|
CallTokenEndpoint
Parsed token endpoint response
|
||||||||||||
|
2022-08-03 09:04:35 |
SUCCESS
|
CheckIfTokenEndpointResponseError
No error from token endpoint
|
|
2022-08-03 09:04:35 |
SUCCESS
|
CheckForAccessTokenValue
Found an access token
|
||
|
2022-08-03 09:04:35 |
SUCCESS
|
ExtractAccessTokenFromTokenResponse
Extracted the access token
|
||||
|
2022-08-03 09:04:35 | SUCCESS |
ExtractExpiresInFromTokenEndpointResponse
Extracted 'expires_in'
|
||
|
2022-08-03 09:04:35 | SUCCESS |
ValidateExpiresIn
expires_in passed all validation checks
|
||
|
2022-08-03 09:04:35 |
SUCCESS
|
CheckForRefreshTokenValue
Found a refresh token
|
||
|
2022-08-03 09:04:35 | SUCCESS |
ExtractIdTokenFromTokenResponse
Found and parsed the id_token from token_endpoint_response
|
||||||
|
2022-08-03 09:04:35 | SUCCESS |
ValidateIdToken
ID token iss, aud, exp, iat, auth_time, acr & nbf claims passed validation checks
|
|
2022-08-03 09:04:35 |
|
ValidateIdTokenStandardClaims
sub is a string with content
|
|
2022-08-03 09:04:35 |
|
ValidateIdTokenStandardClaims
Skipping unknown claim: rat
|
|
2022-08-03 09:04:35 |
|
ValidateIdTokenStandardClaims
Skipping unknown claim: rt_hash
|
|
2022-08-03 09:04:35 | SUCCESS |
ValidateIdTokenStandardClaims
id_token claims are valid
|
|
2022-08-03 09:04:35 | SUCCESS |
ValidateIdTokenNonce
Nonce values match
|
||
|
2022-08-03 09:04:35 | SUCCESS |
ValidateIdTokenACRClaimAgainstRequest
Nothing to check; the conformance suite did not request an acr claim in request object
|
|
2022-08-03 09:04:35 |
SUCCESS
|
ValidateIdTokenSignature
id_token signature validated
|
||
|
2022-08-03 09:04:35 |
SUCCESS
|
ValidateIdTokenSignatureUsingKid
id_token signature validated
|
||
|
2022-08-03 09:04:35 | SUCCESS |
CheckForSubjectInIdToken
Found 'sub' in id_token
|
||
|
2022-08-03 09:04:35 |
|
EnsureIdTokenUpdatedAtValid
id_token response does not contain 'updated_at'
|
|
2022-08-03 09:04:35 | INFO |
ValidateEncryptedIdTokenHasKid
Skipped evaluation due to missing required element: id_token jwe_header
|
||||||
|
Userinfo endpoint tests |
2022-08-03 09:04:35 |
|
CallProtectedResource
HTTP request
|
||||||||
|
2022-08-03 09:04:36 |
RESPONSE
|
CallProtectedResource
HTTP response
|
||||||||
|
2022-08-03 09:04:36 |
SUCCESS
|
CallProtectedResource
Got a response from the resource endpoint
|
||||||||
|
2022-08-03 09:04:36 |
SUCCESS
|
EnsureHttpStatusCodeIs200
resource endpoint returned the expected http status
|
||||
|
2022-08-03 09:04:36 |
SUCCESS
|
WaitFor30Seconds
Pausing for 30 seconds
|
|
2022-08-03 09:05:06 |
SUCCESS
|
WaitFor30Seconds
Woke up after 30 seconds sleep
|
|
Attempting reuse of authorisation code |
2022-08-03 09:05:06 |
|
CallTokenEndpointAndReturnFullResponse
HTTP request
|
||||||||
|
2022-08-03 09:05:07 |
RESPONSE
|
CallTokenEndpointAndReturnFullResponse
HTTP response
|
||||||||
|
2022-08-03 09:05:07 |
SUCCESS
|
CallTokenEndpointAndReturnFullResponse
Parsed token endpoint response
|
||||
|
2022-08-03 09:05:07 | SUCCESS |
CheckTokenEndpointHttpStatus400
Token endpoint http status code was 400
|
|
2022-08-03 09:05:07 | SUCCESS |
CheckTokenEndpointReturnedJsonContentType
token_endpoint_response_headers Content-Type: header is application/json
|
|
2022-08-03 09:05:07 | SUCCESS |
CheckErrorFromTokenEndpointResponseErrorInvalidGrant
Token Endpoint response error returned expected 'error' of 'invalid_grant'
|
||
|
2022-08-03 09:05:07 | SUCCESS |
ValidateErrorFromTokenEndpointResponseError
Token endpoint response error returned valid 'error' field
|
||
|
2022-08-03 09:05:07 | SUCCESS |
CheckErrorDescriptionFromTokenEndpointResponseErrorContainsCRLFTAB
token_endpoint_response 'error_description' field does not include CR/LF/TAB
|
||
|
2022-08-03 09:05:07 | SUCCESS |
ValidateErrorDescriptionFromTokenEndpointResponseError
token_endpoint_response error returned valid 'error_description' field
|
||
|
2022-08-03 09:05:07 | SUCCESS |
ValidateErrorUriFromTokenEndpointResponseError
token_endpoint_response did not include optional 'error_uri' field
|
|
Testing if access token was revoked after authorization code reuse (the AS 'should' have revoked the access token) |
2022-08-03 09:05:07 |
|
CallProtectedResource
HTTP request
|
||||||||
|
2022-08-03 09:05:08 |
RESPONSE
|
CallProtectedResource
HTTP response
|
||||||||
|
2022-08-03 09:05:08 | SUCCESS |
CallProtectedResource
Got a response from the resource endpoint
|
||||||||
|
2022-08-03 09:05:08 | SUCCESS |
EnsureHttpStatusCodeIs4xx
resource endpoint http status code was 401
|
|
2022-08-03 09:05:08 |
FINISHED
|
oidcc-codereuse-30seconds
Test has run to completion
|
||
|
Unregister dynamically registered client |
2022-08-03 09:05:08 |
|
UnregisterDynamicallyRegisteredClient
Couldn't find registration_access_token.
|
|
2022-08-03 09:05:56 |
|
TEST-RUNNER
Alias has now been claimed by another test
|
||||
|