Test Name | fapi-rw-id2-ensure-request-object-with-bad-aud-fails |
---|---|
Variant | mtls, by_value, openbanking_uk, plain_response |
Test ID | DJzqiQMgZvfNJjY https://www.certification.openid.net/log-detail.html?public=true&log=DJzqiQMgZvfNJjY |
Created | 2020-10-20T19:01:22.751078Z |
Description | prod test plan (legacy CERTS) 02.10.2020 |
Test Version | 4.1.2 |
Test Owner | 110877743441047775321 https://accounts.google.com |
Plan ID | yUy4jFy4oX9f7 https://www.certification.openid.net/plan-detail.html?public=true&plan=yUy4jFy4oX9f7 |
Exported From | https://www.certification.openid.net |
Exported By | 110877743441047775321 https://accounts.google.com |
Suite Version | 4.1.3 |
Exported | 2020-10-23 09:32:06 (UTC) |
Status: FINISHED Result: PASSED |
SUCCESS 70 FAILURE 0 WARNING 0 REVIEW 1 INFO 2 |
2020-10-20 19:01:22 |
INFO
|
TEST-RUNNER
Test instance DJzqiQMgZvfNJjY created
|
||||||||||||||
|
2020-10-20 19:01:22 |
SUCCESS
|
CreateRedirectUri
Created redirect URI
|
||
|
2020-10-20 19:01:22 |
|
GetDynamicServerConfiguration
HTTP request
|
||||||||
|
2020-10-20 19:01:23 |
RESPONSE
|
GetDynamicServerConfiguration
HTTP response
|
||||||||
|
2020-10-20 19:01:23 |
|
GetDynamicServerConfiguration
Downloaded server configuration
|
||
|
2020-10-20 19:01:23 |
SUCCESS
|
GetDynamicServerConfiguration
Successfully parsed server configuration
|
||||||||||||||||||||||||||||||||||||||
|
2020-10-20 19:01:23 | INFO |
AddMTLSEndpointAliasesToEnvironment
The mtls_endpoint_aliases is not present in the server configuration
|
||
|
2020-10-20 19:01:23 |
SUCCESS
|
CheckServerConfiguration
Found required server configuration keys
|
||
|
2020-10-20 19:01:23 |
SUCCESS
|
ExtractTLSTestValuesFromServerConfiguration
Extracted TLS information from authorization server configuration
|
||||||||
|
2020-10-20 19:01:23 |
|
FetchServerKeys
Fetching server key
|
||
|
2020-10-20 19:01:23 |
|
FetchServerKeys
HTTP request
|
||||||||
|
2020-10-20 19:01:23 |
RESPONSE
|
FetchServerKeys
HTTP response
|
||||||||
|
2020-10-20 19:01:23 |
|
FetchServerKeys
Found JWK set string
|
||
|
2020-10-20 19:01:23 |
SUCCESS
|
FetchServerKeys
Found server JWK set
|
||
|
2020-10-20 19:01:23 |
SUCCESS
|
CheckServerKeysIsValid
Server JWKs is valid
|
||
|
2020-10-20 19:01:23 | SUCCESS |
ValidateServerJWKs
Valid server JWKs: keys are valid JSON, contain the required fields and are correctly encoded using unpadded base64url
|
|
2020-10-20 19:01:23 | SUCCESS |
CheckForKeyIdInServerJWKs
All keys contain kids
|
|
2020-10-20 19:01:23 | SUCCESS |
EnsureServerJwksDoesNotContainPrivateOrSymmetricKeys
Jwks does not contain any private or symmetric keys
|
|
2020-10-20 19:01:23 | SUCCESS |
FAPIEnsureMinimumServerKeyLength
Validated minimum key lengths for server_jwks
|
||
|
2020-10-20 19:01:23 |
SUCCESS
|
GetStaticClientConfiguration
Found a static client object
|
||||||
|
2020-10-20 19:01:23 |
|
ValidateMTLSCertificatesHeader
No certificate authority found for MTLS
|
|
2020-10-20 19:01:23 |
SUCCESS
|
ValidateMTLSCertificatesHeader
MTLS certificates header is valid
|
|
2020-10-20 19:01:23 |
|
ExtractMTLSCertificatesFromConfiguration
No certificate authority found for MTLS
|
|
2020-10-20 19:01:23 |
SUCCESS
|
ExtractMTLSCertificatesFromConfiguration
Mutual TLS authentication credentials loaded
|
||||
|
2020-10-20 19:01:23 | 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
|
|
2020-10-20 19:01:23 |
SUCCESS
|
ExtractJWKsFromStaticClientConfiguration
Extracted client JWK
|
||||
|
2020-10-20 19:01:23 | SUCCESS |
CheckForKeyIdInClientJWKs
All keys contain kids
|
|
2020-10-20 19:01:23 | SUCCESS |
CheckDistinctKeyIdValueInClientJWKs
Distinct 'kid' value in all keys of client_jwks
|
||
|
2020-10-20 19:01:23 | SUCCESS |
FAPICheckKeyAlgInClientJWKs
Found a key with alg PS256 or ES256
|
|
2020-10-20 19:01:23 | SUCCESS |
FAPIEnsureMinimumClientKeyLength
Validated minimum key lengths for client_jwks
|
||
|
2020-10-20 19:01:23 |
SUCCESS
|
ValidateMTLSCertificatesAsX509
Mutual TLS authentication cert validated as X.509
|
|
Verify configuration of second client |
2020-10-20 19:01:23 |
SUCCESS
|
GetStaticClient2Configuration
Found a static second client object
|
||||||
|
2020-10-20 19:01:23 |
|
ValidateMTLSCertificates2Header
No certificate authority found for MTLS
|
|
2020-10-20 19:01:23 |
SUCCESS
|
ValidateMTLSCertificates2Header
MTLS certificates header is valid
|
|
2020-10-20 19:01:23 |
|
ExtractMTLSCertificates2FromConfiguration
No certificate authority found for MTLS
|
|
2020-10-20 19:01:23 |
SUCCESS
|
ExtractMTLSCertificates2FromConfiguration
Mutual TLS authentication credentials loaded
|
||||
|
2020-10-20 19:01:23 | 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
|
|
2020-10-20 19:01:23 |
SUCCESS
|
ExtractJWKsFromStaticClientConfiguration
Extracted client JWK
|
||||
|
2020-10-20 19:01:23 | SUCCESS |
CheckForKeyIdInClientJWKs
All keys contain kids
|
|
2020-10-20 19:01:23 | SUCCESS |
CheckDistinctKeyIdValueInClientJWKs
Distinct 'kid' value in all keys of client_jwks
|
||
|
2020-10-20 19:01:23 | SUCCESS |
FAPICheckKeyAlgInClientJWKs
Found a key with alg PS256 or ES256
|
|
2020-10-20 19:01:23 | SUCCESS |
FAPIEnsureMinimumClientKeyLength
Validated minimum key lengths for client_jwks
|
||
|
2020-10-20 19:01:23 |
SUCCESS
|
ValidateMTLSCertificatesAsX509
Mutual TLS authentication cert validated as X.509
|
|
2020-10-20 19:01:23 |
SUCCESS
|
GetResourceEndpointConfiguration
Found a resource endpoint object
|
||||||||
|
2020-10-20 19:01:23 |
SUCCESS
|
SetProtectedResourceUrlToAccountsEndpoint
Set protected resource URL
|
||
|
2020-10-20 19:01:23 |
SUCCESS
|
ExtractTLSTestValuesFromResourceConfiguration
Extracted TLS information from resource endpoint
|
||
|
2020-10-20 19:01:23 |
SUCCESS
|
ExtractTLSTestValuesFromOBResourceConfiguration
Extracted TLS information from resource endpoint
|
||||
|
2020-10-20 19:01:23 |
|
fapi-rw-id2-ensure-request-object-with-bad-aud-fails
Setup Done
|
|
Use client_credentials grant to obtain OpenBanking UK intent_id |
2020-10-20 19:01:23 |
SUCCESS
|
CreateTokenEndpointRequestForClientCredentialsGrant
|
||||
|
2020-10-20 19:01:23 |
SUCCESS
|
SetAccountScopeOnTokenEndpointRequest
Set scope parameter to accounts for OB testing
|
||||
|
2020-10-20 19:01:23 |
SUCCESS
|
AddClientIdToTokenEndpointRequest
|
||||||
|
2020-10-20 19:01:23 |
|
CallTokenEndpoint
HTTP request
|
||||||||||
|
2020-10-20 19:01:24 |
RESPONSE
|
CallTokenEndpoint
HTTP response
|
||||||||
|
2020-10-20 19:01:24 |
|
CallTokenEndpoint
Token endpoint response
|
||
|
2020-10-20 19:01:24 |
SUCCESS
|
CallTokenEndpoint
Parsed token endpoint response
|
||||||||||||
|
2020-10-20 19:01:24 |
SUCCESS
|
CheckIfTokenEndpointResponseError
No error from token endpoint
|
|
2020-10-20 19:01:24 |
SUCCESS
|
CheckForAccessTokenValue
Found an access token
|
||
|
2020-10-20 19:01:24 |
SUCCESS
|
ExtractAccessTokenFromTokenResponse
Extracted the access token
|
||||
|
2020-10-20 19:01:24 | SUCCESS |
ExtractExpiresInFromTokenEndpointResponse
Extracted 'expires_in'
|
||
|
2020-10-20 19:01:24 | SUCCESS |
ValidateExpiresIn
expires_in passed all validation checks
|
||
|
2020-10-20 19:01:24 |
|
CreateEmptyResourceEndpointRequestHeaders
Created empty headers
|
||
|
2020-10-20 19:01:24 |
SUCCESS
|
AddFAPIAuthDateToResourceEndpointRequest
Added x-fapi-auth-date to resource endpoint request headers
|
||
|
2020-10-20 19:01:24 |
|
AddFAPIFinancialIdToResourceEndpointRequest
Added x-fapi-financial-id to resource_endpoint_request_headers
|
|
2020-10-20 19:01:24 |
SUCCESS
|
CreateCreateAccountRequestRequest
|
||
|
2020-10-20 19:01:24 |
|
CallAccountRequestsEndpointWithBearerToken
Found '/v3.' in the resource url, using OB V3 API 'account-access-consents'
|
||
|
2020-10-20 19:01:24 |
|
CallAccountRequestsEndpointWithBearerToken
HTTP request
|
||||||||||
|
2020-10-20 19:01:25 |
RESPONSE
|
CallAccountRequestsEndpointWithBearerToken
HTTP response
|
||||||||
|
2020-10-20 19:01:25 |
|
CallAccountRequestsEndpointWithBearerToken
Account requests endpoint response
|
||
|
2020-10-20 19:01:25 |
SUCCESS
|
CallAccountRequestsEndpointWithBearerToken
Parsed account requests endpoint response
|
||||
|
2020-10-20 19:01:25 |
SUCCESS
|
CheckIfAccountRequestsEndpointResponseError
No error from account requests endpoint
|
|
2020-10-20 19:01:25 | SUCCESS |
CheckForFAPIInteractionIdInResourceResponse
Found x-fapi-interaction-id
|
||
|
2020-10-20 19:01:25 |
SUCCESS
|
ExtractAccountRequestIdFromAccountRequestsEndpointResponse
Extracted the account request ID
|
||
|
Make request to authorization endpoint |
2020-10-20 19:01:25 |
SUCCESS
|
CreateAuthorizationEndpointRequestFromClientInformation
Created authorization endpoint request
|
||||||
|
2020-10-20 19:01:25 |
SUCCESS
|
AddAccountRequestIdToAuthorizationEndpointRequest
Added openbanking_intent_id claim to authorization_endpoint_request
|
||
|
2020-10-20 19:01:25 |
SUCCESS
|
OpenBankingUkAddMultipleAcrClaimsToAuthorizationEndpointRequest
Added acr to request as an essential id_token claim
|
||
|
2020-10-20 19:01:25 |
|
CreateRandomStateValue
Created state value
|
||||
|
2020-10-20 19:01:25 |
SUCCESS
|
AddStateToAuthorizationEndpointRequest
Added state parameter to request
|
||||||||||
|
2020-10-20 19:01:25 |
|
CreateRandomNonceValue
Created nonce value
|
||||
|
2020-10-20 19:01:25 |
SUCCESS
|
AddNonceToAuthorizationEndpointRequest
Added nonce parameter to request
|
||||||||||||
|
2020-10-20 19:01:25 |
SUCCESS
|
SetAuthorizationEndpointRequestResponseTypeToCodeIdtoken
Added response_type parameter to request
|
||||||||||||||
|
2020-10-20 19:01:25 |
SUCCESS
|
ConvertAuthorizationEndpointRequestToRequestObject
Created request object claims
|
||
|
2020-10-20 19:01:25 | SUCCESS |
AddExpToRequestObject
Added exp to request object claims
|
||
|
2020-10-20 19:01:25 | SUCCESS |
AddBadAudToRequestObject
Added bad aud to request object claims
|
||
|
2020-10-20 19:01:25 | SUCCESS |
AddIssToRequestObject
Added iss to request object claims
|
||
|
2020-10-20 19:01:25 | SUCCESS |
AddClientIdToRequestObject
Added client_id to request object claims
|
||
|
2020-10-20 19:01:25 |
SUCCESS
|
SignRequestObject
Signed the request object
|
||||||||
|
2020-10-20 19:01:25 |
SUCCESS
|
BuildRequestObjectByValueRedirectToAuthorizationEndpoint
Sending to authorization endpoint
|
||
|
2020-10-20 19:01:25 |
REDIRECT
|
fapi-rw-id2-ensure-request-object-with-bad-aud-fails
Redirecting to authorization endpoint
|
||
|
2020-10-20 19:01:25 | REVIEW |
ExpectRequestObjectWithBadAudClaimErrorPage
If the server does not return an invalid_request_object error back to the client, it must show an error page saying the request object is invalid as it is using bad aud value in signed request object - upload a screenshot of the error page.
|
||
|
2020-10-20 19:01:33 |
INCOMING
|
fapi-rw-id2-ensure-request-object-with-bad-aud-fails
Incoming HTTP request to test instance DJzqiQMgZvfNJjY
|
||||||||||||||
|
2020-10-20 19:01:33 |
SUCCESS
|
CreateRandomImplicitSubmitUrl
Created random implicit submission URL
|
||
|
2020-10-20 19:01:33 |
OUTGOING
|
fapi-rw-id2-ensure-request-object-with-bad-aud-fails
Response to HTTP request to test instance DJzqiQMgZvfNJjY
|
||||
|
2020-10-20 19:01:35 |
INCOMING
|
fapi-rw-id2-ensure-request-object-with-bad-aud-fails
Incoming HTTP request to test instance DJzqiQMgZvfNJjY
|
||||||||||||||
|
2020-10-20 19:01:35 |
OUTGOING
|
fapi-rw-id2-ensure-request-object-with-bad-aud-fails
Response to HTTP request to test instance DJzqiQMgZvfNJjY
|
||||
|
2020-10-20 19:01:35 |
|
ExtractImplicitHashToCallbackResponse
Extracted response from URL fragment
|
||
|
2020-10-20 19:01:35 |
SUCCESS
|
ExtractImplicitHashToCallbackResponse
Extracted the hash values
|
||||||
|
2020-10-20 19:01:35 |
REDIRECT-IN
|
fapi-rw-id2-ensure-request-object-with-bad-aud-fails
Authorization endpoint response captured
|
||||||||||
|
Verify authorization endpoint response |
2020-10-20 19:01:35 | SUCCESS |
RejectAuthCodeInUrlQuery
Authorization code is not present in URL query returned from authorization endpoint
|
|
2020-10-20 19:01:35 | SUCCESS |
RejectErrorInUrlQuery
'error' is not present in URL query returned from authorization endpoint
|
|
2020-10-20 19:01:35 |
SUCCESS
|
CheckStateInAuthorizationResponse
State in response correctly returned
|
||
|
2020-10-20 19:01:35 | SUCCESS |
EnsureErrorFromAuthorizationEndpointResponse
Authorization endpoint returned an error
|
||||||
|
2020-10-20 19:01:35 | SUCCESS |
CheckForUnexpectedParametersInErrorResponseFromAuthorizationEndpoint
error response includes only expected parameters
|
||||||
|
2020-10-20 19:01:35 | SUCCESS |
EnsureInvalidRequestObjectError
Authorization endpoint returned expected 'error' of 'invalid_request_object'
|
||
|
2020-10-20 19:01:35 |
FINISHED
|
fapi-rw-id2-ensure-request-object-with-bad-aud-fails
Test has run to completion
|
||
|
2020-10-20 19:01:50 |
|
TEST-RUNNER
Alias has now been claimed by another test
|
||||
|