Test Name | fapi1-advanced-final-ensure-request-object-with-invalid-signature-fails |
---|---|
Variant | client_auth_type=private_key_jwt, fapi_auth_request_method=by_value, fapi_profile=openbanking_uk, fapi_response_mode=plain_response |
Test ID | QCb1pllFnv9nhDv https://www.certification.openid.net/log-detail.html?public=true&log=QCb1pllFnv9nhDv |
Created | 2022-10-17T09:34:35.384414Z |
Description | |
Test Version | 5.0.5 |
Test Owner | 11547427 https://gitlab.com |
Plan ID | Efsx4j3w9wbcb https://www.certification.openid.net/plan-detail.html?public=true&plan=Efsx4j3w9wbcb |
Exported From | https://www.certification.openid.net |
Exported By | 11547427 https://gitlab.com |
Suite Version | 5.0.6 |
Exported | 2022-10-27 04:03:45 (UTC) |
Status: FINISHED Result: REVIEW |
SUCCESS 65 FAILURE 0 WARNING 0 REVIEW 1 INFO 1 |
2022-10-17 09:34:35 |
INFO
|
TEST-RUNNER
Test instance QCb1pllFnv9nhDv created
|
||||||||||||||
|
2022-10-17 09:34:35 |
SUCCESS
|
CreateRedirectUri
Created redirect URI
|
||
|
2022-10-17 09:34:35 |
|
GetDynamicServerConfiguration
HTTP request
|
||||||||
|
2022-10-17 09:34:36 |
RESPONSE
|
GetDynamicServerConfiguration
HTTP response
|
||||||||
|
2022-10-17 09:34:36 |
SUCCESS
|
GetDynamicServerConfiguration
Successfully parsed server configuration
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
2022-10-17 09:34:36 | SUCCESS |
AddMTLSEndpointAliasesToEnvironment
Added mtls_endpoint_aliases to environment
|
|
2022-10-17 09:34:36 |
SUCCESS
|
CheckServerConfiguration
Found required server configuration keys
|
||
|
2022-10-17 09:34:36 |
|
FetchServerKeys
Fetching server key
|
||
|
2022-10-17 09:34:36 |
|
FetchServerKeys
HTTP request
|
||||||||
|
2022-10-17 09:34:37 |
RESPONSE
|
FetchServerKeys
HTTP response
|
||||||||
|
2022-10-17 09:34:37 |
|
FetchServerKeys
Found JWK set string
|
||
|
2022-10-17 09:34:37 |
SUCCESS
|
FetchServerKeys
Found server JWK set
|
||
|
2022-10-17 09:34:37 |
SUCCESS
|
CheckServerKeysIsValid
Server JWKs is valid
|
||
|
2022-10-17 09:34:37 | SUCCESS |
ValidateServerJWKs
Valid server JWKs: keys are valid JSON, contain the required fields and are correctly encoded using unpadded base64url
|
|
2022-10-17 09:34:37 | SUCCESS |
CheckForKeyIdInServerJWKs
All keys contain kids
|
|
2022-10-17 09:34:37 | SUCCESS |
EnsureServerJwksDoesNotContainPrivateOrSymmetricKeys
Jwks does not contain any private or symmetric keys
|
|
2022-10-17 09:34:37 | SUCCESS |
FAPIEnsureMinimumServerKeyLength
Validated minimum key lengths for server_jwks
|
||
|
2022-10-17 09:34:37 |
SUCCESS
|
GetStaticClientConfiguration
Found a static client object
|
||||||||||
|
2022-10-17 09:34:37 |
SUCCESS
|
ValidateMTLSCertificatesHeader
MTLS certificates header is valid
|
|
2022-10-17 09:34:37 |
SUCCESS
|
ExtractMTLSCertificatesFromConfiguration
Mutual TLS authentication credentials loaded
|
||||||
|
2022-10-17 09:34:37 | 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
|
|
2022-10-17 09:34:37 |
SUCCESS
|
ExtractJWKsFromStaticClientConfiguration
Extracted client JWK
|
||||
|
2022-10-17 09:34:37 | SUCCESS |
CheckForKeyIdInClientJWKs
All keys contain kids
|
|
2022-10-17 09:34:37 | SUCCESS |
CheckDistinctKeyIdValueInClientJWKs
Distinct 'kid' value in all keys of client_jwks
|
||
|
2022-10-17 09:34:37 | SUCCESS |
FAPICheckKeyAlgInClientJWKs
Keys in client JWKS all have permitted 'alg'
|
||
|
2022-10-17 09:34:37 | SUCCESS |
FAPIEnsureMinimumClientKeyLength
Validated minimum key lengths for client_jwks
|
||
|
2022-10-17 09:34:37 |
SUCCESS
|
ValidateMTLSCertificatesAsX509
Mutual TLS authentication cert validated as X.509
|
|
Verify configuration of second client |
2022-10-17 09:34:37 |
SUCCESS
|
GetStaticClient2Configuration
Found a static second client object
|
||||||||
|
2022-10-17 09:34:37 |
SUCCESS
|
ValidateMTLSCertificates2Header
MTLS certificates header is valid
|
|
2022-10-17 09:34:37 |
SUCCESS
|
ExtractMTLSCertificates2FromConfiguration
Mutual TLS authentication credentials loaded
|
||||||
|
2022-10-17 09:34:37 | 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
|
|
2022-10-17 09:34:37 |
SUCCESS
|
ExtractJWKsFromStaticClientConfiguration
Extracted client JWK
|
||||
|
2022-10-17 09:34:37 | SUCCESS |
CheckForKeyIdInClientJWKs
All keys contain kids
|
|
2022-10-17 09:34:37 | SUCCESS |
CheckDistinctKeyIdValueInClientJWKs
Distinct 'kid' value in all keys of client_jwks
|
||
|
2022-10-17 09:34:37 | SUCCESS |
FAPICheckKeyAlgInClientJWKs
Keys in client JWKS all have permitted 'alg'
|
||
|
2022-10-17 09:34:37 | SUCCESS |
FAPIEnsureMinimumClientKeyLength
Validated minimum key lengths for client_jwks
|
||
|
2022-10-17 09:34:37 |
SUCCESS
|
ValidateMTLSCertificatesAsX509
Mutual TLS authentication cert validated as X.509
|
|
2022-10-17 09:34:37 |
SUCCESS
|
ValidateClientPrivateKeysAreDifferent
Client signing JWKs have different thumbprints
|
||||
|
2022-10-17 09:34:37 |
SUCCESS
|
GetResourceEndpointConfiguration
Found a resource endpoint object
|
||||||
|
2022-10-17 09:34:37 |
SUCCESS
|
SetProtectedResourceUrlToAccountsEndpoint
Set protected resource URL
|
||
|
2022-10-17 09:34:37 |
SUCCESS
|
ExtractTLSTestValuesFromResourceConfiguration
Extracted TLS information from resource endpoint
|
||
|
2022-10-17 09:34:37 |
SUCCESS
|
ExtractTLSTestValuesFromOBResourceConfiguration
Extracted TLS information from resource endpoint
|
||||
|
2022-10-17 09:34:37 |
|
fapi1-advanced-final-ensure-request-object-with-invalid-signature-fails
Setup Done
|
|
Use client_credentials grant to obtain OpenBanking UK intent_id |
2022-10-17 09:34:37 |
SUCCESS
|
CreateTokenEndpointRequestForClientCredentialsGrant
Created token endpoint request
|
||||
|
2022-10-17 09:34:37 |
SUCCESS
|
SetAccountScopeOnTokenEndpointRequest
Set scope parameter to accounts for OB testing
|
||||
|
2022-10-17 09:34:37 |
SUCCESS
|
CreateClientAuthenticationAssertionClaims
Created client assertion claims
|
||||||||||||
|
2022-10-17 09:34:37 |
SUCCESS
|
SignClientAuthenticationAssertion
Signed the client assertion
|
||
|
2022-10-17 09:34:37 |
|
AddClientAssertionToTokenEndpointRequest
Added client assertion
|
||||||||
|
2022-10-17 09:34:37 |
|
CallTokenEndpoint
HTTP request
|
||||||||||
|
2022-10-17 09:34:38 |
RESPONSE
|
CallTokenEndpoint
HTTP response
|
||||||||
|
2022-10-17 09:34:38 |
SUCCESS
|
CallTokenEndpoint
Parsed token endpoint response
|
||||||||
|
2022-10-17 09:34:38 |
SUCCESS
|
CheckIfTokenEndpointResponseError
No error from token endpoint
|
|
2022-10-17 09:34:38 |
SUCCESS
|
CheckForAccessTokenValue
Found an access token
|
||
|
2022-10-17 09:34:38 |
SUCCESS
|
ExtractAccessTokenFromTokenResponse
Extracted the access token
|
||||
|
2022-10-17 09:34:38 | SUCCESS |
ExtractExpiresInFromTokenEndpointResponse
Extracted 'expires_in'
|
||
|
2022-10-17 09:34:38 | SUCCESS |
ValidateExpiresIn
expires_in passed all validation checks
|
||
|
2022-10-17 09:34:38 |
|
CreateEmptyResourceEndpointRequestHeaders
Created empty headers
|
||
|
2022-10-17 09:34:38 |
SUCCESS
|
AddFAPIAuthDateToResourceEndpointRequest
Added x-fapi-auth-date to resource endpoint request headers
|
||
|
2022-10-17 09:34:38 |
SUCCESS
|
CreateCreateAccountRequestRequest
|
||
|
2022-10-17 09:34:38 |
|
CallAccountRequestsEndpointWithBearerToken
Found '/v3.' in the resource url, using OB V3 API 'account-access-consents'
|
||
|
2022-10-17 09:34:38 |
|
CallAccountRequestsEndpointWithBearerToken
HTTP request
|
||||||||||
|
2022-10-17 09:34:41 |
RESPONSE
|
CallAccountRequestsEndpointWithBearerToken
HTTP response
|
||||||||
|
2022-10-17 09:34:41 |
|
CallAccountRequestsEndpointWithBearerToken
Account requests endpoint response
|
||
|
2022-10-17 09:34:41 |
SUCCESS
|
CallAccountRequestsEndpointWithBearerToken
Parsed account requests endpoint response
|
||||
|
2022-10-17 09:34:41 |
SUCCESS
|
CheckIfAccountRequestsEndpointResponseError
No error from account requests endpoint
|
|
2022-10-17 09:34:41 | SUCCESS |
CheckForFAPIInteractionIdInResourceResponse
Found x-fapi-interaction-id
|
||
|
2022-10-17 09:34:41 |
SUCCESS
|
ExtractAccountRequestIdFromAccountRequestsEndpointResponse
Extracted the account request ID
|
||
|
Make request to authorization endpoint |
2022-10-17 09:34:41 |
SUCCESS
|
CreateAuthorizationEndpointRequestFromClientInformation
Created authorization endpoint request
|
||||||
|
2022-10-17 09:34:41 |
SUCCESS
|
AddAccountRequestIdToAuthorizationEndpointRequest
Added openbanking_intent_id claim to authorization_endpoint_request
|
||
|
2022-10-17 09:34:41 |
SUCCESS
|
OpenBankingUkAddMultipleAcrClaimsToAuthorizationEndpointRequest
Added acr to request as an essential id_token claim
|
||
|
2022-10-17 09:34:41 |
|
CreateRandomStateValue
Created state value
|
||||
|
2022-10-17 09:34:41 |
SUCCESS
|
AddStateToAuthorizationEndpointRequest
Added state parameter to request
|
||||||||||
|
2022-10-17 09:34:41 |
|
CreateRandomNonceValue
Created nonce value
|
||||
|
2022-10-17 09:34:41 |
SUCCESS
|
AddNonceToAuthorizationEndpointRequest
Added nonce parameter to request
|
||||||||||||
|
2022-10-17 09:34:41 |
SUCCESS
|
SetAuthorizationEndpointRequestResponseTypeToCodeIdtoken
Added response_type parameter to request
|
||||||||||||||
|
2022-10-17 09:34:41 |
SUCCESS
|
ConvertAuthorizationEndpointRequestToRequestObject
Created request object claims
|
||
|
2022-10-17 09:34:41 | SUCCESS |
AddNbfToRequestObject
Added nbf to request object claims
|
||
|
2022-10-17 09:34:41 | SUCCESS |
AddExpToRequestObject
Added exp to request object claims
|
||
|
2022-10-17 09:34:41 | SUCCESS |
AddAudToRequestObject
Added aud to request object claims
|
||
|
2022-10-17 09:34:41 | SUCCESS |
AddIssToRequestObject
Added iss to request object claims
|
||
|
2022-10-17 09:34:41 | SUCCESS |
AddClientIdToRequestObject
Added client_id to request object claims
|
||
|
2022-10-17 09:34:41 |
SUCCESS
|
SignRequestObject
Signed the request object
|
||||||||
|
2022-10-17 09:34:41 |
|
InvalidateRequestObjectSignature
Made the request_object signature invalid
|
||
|
2022-10-17 09:34:41 |
SUCCESS
|
BuildRequestObjectByValueRedirectToAuthorizationEndpoint
Sending to authorization endpoint
|
||
|
2022-10-17 09:34:41 |
REDIRECT
|
fapi1-advanced-final-ensure-request-object-with-invalid-signature-fails
Redirecting to authorization endpoint
|
||
|
2022-10-17 09:34:41 |
REVIEW
IMAGE
|
ExpectRequestObjectInvalidSignatureErrorPage
If the server does not return an invalid_request_object error back to the client, it must show an error page saying that the signature of the request object passed by 'request' parameter was not verified.
|
||||
|
2022-10-17 09:36:48 |
FINISHED
|
fapi1-advanced-final-ensure-request-object-with-invalid-signature-fails
Test has run to completion
|
||
|
2022-10-17 09:36:54 |
|
TEST-RUNNER
Alias has now been claimed by another test
|
||||
|