Test Name | fapi1-advanced-final-ensure-mtls-holder-of-key-required |
---|---|
Variant | client_auth_type=mtls, fapi_auth_request_method=pushed, fapi_profile=openbanking_ksa, fapi_response_mode=plain_response |
Test ID | NvzEqoCUG8SN4hv https://www.certification.openid.net/log-detail.html?public=true&log=NvzEqoCUG8SN4hv |
Created | 2023-02-18T11:00:35.184515Z |
Description | sama test |
Test Version | 5.1.0 |
Test Owner | 117355178377411047407 https://accounts.google.com |
Plan ID | Z1uVJBbzLB8nE https://www.certification.openid.net/plan-detail.html?public=true&plan=Z1uVJBbzLB8nE |
Exported From | https://www.certification.openid.net |
Exported By | 117355178377411047407 https://accounts.google.com |
Suite Version | 5.1.0 |
Exported | 2023-02-27 09:12:13 (UTC) |
Status: FINISHED Result: PASSED |
SUCCESS 110 FAILURE 0 WARNING 0 REVIEW 0 INFO 1 |
2023-02-18 11:00:35 |
INFO
|
TEST-RUNNER
Test instance NvzEqoCUG8SN4hv created
|
||||||||||||||
|
2023-02-18 11:00:35 |
SUCCESS
|
CreateRedirectUri
Created redirect URI
|
||
|
2023-02-18 11:00:35 |
|
GetDynamicServerConfiguration
HTTP request
|
||||||||
|
2023-02-18 11:00:35 |
RESPONSE
|
GetDynamicServerConfiguration
HTTP response
|
||||||||
|
2023-02-18 11:00:35 |
SUCCESS
|
GetDynamicServerConfiguration
Successfully parsed server configuration
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
2023-02-18 11:00:35 | SUCCESS |
AddMTLSEndpointAliasesToEnvironment
Added mtls_endpoint_aliases to environment
|
|
2023-02-18 11:00:35 |
SUCCESS
|
CheckServerConfiguration
Found required server configuration keys
|
||
|
2023-02-18 11:00:35 |
|
FetchServerKeys
Fetching server key
|
||
|
2023-02-18 11:00:35 |
|
FetchServerKeys
HTTP request
|
||||||||
|
2023-02-18 11:00:35 |
RESPONSE
|
FetchServerKeys
HTTP response
|
||||||||
|
2023-02-18 11:00:35 |
|
FetchServerKeys
Found JWK set string
|
||
|
2023-02-18 11:00:35 |
SUCCESS
|
FetchServerKeys
Found server JWK set
|
||
|
2023-02-18 11:00:35 |
SUCCESS
|
CheckServerKeysIsValid
Server JWKs is valid
|
||
|
2023-02-18 11:00:35 | SUCCESS |
ValidateServerJWKs
Valid server JWKs: keys are valid JSON, contain the required fields and are correctly encoded using unpadded base64url
|
|
2023-02-18 11:00:35 | SUCCESS |
CheckForKeyIdInServerJWKs
All keys contain kids
|
|
2023-02-18 11:00:35 | SUCCESS |
EnsureServerJwksDoesNotContainPrivateOrSymmetricKeys
Jwks does not contain any private or symmetric keys
|
|
2023-02-18 11:00:35 | SUCCESS |
FAPIEnsureMinimumServerKeyLength
Validated minimum key lengths for server_jwks
|
||
|
2023-02-18 11:00:35 |
SUCCESS
|
GetStaticClientConfiguration
Found a static client object
|
||||||
|
2023-02-18 11:00:35 |
SUCCESS
|
ValidateMTLSCertificatesHeader
MTLS certificates header is valid
|
|
2023-02-18 11:00:35 |
SUCCESS
|
ExtractMTLSCertificatesFromConfiguration
Mutual TLS authentication credentials loaded
|
||||||
|
2023-02-18 11:00:36 | SUCCESS |
ValidateClientJWKsPrivatePart
Valid client JWKs: keys are valid JSON, contain the required fields, the private/public exponents match and are correctly encoded using unpadded base64url
|
|
2023-02-18 11:00:36 |
SUCCESS
|
ExtractJWKsFromStaticClientConfiguration
Extracted client JWK
|
||||
|
2023-02-18 11:00:36 | SUCCESS |
CheckForKeyIdInClientJWKs
All keys contain kids
|
|
2023-02-18 11:00:36 | SUCCESS |
CheckDistinctKeyIdValueInClientJWKs
Distinct 'kid' value in all keys of client_jwks
|
||
|
2023-02-18 11:00:36 | SUCCESS |
FAPICheckKeyAlgInClientJWKs
Keys in client JWKS all have permitted 'alg'
|
||
|
2023-02-18 11:00:36 | SUCCESS |
FAPIEnsureMinimumClientKeyLength
Validated minimum key lengths for client_jwks
|
||
|
2023-02-18 11:00:36 |
SUCCESS
|
ValidateMTLSCertificatesAsX509
Mutual TLS authentication cert validated as X.509
|
|
Verify configuration of second client |
2023-02-18 11:00:36 |
SUCCESS
|
GetStaticClient2Configuration
Found a static second client object
|
||||||
|
2023-02-18 11:00:36 |
SUCCESS
|
ValidateMTLSCertificates2Header
MTLS certificates header is valid
|
|
2023-02-18 11:00:36 |
SUCCESS
|
ExtractMTLSCertificates2FromConfiguration
Mutual TLS authentication credentials loaded
|
||||||
|
2023-02-18 11:00:36 | SUCCESS |
ValidateClientJWKsPrivatePart
Valid client JWKs: keys are valid JSON, contain the required fields, the private/public exponents match and are correctly encoded using unpadded base64url
|
|
2023-02-18 11:00:36 |
SUCCESS
|
ExtractJWKsFromStaticClientConfiguration
Extracted client JWK
|
||||
|
2023-02-18 11:00:36 | SUCCESS |
CheckForKeyIdInClientJWKs
All keys contain kids
|
|
2023-02-18 11:00:36 | SUCCESS |
CheckDistinctKeyIdValueInClientJWKs
Distinct 'kid' value in all keys of client_jwks
|
||
|
2023-02-18 11:00:36 | SUCCESS |
FAPICheckKeyAlgInClientJWKs
Keys in client JWKS all have permitted 'alg'
|
||
|
2023-02-18 11:00:36 | SUCCESS |
FAPIEnsureMinimumClientKeyLength
Validated minimum key lengths for client_jwks
|
||
|
2023-02-18 11:00:36 |
SUCCESS
|
ValidateMTLSCertificatesAsX509
Mutual TLS authentication cert validated as X.509
|
|
2023-02-18 11:00:36 |
SUCCESS
|
ValidateClientPrivateKeysAreDifferent
Client signing JWKs have different thumbprints
|
||||
|
2023-02-18 11:00:36 |
SUCCESS
|
GetResourceEndpointConfiguration
Found a resource endpoint object
|
||||||||
|
2023-02-18 11:00:36 |
SUCCESS
|
SetProtectedResourceUrlToSingleResourceEndpoint
Set protected resource URL
|
||
|
2023-02-18 11:00:36 |
SUCCESS
|
ExtractTLSTestValuesFromResourceConfiguration
Extracted TLS information from resource endpoint
|
||
|
2023-02-18 11:00:36 |
SUCCESS
|
ExtractTLSTestValuesFromOBResourceConfiguration
Extracted TLS information from resource endpoint
|
||||
|
2023-02-18 11:00:36 |
|
fapi1-advanced-final-ensure-mtls-holder-of-key-required
Setup Done
|
|
2023-02-18 11:00:36 |
SUCCESS
|
ExtractTLSTestValuesFromServerConfiguration
Extracted TLS information from authorization server configuration
|
||||||||
|
Authorization endpoint TLS test |
2023-02-18 11:00:36 | SUCCESS |
EnsureTLS12WithFAPICiphers
Server agreed to TLS 1.2
|
||||
|
2023-02-18 11:00:36 | SUCCESS |
DisallowTLS10
Server refused TLS 1.0 handshake
|
||||
|
2023-02-18 11:00:36 | SUCCESS |
DisallowTLS11
Server refused TLS 1.1 handshake
|
||||
|
Token Endpoint TLS test |
2023-02-18 11:00:36 | SUCCESS |
EnsureTLS12WithFAPICiphers
Server agreed to TLS 1.2
|
||||
|
2023-02-18 11:00:36 | SUCCESS |
DisallowTLS10
Server refused TLS 1.0 handshake
|
||||
|
2023-02-18 11:00:37 | SUCCESS |
DisallowTLS11
Server refused TLS 1.1 handshake
|
||||
|
2023-02-18 11:00:37 |
|
DisallowInsecureCipher
Trying to connect with a non-permitted cipher (this is not exhaustive: check the server configuration manually to verify conformance)
|
||||
|
2023-02-18 11:00:37 | SUCCESS |
DisallowInsecureCipher
The TLS handshake was rejected when trying to connect with disallowed ciphers.
|
||||
|
Userinfo Endpoint TLS test |
2023-02-18 11:00:37 | SUCCESS |
EnsureTLS12WithFAPICiphers
Server agreed to TLS 1.2
|
||||
|
2023-02-18 11:00:37 | SUCCESS |
DisallowTLS10
Server refused TLS 1.0 handshake
|
||||
|
2023-02-18 11:00:37 | SUCCESS |
DisallowTLS11
Server refused TLS 1.1 handshake
|
||||
|
2023-02-18 11:00:37 |
|
DisallowInsecureCipher
Trying to connect with a non-permitted cipher (this is not exhaustive: check the server configuration manually to verify conformance)
|
||||
|
2023-02-18 11:00:38 | SUCCESS |
DisallowInsecureCipher
The TLS handshake was rejected when trying to connect with disallowed ciphers.
|
||||
|
Registration Endpoint TLS test |
2023-02-18 11:00:38 | SUCCESS |
EnsureTLS12WithFAPICiphers
Server agreed to TLS 1.2
|
||||
|
2023-02-18 11:00:38 | SUCCESS |
DisallowTLS10
Server refused TLS 1.0 handshake
|
||||
|
2023-02-18 11:00:38 | SUCCESS |
DisallowTLS11
Server refused TLS 1.1 handshake
|
||||
|
2023-02-18 11:00:38 |
|
DisallowInsecureCipher
Trying to connect with a non-permitted cipher (this is not exhaustive: check the server configuration manually to verify conformance)
|
||||
|
2023-02-18 11:00:38 | SUCCESS |
DisallowInsecureCipher
The TLS handshake was rejected when trying to connect with disallowed ciphers.
|
||||
|
Use client_credentials grant to obtain OpenBanking KSA consent scope |
2023-02-18 11:00:38 |
SUCCESS
|
CreateTokenEndpointRequestForClientCredentialsGrant
Created token endpoint request
|
||||
|
2023-02-18 11:00:38 |
SUCCESS
|
SetAccountScopeOnTokenEndpointRequest
Set scope parameter to accounts for OB testing
|
||||
|
2023-02-18 11:00:38 |
|
AddClientIdToTokenEndpointRequest
|
||||||
|
2023-02-18 11:00:38 |
|
CallTokenEndpoint
HTTP request
|
||||||||||
|
2023-02-18 11:00:39 |
RESPONSE
|
CallTokenEndpoint
HTTP response
|
||||||||
|
2023-02-18 11:00:39 |
SUCCESS
|
CallTokenEndpoint
Parsed token endpoint response
|
||||||
|
2023-02-18 11:00:39 |
SUCCESS
|
CheckIfTokenEndpointResponseError
No error from token endpoint
|
|
2023-02-18 11:00:39 |
SUCCESS
|
CheckForAccessTokenValue
Found an access token
|
||
|
2023-02-18 11:00:39 |
SUCCESS
|
ExtractAccessTokenFromTokenResponse
Extracted the access token
|
||||
|
2023-02-18 11:00:39 | SUCCESS |
ExtractExpiresInFromTokenEndpointResponse
Extracted 'expires_in'
|
||
|
2023-02-18 11:00:39 | SUCCESS |
ValidateExpiresIn
expires_in passed all validation checks
|
||
|
2023-02-18 11:00:39 |
|
CreateEmptyResourceEndpointRequestHeaders
Created empty headers
|
||
|
2023-02-18 11:00:39 |
SUCCESS
|
AddFAPIAuthDateToResourceEndpointRequest
Added x-fapi-auth-date to resource endpoint request headers
|
||
|
2023-02-18 11:00:39 |
SUCCESS
|
CreateKSACreateAccountRequestRequest
|
||
|
2023-02-18 11:00:39 |
|
CallKSAAccountRequestsEndpointWithBearerToken
HTTP request
|
||||||||||
|
2023-02-18 11:00:40 |
RESPONSE
|
CallKSAAccountRequestsEndpointWithBearerToken
HTTP response
|
||||||||
|
2023-02-18 11:00:40 |
|
CallKSAAccountRequestsEndpointWithBearerToken
Account requests endpoint response
|
||
|
2023-02-18 11:00:40 |
SUCCESS
|
CallKSAAccountRequestsEndpointWithBearerToken
Parsed account requests endpoint response
|
||||
|
2023-02-18 11:00:40 |
SUCCESS
|
CheckIfAccountRequestsEndpointResponseError
No error from account requests endpoint
|
|
2023-02-18 11:00:40 | SUCCESS |
CheckForFAPIInteractionIdInResourceResponse
Found x-fapi-interaction-id
|
||
|
2023-02-18 11:00:40 |
SUCCESS
|
ExtractAccountRequestIdFromKSAAccountRequestsEndpointResponse
Extracted the account request ID
|
||
|
2023-02-18 11:00:40 |
SUCCESS
|
FAPIKSASetClientScopeToAccountsConsentIdOpenId
Set client's scope to 'accounts:urn:SAMA2:kac-0eefee82-5e7b-4f3b-a3d0-a2067055ff94 openid'
|
||||||
|
Make request to authorization endpoint |
2023-02-18 11:00:40 |
SUCCESS
|
CreateAuthorizationEndpointRequestFromClientInformation
Created authorization endpoint request
|
||||||
|
2023-02-18 11:00:40 |
|
CreateRandomStateValue
Created state value
|
||||
|
2023-02-18 11:00:40 |
SUCCESS
|
AddStateToAuthorizationEndpointRequest
Added state parameter to request
|
||||||||
|
2023-02-18 11:00:40 |
|
CreateRandomNonceValue
Created nonce value
|
||||
|
2023-02-18 11:00:40 |
SUCCESS
|
AddNonceToAuthorizationEndpointRequest
Added nonce parameter to request
|
||||||||||
|
2023-02-18 11:00:40 |
SUCCESS
|
SetAuthorizationEndpointRequestResponseTypeToCodeIdtoken
Added response_type parameter to request
|
||||||||||||
|
2023-02-18 11:00:40 |
|
CreateRandomCodeVerifier
Created code_verifier value
|
||
|
2023-02-18 11:00:40 |
|
CreateS256CodeChallenge
Created code_challenge value
|
||
|
2023-02-18 11:00:40 | SUCCESS |
AddCodeChallengeToAuthorizationEndpointRequest
Added code_challenge and code_challenge_method parameters to request
|
||||||||||||||||
|
2023-02-18 11:00:40 |
SUCCESS
|
ConvertAuthorizationEndpointRequestToRequestObject
Created request object claims
|
||
|
2023-02-18 11:00:40 | SUCCESS |
AddNbfToRequestObject
Added nbf to request object claims
|
||
|
2023-02-18 11:00:40 | SUCCESS |
AddExpToRequestObject
Added exp to request object claims
|
||
|
2023-02-18 11:00:40 | SUCCESS |
AddAudToRequestObject
Added aud to request object claims
|
||
|
2023-02-18 11:00:40 | SUCCESS |
AddIssToRequestObject
Added iss to request object claims
|
||
|
2023-02-18 11:00:40 | SUCCESS |
AddClientIdToRequestObject
Added client_id to request object claims
|
||
|
2023-02-18 11:00:40 |
SUCCESS
|
SignRequestObject
Signed the request object
|
||||||||
|
2023-02-18 11:00:40 |
SUCCESS
|
BuildRequestObjectPostToPAREndpoint
|
||
|
2023-02-18 11:00:40 |
SUCCESS
|
AddClientIdToPAREndpointRequest
|
||||
|
2023-02-18 11:00:40 |
|
CallPAREndpoint
HTTP request
|
||||||||||
|
2023-02-18 11:00:40 |
RESPONSE
|
CallPAREndpoint
HTTP response
|
||||||||
|
2023-02-18 11:00:40 | SUCCESS |
CallPAREndpoint
Parsed pushed authorization request endpoint response
|
||||
|
2023-02-18 11:00:40 | SUCCESS |
CheckPAREndpointResponse201WithNoError
pushed authorization request endpoint correct response.
|
|
2023-02-18 11:00:40 | SUCCESS |
CheckForRequestUriValue
Found valid request_uri
|
||
|
2023-02-18 11:00:40 | SUCCESS |
CheckForPARResponseExpiresIn
Found expires_in
|
||
|
2023-02-18 11:00:40 |
SUCCESS
|
ExtractRequestUriFromPARResponse
Extracted the request_uri: urn:ietf:params:oauth:request_uri:12690afd-e3f1-4a84-a5c9-727c8caf0645
|
|
2023-02-18 11:00:40 | SUCCESS |
EnsureMinimumRequestUriEntropy
Calculated shannon entropy seems sufficient
|
||||||
|
2023-02-18 11:00:40 | SUCCESS |
BuildRequestObjectByReferenceRedirectToAuthorizationEndpoint
Sending to authorization endpoint
|
||
|
2023-02-18 11:00:40 |
REDIRECT
|
fapi1-advanced-final-ensure-mtls-holder-of-key-required
Redirecting to authorization endpoint
|
||
|
2023-02-18 11:00:55 |
INCOMING
|
fapi1-advanced-final-ensure-mtls-holder-of-key-required
Incoming HTTP request to /test/a/sama1/callback
|
||||||||||||||||||||||
|
2023-02-18 11:00:55 |
SUCCESS
|
CreateRandomImplicitSubmitUrl
Created random implicit submission URL
|
||
|
2023-02-18 11:00:55 |
OUTGOING
|
fapi1-advanced-final-ensure-mtls-holder-of-key-required
Response to HTTP request to test instance NvzEqoCUG8SN4hv
|
||||
|
2023-02-18 11:00:55 |
INCOMING
|
fapi1-advanced-final-ensure-mtls-holder-of-key-required
Incoming HTTP request to /test/a/sama1/implicit/inYWZf684YvKAyX6I69v
|
||||||||||||||||||||||
|
2023-02-18 11:00:55 |
OUTGOING
|
fapi1-advanced-final-ensure-mtls-holder-of-key-required
Response to HTTP request to test instance NvzEqoCUG8SN4hv
|
||||||||
|
2023-02-18 11:00:55 |
|
ExtractImplicitHashToCallbackResponse
Extracted response from URL fragment
|
||
|
2023-02-18 11:00:55 |
SUCCESS
|
ExtractImplicitHashToCallbackResponse
Extracted the hash values
|
||||||
|
2023-02-18 11:00:55 |
REDIRECT-IN
|
fapi1-advanced-final-ensure-mtls-holder-of-key-required
Authorization endpoint response captured
|
||||||||||
|
Verify authorization endpoint response |
2023-02-18 11:00:55 | SUCCESS |
RejectErrorInUrlQuery
'error' is not present in URL query returned from authorization endpoint
|
|
2023-02-18 11:00:55 | SUCCESS |
RejectAuthCodeInUrlQuery
Authorization code is not present in URL query returned from authorization endpoint
|
|
2023-02-18 11:00:55 |
SUCCESS
|
CheckMatchingCallbackParameters
Callback parameters successfully verified
|
|
2023-02-18 11:00:55 | SUCCESS |
RejectStateInUrlQueryForHybridFlow
state is correctly not present in URL query returned from authorization endpoint (as in the hybrid flow it must be returned in the URL fragment/hash only)
|
|
2023-02-18 11:00:55 |
SUCCESS
|
CheckIfAuthorizationEndpointError
No error from authorization endpoint
|
|
2023-02-18 11:00:55 |
SUCCESS
|
ValidateSuccessfulHybridResponseFromAuthorizationEndpoint
authorization endpoint response does not include unexpected parameters
|
||||||
|
2023-02-18 11:00:55 | SUCCESS |
CheckStateInAuthorizationResponse
State in response correctly returned
|
||
|
2023-02-18 11:00:55 |
|
ValidateIssInAuthorizationResponse
No 'iss' value in authorization response.
|
|
2023-02-18 11:00:55 |
SUCCESS
|
ExtractAuthorizationCodeFromAuthorizationResponse
Found authorization code
|
||
|
2023-02-18 11:00:55 | SUCCESS |
EnsureMinimumAuthorizationCodeLength
Authorization code is of sufficient length
|
||||
|
2023-02-18 11:00:55 | SUCCESS |
EnsureMinimumAuthorizationCodeEntropy
Calculated shannon entropy seems sufficient
|
||||||
|
2023-02-18 11:00:55 |
SUCCESS
|
CreateTokenEndpointRequestForAuthorizationCodeGrant
Created token endpoint request
|
||||||
|
2023-02-18 11:00:55 |
|
AddClientIdToTokenEndpointRequest
|
||||||||
|
2023-02-18 11:00:55 |
|
AddCodeVerifierToTokenEndpointRequest
|
||||||||||
|
2023-02-18 11:00:55 |
SUCCESS
|
RemoveMTLSCertificates
Removed mutual TLS authentication credentials
|
|
2023-02-18 11:00:55 |
|
CallTokenEndpointAllowingTLSFailure
HTTP request
|
||||||||
|
2023-02-18 11:00:56 |
RESPONSE
|
CallTokenEndpointAllowingTLSFailure
HTTP response
|
||||||||
|
2023-02-18 11:00:56 | SUCCESS |
CallTokenEndpointAllowingTLSFailure
Parsed token endpoint response
|
||
|
2023-02-18 11:00:56 | SUCCESS |
CheckTokenEndpointHttpStatus400or401
Token endpoint http status code was 401
|
|
2023-02-18 11:00:56 | SUCCESS |
CheckTokenEndpointReturnedJsonContentType
token_endpoint_response_headers Content-Type: header is application/json
|
|
2023-02-18 11:00:56 | SUCCESS |
CheckTokenEndpointHttpStatusIs400Allowing401ForInvalidClientError
Token endpoint http status code was 401 for error 'invalid_client'
|
|
2023-02-18 11:00:56 | SUCCESS |
CheckErrorFromTokenEndpointResponseErrorInvalidClientOrInvalidRequest
Token Endpoint response error returned expected 'error' of 'invalid_client'
|
||
|
2023-02-18 11:00:56 | SUCCESS |
ValidateErrorFromTokenEndpointResponseError
Token endpoint response error returned valid 'error' field
|
||
|
2023-02-18 11:00:56 | SUCCESS |
CheckErrorDescriptionFromTokenEndpointResponseErrorContainsCRLFTAB
token_endpoint_response did not include optional 'error_description' field
|
|
2023-02-18 11:00:56 | SUCCESS |
ValidateErrorDescriptionFromTokenEndpointResponseError
token_endpoint_response did not include optional 'error_description' field
|
|
2023-02-18 11:00:56 | SUCCESS |
ValidateErrorUriFromTokenEndpointResponseError
token_endpoint_response did not include optional 'error_uri' field
|
|
2023-02-18 11:00:56 |
FINISHED
|
fapi1-advanced-final-ensure-mtls-holder-of-key-required
Test has run to completion
|
||
|