Test Name | fapi-rw-id2-ensure-request-object-with-bad-aud-fails |
---|---|
Variant | mtls, by_value, openbanking_uk, plain_response |
Test ID | TNa7VffFWS7MsuI https://www.certification.openid.net/log-detail.html?public=true&log=TNa7VffFWS7MsuI |
Created | 2020-10-26T15:30:13.128853Z |
Description | RBS FAPI TEST PLAN |
Test Version | 4.1.3 |
Test Owner | 117246274168610678047 https://accounts.google.com |
Plan ID | xnTh2v5Dw4xdU https://www.certification.openid.net/plan-detail.html?public=true&plan=xnTh2v5Dw4xdU |
Exported From | https://www.certification.openid.net |
Exported By | 117246274168610678047 https://accounts.google.com |
Suite Version | 4.1.3 |
Exported | 2020-10-27 11:56:08 (UTC) |
Status: FINISHED Result: REVIEW |
SUCCESS 62 FAILURE 0 WARNING 0 REVIEW 1 INFO 2 |
2020-10-26 15:30:13 |
INFO
|
TEST-RUNNER
Test instance TNa7VffFWS7MsuI created
|
||||||||||||||
|
2020-10-26 15:30:13 |
SUCCESS
|
CreateRedirectUri
Created redirect URI
|
||
|
2020-10-26 15:30:13 |
|
GetDynamicServerConfiguration
HTTP request
|
||||||||
|
2020-10-26 15:30:13 |
RESPONSE
|
GetDynamicServerConfiguration
HTTP response
|
||||||||
|
2020-10-26 15:30:13 |
|
GetDynamicServerConfiguration
Downloaded server configuration
|
||
|
2020-10-26 15:30:13 |
SUCCESS
|
GetDynamicServerConfiguration
Successfully parsed server configuration
|
||||||||||||||||||||||||||||||||||||||||||||||||||
|
2020-10-26 15:30:13 | INFO |
AddMTLSEndpointAliasesToEnvironment
The mtls_endpoint_aliases is not present in the server configuration
|
||
|
2020-10-26 15:30:13 |
SUCCESS
|
CheckServerConfiguration
Found required server configuration keys
|
||
|
2020-10-26 15:30:13 |
SUCCESS
|
ExtractTLSTestValuesFromServerConfiguration
Extracted TLS information from authorization server configuration
|
||||||||
|
2020-10-26 15:30:13 |
|
FetchServerKeys
Fetching server key
|
||
|
2020-10-26 15:30:13 |
|
FetchServerKeys
HTTP request
|
||||||||
|
2020-10-26 15:30:14 |
RESPONSE
|
FetchServerKeys
HTTP response
|
||||||||
|
2020-10-26 15:30:14 |
|
FetchServerKeys
Found JWK set string
|
||
|
2020-10-26 15:30:14 |
SUCCESS
|
FetchServerKeys
Found server JWK set
|
||
|
2020-10-26 15:30:14 |
SUCCESS
|
CheckServerKeysIsValid
Server JWKs is valid
|
||
|
2020-10-26 15:30:14 | SUCCESS |
ValidateServerJWKs
Valid server JWKs: keys are valid JSON, contain the required fields and are correctly encoded using unpadded base64url
|
|
2020-10-26 15:30:14 | SUCCESS |
CheckForKeyIdInServerJWKs
All keys contain kids
|
|
2020-10-26 15:30:14 | SUCCESS |
EnsureServerJwksDoesNotContainPrivateOrSymmetricKeys
Jwks does not contain any private or symmetric keys
|
|
2020-10-26 15:30:14 | SUCCESS |
FAPIEnsureMinimumServerKeyLength
Validated minimum key lengths for server_jwks
|
||
|
2020-10-26 15:30:14 |
SUCCESS
|
GetStaticClientConfiguration
Found a static client object
|
||||||
|
2020-10-26 15:30:14 |
SUCCESS
|
ValidateMTLSCertificatesHeader
MTLS certificates header is valid
|
|
2020-10-26 15:30:14 |
SUCCESS
|
ExtractMTLSCertificatesFromConfiguration
Mutual TLS authentication credentials loaded
|
||||||
|
2020-10-26 15:30:14 | 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-26 15:30:14 |
SUCCESS
|
ExtractJWKsFromStaticClientConfiguration
Extracted client JWK
|
||||
|
2020-10-26 15:30:14 | SUCCESS |
CheckForKeyIdInClientJWKs
All keys contain kids
|
|
2020-10-26 15:30:14 | SUCCESS |
CheckDistinctKeyIdValueInClientJWKs
Distinct 'kid' value in all keys of client_jwks
|
||
|
2020-10-26 15:30:14 | SUCCESS |
FAPICheckKeyAlgInClientJWKs
Found a key with alg PS256 or ES256
|
|
2020-10-26 15:30:14 | SUCCESS |
FAPIEnsureMinimumClientKeyLength
Validated minimum key lengths for client_jwks
|
||
|
2020-10-26 15:30:14 |
SUCCESS
|
ValidateMTLSCertificatesAsX509
Mutual TLS authentication cert validated as X.509
|
|
Verify configuration of second client |
2020-10-26 15:30:14 |
SUCCESS
|
GetStaticClient2Configuration
Found a static second client object
|
||||||
|
2020-10-26 15:30:14 |
SUCCESS
|
ValidateMTLSCertificates2Header
MTLS certificates header is valid
|
|
2020-10-26 15:30:14 |
SUCCESS
|
ExtractMTLSCertificates2FromConfiguration
Mutual TLS authentication credentials loaded
|
||||||
|
2020-10-26 15:30:14 | 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-26 15:30:14 |
SUCCESS
|
ExtractJWKsFromStaticClientConfiguration
Extracted client JWK
|
||||
|
2020-10-26 15:30:14 | SUCCESS |
CheckForKeyIdInClientJWKs
All keys contain kids
|
|
2020-10-26 15:30:14 | SUCCESS |
CheckDistinctKeyIdValueInClientJWKs
Distinct 'kid' value in all keys of client_jwks
|
||
|
2020-10-26 15:30:14 | SUCCESS |
FAPICheckKeyAlgInClientJWKs
Found a key with alg PS256 or ES256
|
|
2020-10-26 15:30:14 | SUCCESS |
FAPIEnsureMinimumClientKeyLength
Validated minimum key lengths for client_jwks
|
||
|
2020-10-26 15:30:14 |
SUCCESS
|
ValidateMTLSCertificatesAsX509
Mutual TLS authentication cert validated as X.509
|
|
2020-10-26 15:30:14 |
SUCCESS
|
GetResourceEndpointConfiguration
Found a resource endpoint object
|
||||
|
2020-10-26 15:30:14 |
SUCCESS
|
SetProtectedResourceUrlToAccountsEndpoint
Set protected resource URL
|
||
|
2020-10-26 15:30:14 |
SUCCESS
|
ExtractTLSTestValuesFromResourceConfiguration
Extracted TLS information from resource endpoint
|
||
|
2020-10-26 15:30:14 |
SUCCESS
|
ExtractTLSTestValuesFromOBResourceConfiguration
Extracted TLS information from resource endpoint
|
||||
|
2020-10-26 15:30:14 |
|
fapi-rw-id2-ensure-request-object-with-bad-aud-fails
Setup Done
|
|
Use client_credentials grant to obtain OpenBanking UK intent_id |
2020-10-26 15:30:14 |
SUCCESS
|
CreateTokenEndpointRequestForClientCredentialsGrant
|
||||
|
2020-10-26 15:30:14 |
SUCCESS
|
SetAccountScopeOnTokenEndpointRequest
Set scope parameter to accounts for OB testing
|
||||
|
2020-10-26 15:30:14 |
SUCCESS
|
AddClientIdToTokenEndpointRequest
|
||||||
|
2020-10-26 15:30:14 |
|
CallTokenEndpoint
HTTP request
|
||||||||||
|
2020-10-26 15:30:15 |
RESPONSE
|
CallTokenEndpoint
HTTP response
|
||||||||
|
2020-10-26 15:30:15 |
|
CallTokenEndpoint
Token endpoint response
|
||
|
2020-10-26 15:30:15 |
SUCCESS
|
CallTokenEndpoint
Parsed token endpoint response
|
||||||
|
2020-10-26 15:30:15 |
SUCCESS
|
CheckIfTokenEndpointResponseError
No error from token endpoint
|
|
2020-10-26 15:30:15 |
SUCCESS
|
CheckForAccessTokenValue
Found an access token
|
||
|
2020-10-26 15:30:15 |
SUCCESS
|
ExtractAccessTokenFromTokenResponse
Extracted the access token
|
||||
|
2020-10-26 15:30:15 | SUCCESS |
ExtractExpiresInFromTokenEndpointResponse
Extracted 'expires_in'
|
||
|
2020-10-26 15:30:15 | SUCCESS |
ValidateExpiresIn
expires_in passed all validation checks
|
||
|
2020-10-26 15:30:15 |
|
CreateEmptyResourceEndpointRequestHeaders
Created empty headers
|
||
|
2020-10-26 15:30:15 |
SUCCESS
|
AddFAPIAuthDateToResourceEndpointRequest
Added x-fapi-auth-date to resource endpoint request headers
|
||
|
2020-10-26 15:30:15 |
|
AddFAPIFinancialIdToResourceEndpointRequest
Added x-fapi-financial-id to resource_endpoint_request_headers
|
|
2020-10-26 15:30:15 |
SUCCESS
|
CreateCreateAccountRequestRequest
|
||
|
2020-10-26 15:30:15 |
|
CallAccountRequestsEndpointWithBearerToken
Found '/v3.' in the resource url, using OB V3 API 'account-access-consents'
|
||
|
2020-10-26 15:30:15 |
|
CallAccountRequestsEndpointWithBearerToken
HTTP request
|
||||||||||
|
2020-10-26 15:30:15 |
RESPONSE
|
CallAccountRequestsEndpointWithBearerToken
HTTP response
|
||||||||
|
2020-10-26 15:30:15 |
|
CallAccountRequestsEndpointWithBearerToken
Account requests endpoint response
|
||
|
2020-10-26 15:30:15 |
SUCCESS
|
CallAccountRequestsEndpointWithBearerToken
Parsed account requests endpoint response
|
||||
|
2020-10-26 15:30:15 |
SUCCESS
|
CheckIfAccountRequestsEndpointResponseError
No error from account requests endpoint
|
|
2020-10-26 15:30:15 | SUCCESS |
CheckForFAPIInteractionIdInResourceResponse
Found x-fapi-interaction-id
|
||
|
2020-10-26 15:30:15 |
SUCCESS
|
ExtractAccountRequestIdFromAccountRequestsEndpointResponse
Extracted the account request ID
|
||
|
Make request to authorization endpoint |
2020-10-26 15:30:15 |
SUCCESS
|
CreateAuthorizationEndpointRequestFromClientInformation
Created authorization endpoint request
|
||||||
|
2020-10-26 15:30:15 |
SUCCESS
|
AddAccountRequestIdToAuthorizationEndpointRequest
Added openbanking_intent_id claim to authorization_endpoint_request
|
||
|
2020-10-26 15:30:15 |
SUCCESS
|
OpenBankingUkAddMultipleAcrClaimsToAuthorizationEndpointRequest
Added acr to request as an essential id_token claim
|
||
|
2020-10-26 15:30:15 |
|
CreateRandomStateValue
Created state value
|
||||
|
2020-10-26 15:30:15 |
SUCCESS
|
AddStateToAuthorizationEndpointRequest
Added state parameter to request
|
||||||||||
|
2020-10-26 15:30:15 |
|
CreateRandomNonceValue
Created nonce value
|
||||
|
2020-10-26 15:30:15 |
SUCCESS
|
AddNonceToAuthorizationEndpointRequest
Added nonce parameter to request
|
||||||||||||
|
2020-10-26 15:30:15 |
SUCCESS
|
SetAuthorizationEndpointRequestResponseTypeToCodeIdtoken
Added response_type parameter to request
|
||||||||||||||
|
2020-10-26 15:30:15 |
SUCCESS
|
ConvertAuthorizationEndpointRequestToRequestObject
Created request object claims
|
||
|
2020-10-26 15:30:15 | SUCCESS |
AddExpToRequestObject
Added exp to request object claims
|
||
|
2020-10-26 15:30:15 | SUCCESS |
AddBadAudToRequestObject
Added bad aud to request object claims
|
||
|
2020-10-26 15:30:15 | SUCCESS |
AddIssToRequestObject
Added iss to request object claims
|
||
|
2020-10-26 15:30:15 | SUCCESS |
AddClientIdToRequestObject
Added client_id to request object claims
|
||
|
2020-10-26 15:30:15 |
SUCCESS
|
SignRequestObject
Signed the request object
|
||||||||
|
2020-10-26 15:30:15 |
SUCCESS
|
BuildRequestObjectByValueRedirectToAuthorizationEndpoint
Sending to authorization endpoint
|
||
|
2020-10-26 15:30:15 |
REDIRECT
|
fapi-rw-id2-ensure-request-object-with-bad-aud-fails
Redirecting to authorization endpoint
|
||
|
2020-10-26 15:30:15 | REVIEW IMAGE |
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-26 15:30:46 |
FINISHED
|
fapi-rw-id2-ensure-request-object-with-bad-aud-fails
Test has run to completion
|
||
|
2020-10-26 15:30:56 |
|
TEST-RUNNER
Alias has now been claimed by another test
|
||||
|