Test Name | fapi-rw-id2-ensure-other-scope-order-succeeds |
---|---|
Variant | client_auth_type=mtls, fapi_auth_request_method=by_value, fapi_profile=plain_fapi, fapi_response_mode=plain_response |
Test ID | sR8l3p9AuqxyjjI https://www.certification.openid.net/log-detail.html?public=true&log=sR8l3p9AuqxyjjI |
Created | 2021-05-19T13:08:43.993611Z |
Description | Finansystech Auth Server FAPI-RW-ID2-OB with MTLS |
Test Version | 4.1.10 |
Test Owner | 110959374693049525710 https://accounts.google.com |
Plan ID | D8flKuJBmdkwL https://www.certification.openid.net/plan-detail.html?public=true&plan=D8flKuJBmdkwL |
Exported From | https://www.certification.openid.net |
Exported By | 110959374693049525710 https://accounts.google.com |
Suite Version | 4.1.10 |
Exported | 2021-05-19 13:25:35 (UTC) |
Status: FINISHED Result: PASSED |
SUCCESS 98 FAILURE 0 WARNING 0 REVIEW 0 INFO 15 |
2021-05-19 13:08:44 |
INFO
|
TEST-RUNNER
Test instance sR8l3p9AuqxyjjI created
|
||||||||||||||
|
2021-05-19 13:08:44 |
SUCCESS
|
CreateRedirectUri
Created redirect URI
|
||
|
2021-05-19 13:08:44 |
|
GetDynamicServerConfiguration
HTTP request
|
||||||||
|
2021-05-19 13:08:44 |
RESPONSE
|
GetDynamicServerConfiguration
HTTP response
|
||||||||
|
2021-05-19 13:08:44 |
|
GetDynamicServerConfiguration
Downloaded server configuration
|
||
|
2021-05-19 13:08:44 |
SUCCESS
|
GetDynamicServerConfiguration
Successfully parsed server configuration
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
2021-05-19 13:08:44 | INFO |
AddMTLSEndpointAliasesToEnvironment
The mtls_endpoint_aliases is not present in the server configuration
|
||
|
2021-05-19 13:08:44 |
SUCCESS
|
CheckServerConfiguration
Found required server configuration keys
|
||
|
2021-05-19 13:08:44 |
SUCCESS
|
ExtractTLSTestValuesFromServerConfiguration
Extracted TLS information from authorization server configuration
|
||||||||
|
2021-05-19 13:08:44 |
|
FetchServerKeys
Fetching server key
|
||
|
2021-05-19 13:08:44 |
|
FetchServerKeys
HTTP request
|
||||||||
|
2021-05-19 13:08:44 |
RESPONSE
|
FetchServerKeys
HTTP response
|
||||||||
|
2021-05-19 13:08:44 |
|
FetchServerKeys
Found JWK set string
|
||
|
2021-05-19 13:08:44 |
SUCCESS
|
FetchServerKeys
Found server JWK set
|
||
|
2021-05-19 13:08:44 |
SUCCESS
|
CheckServerKeysIsValid
Server JWKs is valid
|
||
|
2021-05-19 13:08:44 | SUCCESS |
ValidateServerJWKs
Valid server JWKs: keys are valid JSON, contain the required fields and are correctly encoded using unpadded base64url
|
|
2021-05-19 13:08:44 | SUCCESS |
CheckForKeyIdInServerJWKs
All keys contain kids
|
|
2021-05-19 13:08:44 | SUCCESS |
EnsureServerJwksDoesNotContainPrivateOrSymmetricKeys
Jwks does not contain any private or symmetric keys
|
|
2021-05-19 13:08:44 | SUCCESS |
FAPIEnsureMinimumServerKeyLength
Validated minimum key lengths for server_jwks
|
||
|
2021-05-19 13:08:44 |
SUCCESS
|
GetStaticClientConfiguration
Found a static client object
|
||||||
|
2021-05-19 13:08:44 |
SUCCESS
|
ValidateMTLSCertificatesHeader
MTLS certificates header is valid
|
|
2021-05-19 13:08:44 |
SUCCESS
|
ExtractMTLSCertificatesFromConfiguration
Mutual TLS authentication credentials loaded
|
||||||
|
2021-05-19 13:08:44 | 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
|
|
2021-05-19 13:08:44 |
SUCCESS
|
ExtractJWKsFromStaticClientConfiguration
Extracted client JWK
|
||||
|
2021-05-19 13:08:44 | SUCCESS |
CheckForKeyIdInClientJWKs
All keys contain kids
|
|
2021-05-19 13:08:44 | SUCCESS |
CheckDistinctKeyIdValueInClientJWKs
Distinct 'kid' value in all keys of client_jwks
|
||
|
2021-05-19 13:08:44 | SUCCESS |
FAPICheckKeyAlgInClientJWKs
Found a key with alg PS256 or ES256
|
|
2021-05-19 13:08:44 | SUCCESS |
FAPIEnsureMinimumClientKeyLength
Validated minimum key lengths for client_jwks
|
||
|
2021-05-19 13:08:44 |
SUCCESS
|
ValidateMTLSCertificatesAsX509
Mutual TLS authentication cert validated as X.509
|
|
Verify configuration of second client |
2021-05-19 13:08:44 |
SUCCESS
|
GetStaticClient2Configuration
Found a static second client object
|
||||||
|
2021-05-19 13:08:44 |
SUCCESS
|
ValidateMTLSCertificates2Header
MTLS certificates header is valid
|
|
2021-05-19 13:08:44 |
SUCCESS
|
ExtractMTLSCertificates2FromConfiguration
Mutual TLS authentication credentials loaded
|
||||||
|
2021-05-19 13:08:44 | 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
|
|
2021-05-19 13:08:44 |
SUCCESS
|
ExtractJWKsFromStaticClientConfiguration
Extracted client JWK
|
||||
|
2021-05-19 13:08:44 | SUCCESS |
CheckForKeyIdInClientJWKs
All keys contain kids
|
|
2021-05-19 13:08:44 | SUCCESS |
CheckDistinctKeyIdValueInClientJWKs
Distinct 'kid' value in all keys of client_jwks
|
||
|
2021-05-19 13:08:44 | SUCCESS |
FAPICheckKeyAlgInClientJWKs
Found a key with alg PS256 or ES256
|
|
2021-05-19 13:08:44 | SUCCESS |
FAPIEnsureMinimumClientKeyLength
Validated minimum key lengths for client_jwks
|
||
|
2021-05-19 13:08:44 |
SUCCESS
|
ValidateMTLSCertificatesAsX509
Mutual TLS authentication cert validated as X.509
|
|
2021-05-19 13:08:44 |
SUCCESS
|
GetResourceEndpointConfiguration
Found a resource endpoint object
|
||
|
2021-05-19 13:08:44 |
SUCCESS
|
SetProtectedResourceUrlToSingleResourceEndpoint
Set protected resource URL
|
||
|
2021-05-19 13:08:44 |
SUCCESS
|
ExtractTLSTestValuesFromResourceConfiguration
Extracted TLS information from resource endpoint
|
||
|
2021-05-19 13:08:44 |
SUCCESS
|
ExtractTLSTestValuesFromOBResourceConfiguration
Extracted TLS information from resource endpoint
|
||||
|
2021-05-19 13:08:44 |
|
fapi-rw-id2-ensure-other-scope-order-succeeds
Setup Done
|
|
Make request to authorization endpoint |
2021-05-19 13:08:44 |
SUCCESS
|
CreateAuthorizationEndpointRequestFromClientInformation
Created authorization endpoint request
|
||||||
|
2021-05-19 13:08:44 |
SUCCESS
|
AddAcrClaimToAuthorizationEndpointRequest
Added acr claim to authorization_endpoint_request
|
||
|
2021-05-19 13:08:44 |
|
CreateRandomStateValue
Created state value
|
||||
|
2021-05-19 13:08:44 |
SUCCESS
|
AddStateToAuthorizationEndpointRequest
Added state parameter to request
|
||||||||||
|
2021-05-19 13:08:44 |
|
CreateRandomNonceValue
Created nonce value
|
||||
|
2021-05-19 13:08:44 |
SUCCESS
|
AddNonceToAuthorizationEndpointRequest
Added nonce parameter to request
|
||||||||||||
|
2021-05-19 13:08:44 |
SUCCESS
|
SetAuthorizationEndpointRequestResponseTypeToCodeIdtoken
Added response_type parameter to request
|
||||||||||||||
|
2021-05-19 13:08:44 |
|
ReverseScopeOrderInAuthorizationEndpointRequest
Reversed order of scopes in authorization endpoint request
|
||||
|
2021-05-19 13:08:44 |
SUCCESS
|
ConvertAuthorizationEndpointRequestToRequestObject
Created request object claims
|
||
|
2021-05-19 13:08:44 | SUCCESS |
AddExpToRequestObject
Added exp to request object claims
|
||
|
2021-05-19 13:08:44 | SUCCESS |
AddAudToRequestObject
Added aud to request object claims
|
||
|
2021-05-19 13:08:44 | SUCCESS |
AddIssToRequestObject
Added iss to request object claims
|
||
|
2021-05-19 13:08:44 | SUCCESS |
AddClientIdToRequestObject
Added client_id to request object claims
|
||
|
2021-05-19 13:08:44 |
SUCCESS
|
SignRequestObject
Signed the request object
|
||||||||
|
2021-05-19 13:08:44 |
SUCCESS
|
BuildRequestObjectByValueRedirectToAuthorizationEndpoint
Sending to authorization endpoint
|
||
|
2021-05-19 13:08:44 |
REDIRECT
|
fapi-rw-id2-ensure-other-scope-order-succeeds
Redirecting to authorization endpoint
|
||
|
2021-05-19 13:08:50 |
INCOMING
|
fapi-rw-id2-ensure-other-scope-order-succeeds
Incoming HTTP request to test instance sR8l3p9AuqxyjjI
|
||||||||||||||
|
2021-05-19 13:08:50 |
SUCCESS
|
CreateRandomImplicitSubmitUrl
Created random implicit submission URL
|
||
|
2021-05-19 13:08:50 |
OUTGOING
|
fapi-rw-id2-ensure-other-scope-order-succeeds
Response to HTTP request to test instance sR8l3p9AuqxyjjI
|
||||
|
2021-05-19 13:08:50 |
INCOMING
|
fapi-rw-id2-ensure-other-scope-order-succeeds
Incoming HTTP request to test instance sR8l3p9AuqxyjjI
|
||||||||||||||
|
2021-05-19 13:08:50 |
OUTGOING
|
fapi-rw-id2-ensure-other-scope-order-succeeds
Response to HTTP request to test instance sR8l3p9AuqxyjjI
|
||||||||
|
2021-05-19 13:08:50 |
|
ExtractImplicitHashToCallbackResponse
Extracted response from URL fragment
|
||
|
2021-05-19 13:08:50 |
SUCCESS
|
ExtractImplicitHashToCallbackResponse
Extracted the hash values
|
||||||
|
2021-05-19 13:08:50 |
REDIRECT-IN
|
fapi-rw-id2-ensure-other-scope-order-succeeds
Authorization endpoint response captured
|
||||||||||
|
Verify authorization endpoint response |
2021-05-19 13:08:50 | SUCCESS |
RejectErrorInUrlQuery
'error' is not present in URL query returned from authorization endpoint
|
|
2021-05-19 13:08:50 | SUCCESS |
RejectAuthCodeInUrlQuery
Authorization code is not present in URL query returned from authorization endpoint
|
|
2021-05-19 13:08:50 |
SUCCESS
|
CheckMatchingCallbackParameters
Callback parameters successfully verified
|
|
2021-05-19 13:08:50 | 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)
|
|
2021-05-19 13:08:50 |
SUCCESS
|
CheckIfAuthorizationEndpointError
No error from authorization endpoint
|
|
2021-05-19 13:08:50 |
SUCCESS
|
ValidateSuccessfulHybridResponseFromAuthorizationEndpoint
authorization endpoint response does not include unexpected parameters
|
||||||
|
2021-05-19 13:08:50 | SUCCESS |
CheckStateInAuthorizationResponse
State in response correctly returned
|
||
|
2021-05-19 13:08:50 |
|
ValidateIssInAuthorizationResponse
No 'iss' value in authorization response.
|
|
2021-05-19 13:08:50 |
SUCCESS
|
ExtractAuthorizationCodeFromAuthorizationResponse
Found authorization code
|
||
|
2021-05-19 13:08:50 | SUCCESS |
EnsureMinimumAuthorizationCodeLength
Authorization code is of sufficient length
|
||||
|
2021-05-19 13:08:50 | SUCCESS |
EnsureMinimumAuthorizationCodeEntropy
Calculated shannon entropy seems sufficient
|
||||
|
2021-05-19 13:08:50 | SUCCESS |
ExtractIdTokenFromAuthorizationResponse
Found and parsed the id_token from authorization_endpoint_response
|
||||||
|
2021-05-19 13:08:50 | SUCCESS |
ValidateIdToken
ID token iss, aud, exp, iat, auth_time, acr & nbf claims passed validation checks
|
|
2021-05-19 13:08:50 | SUCCESS |
EnsureIdTokenContainsKid
kid was found in the ID token header
|
||
|
2021-05-19 13:08:50 | SUCCESS |
ValidateIdTokenNonce
Nonce values match
|
||
|
2021-05-19 13:08:50 | SUCCESS |
ValidateIdTokenACRClaimAgainstRequest
acr value in id_token is (one of) the requested values
|
||||
|
2021-05-19 13:08:50 | SUCCESS |
ValidateIdTokenSignature
id_token signature validated
|
||
|
2021-05-19 13:08:50 | SUCCESS |
ValidateIdTokenSignatureUsingKid
id_token signature validated
|
||
|
2021-05-19 13:08:50 | SUCCESS |
CheckForSubjectInIdToken
Found 'sub' in id_token
|
||
|
2021-05-19 13:08:50 | SUCCESS |
FAPIValidateIdTokenSigningAlg
id_token was signed with a permitted algorithm
|
||
|
2021-05-19 13:08:50 | INFO |
FAPIValidateIdTokenEncryptionAlg
Skipped evaluation due to missing required element: id_token jwe_header
|
||||||
|
2021-05-19 13:08:50 | INFO |
FAPIValidateEncryptedIdTokenHasKid
Skipped evaluation due to missing required element: id_token jwe_header
|
||||||
|
2021-05-19 13:08:50 | SUCCESS |
ExtractSHash
Extracted s_hash from ID Token
|
||||
|
2021-05-19 13:08:50 | SUCCESS |
ValidateSHash
s_hash validated successfully
|
||||||
|
2021-05-19 13:08:50 | SUCCESS |
ExtractCHash
Extracted c_hash from ID Token
|
||||
|
2021-05-19 13:08:50 | SUCCESS |
ValidateCHash
c_hash validated successfully
|
||||||
|
Call token endpoint |
2021-05-19 13:08:50 |
SUCCESS
|
CreateTokenEndpointRequestForAuthorizationCodeGrant
|
||||||
|
2021-05-19 13:08:50 |
SUCCESS
|
AddClientIdToTokenEndpointRequest
|
||||||||
|
2021-05-19 13:08:50 |
|
CallTokenEndpoint
HTTP request
|
||||||||||
|
2021-05-19 13:08:50 |
RESPONSE
|
CallTokenEndpoint
HTTP response
|
||||||||
|
2021-05-19 13:08:50 |
|
CallTokenEndpoint
Token endpoint response
|
||
|
2021-05-19 13:08:50 |
SUCCESS
|
CallTokenEndpoint
Parsed token endpoint response
|
||||||||||
|
Verify token endpoint response |
2021-05-19 13:08:50 |
SUCCESS
|
CheckIfTokenEndpointResponseError
No error from token endpoint
|
|
2021-05-19 13:08:50 | SUCCESS |
CheckForAccessTokenValue
Found an access token
|
||
|
2021-05-19 13:08:50 |
SUCCESS
|
ExtractAccessTokenFromTokenResponse
Extracted the access token
|
||||
|
2021-05-19 13:08:50 | SUCCESS |
ExtractExpiresInFromTokenEndpointResponse
Extracted 'expires_in'
|
||
|
2021-05-19 13:08:50 | SUCCESS |
ValidateExpiresIn
expires_in passed all validation checks
|
||
|
2021-05-19 13:08:50 |
INFO
|
CheckForRefreshTokenValue
Couldn't find refresh token
|
|
2021-05-19 13:08:50 | INFO |
EnsureMinimumRefreshTokenLength
Skipped evaluation due to missing required element: token_endpoint_response refresh_token
|
||||||
|
2021-05-19 13:08:50 | INFO |
EnsureMinimumRefreshTokenEntropy
Skipped evaluation due to missing required element: token_endpoint_response refresh_token
|
||||||
|
2021-05-19 13:08:50 | SUCCESS |
EnsureMinimumAccessTokenLength
Access token is of sufficient length
|
||||
|
2021-05-19 13:08:50 | SUCCESS |
EnsureMinimumAccessTokenEntropy
Calculated shannon entropy seems sufficient
|
||||
|
2021-05-19 13:08:50 | SUCCESS |
ExtractIdTokenFromTokenResponse
Found and parsed the id_token from token_endpoint_response
|
||||||
|
2021-05-19 13:08:50 | SUCCESS |
ValidateIdToken
ID token iss, aud, exp, iat, auth_time, acr & nbf claims passed validation checks
|
|
2021-05-19 13:08:50 | SUCCESS |
EnsureIdTokenContainsKid
kid was found in the ID token header
|
||
|
2021-05-19 13:08:50 | SUCCESS |
ValidateIdTokenNonce
Nonce values match
|
||
|
2021-05-19 13:08:50 | SUCCESS |
ValidateIdTokenACRClaimAgainstRequest
acr value in id_token is (one of) the requested values
|
||||
|
2021-05-19 13:08:50 | SUCCESS |
ValidateIdTokenSignature
id_token signature validated
|
||
|
2021-05-19 13:08:50 | SUCCESS |
ValidateIdTokenSignatureUsingKid
id_token signature validated
|
||
|
2021-05-19 13:08:50 | SUCCESS |
CheckForSubjectInIdToken
Found 'sub' in id_token
|
||
|
2021-05-19 13:08:50 | SUCCESS |
FAPIValidateIdTokenSigningAlg
id_token was signed with a permitted algorithm
|
||
|
2021-05-19 13:08:50 | INFO |
FAPIValidateIdTokenEncryptionAlg
Skipped evaluation due to missing required element: id_token jwe_header
|
||||||
|
2021-05-19 13:08:50 | INFO |
FAPIValidateEncryptedIdTokenHasKid
Skipped evaluation due to missing required element: id_token jwe_header
|
||||||
|
2021-05-19 13:08:50 | INFO |
ExtractCHash
Couldn't find c_hash in ID token
|
|
2021-05-19 13:08:50 | INFO |
ExtractSHash
Couldn't find s_hash in ID token
|
|
2021-05-19 13:08:50 | SUCCESS |
ExtractAtHash
Extracted at_hash from ID Token
|
||||
|
2021-05-19 13:08:50 | INFO |
ValidateCHash
Skipped evaluation due to missing required object: c_hash
|
||||
|
2021-05-19 13:08:50 | INFO |
ValidateSHash
Skipped evaluation due to missing required object: s_hash
|
||||
|
2021-05-19 13:08:50 | SUCCESS |
ValidateAtHash
at_hash validated successfully
|
||||||
|
Verify at_hash in the authorization endpoint id_token |
2021-05-19 13:08:50 | INFO |
ExtractAtHash
Couldn't find at_hash in ID token
|
|
2021-05-19 13:08:50 | INFO |
ValidateAtHash
Skipped evaluation due to missing required object: at_hash
|
||||
|
Resource server endpoint tests |
2021-05-19 13:08:50 |
|
CreateEmptyResourceEndpointRequestHeaders
Created empty headers
|
||
|
2021-05-19 13:08:50 | SUCCESS |
AddFAPIAuthDateToResourceEndpointRequest
Added x-fapi-auth-date to resource endpoint request headers
|
||
|
2021-05-19 13:08:50 |
|
AddIpV4FapiCustomerIpAddressToResourceEndpointRequest
Added x-fapi-customer-ip-address containing IPv4 address to resource endpoint request headers
|
||
|
2021-05-19 13:08:50 |
|
CreateRandomFAPIInteractionId
Created interaction ID
|
||
|
2021-05-19 13:08:50 |
|
AddFAPIInteractionIdToResourceEndpointRequest
Condition ran but did not log anything
|
|
2021-05-19 13:08:50 |
|
CallProtectedResourceWithBearerTokenAndCustomHeaders
HTTP request
|
||||||||||
|
2021-05-19 13:08:51 |
RESPONSE
|
CallProtectedResourceWithBearerTokenAndCustomHeaders
HTTP response
|
||||||||
|
2021-05-19 13:08:51 | SUCCESS |
CallProtectedResourceWithBearerTokenAndCustomHeaders
Got a response from the resource endpoint
|
||||||
|
2021-05-19 13:08:51 | SUCCESS |
CheckForDateHeaderInResourceResponse
Date header present and validated
|
||||
|
2021-05-19 13:08:51 | SUCCESS |
CheckForFAPIInteractionIdInResourceResponse
Found x-fapi-interaction-id
|
||
|
2021-05-19 13:08:51 | SUCCESS |
EnsureMatchingFAPIInteractionId
Interaction ID matched
|
||
|
2021-05-19 13:08:51 | SUCCESS |
EnsureResourceResponseReturnedJsonContentType
Response content type is JSON
|
||
|
2021-05-19 13:08:51 |
FINISHED
|
fapi-rw-id2-ensure-other-scope-order-succeeds
Test has run to completion
|
||
|
2021-05-19 13:08:54 |
|
TEST-RUNNER
Alias has now been claimed by another test
|
||||
|