Test Name | fapi-rw-id2-ensure-authorization-code-is-bound-to-client |
---|---|
Variant | mtls, by_value, openbanking_uk, plain_response |
Test ID | SHjDvup4vNALmr8 https://www.certification.openid.net/log-detail.html?public=true&log=SHjDvup4vNALmr8 |
Created | 2020-10-26T11:41:42.745322Z |
Description | UBN TEST |
Test Version | 4.1.3 |
Test Owner | 117246274168610678047 https://accounts.google.com |
Plan ID | TjViepHsCo0xX https://www.certification.openid.net/plan-detail.html?public=true&plan=TjViepHsCo0xX |
Exported From | https://www.certification.openid.net |
Exported By | 117246274168610678047 https://accounts.google.com |
Suite Version | 4.1.3 |
Exported | 2020-10-27 10:30:01 (UTC) |
Status: FINISHED Result: PASSED |
SUCCESS 98 FAILURE 0 WARNING 0 REVIEW 0 INFO 2 |
2020-10-26 11:41:42 |
INFO
|
TEST-RUNNER
Test instance SHjDvup4vNALmr8 created
|
||||||||||||||
|
2020-10-26 11:41:42 |
SUCCESS
|
CreateRedirectUri
Created redirect URI
|
||
|
2020-10-26 11:41:42 |
|
GetDynamicServerConfiguration
HTTP request
|
||||||||
|
2020-10-26 11:41:43 |
RESPONSE
|
GetDynamicServerConfiguration
HTTP response
|
||||||||
|
2020-10-26 11:41:43 |
|
GetDynamicServerConfiguration
Downloaded server configuration
|
||
|
2020-10-26 11:41:43 |
SUCCESS
|
GetDynamicServerConfiguration
Successfully parsed server configuration
|
||||||||||||||||||||||||||||||||||||||||||||||||||
|
2020-10-26 11:41:43 | INFO |
AddMTLSEndpointAliasesToEnvironment
The mtls_endpoint_aliases is not present in the server configuration
|
||
|
2020-10-26 11:41:43 |
SUCCESS
|
CheckServerConfiguration
Found required server configuration keys
|
||
|
2020-10-26 11:41:43 |
SUCCESS
|
ExtractTLSTestValuesFromServerConfiguration
Extracted TLS information from authorization server configuration
|
||||||||
|
2020-10-26 11:41:43 |
|
FetchServerKeys
Fetching server key
|
||
|
2020-10-26 11:41:43 |
|
FetchServerKeys
HTTP request
|
||||||||
|
2020-10-26 11:41:44 |
RESPONSE
|
FetchServerKeys
HTTP response
|
||||||||
|
2020-10-26 11:41:44 |
|
FetchServerKeys
Found JWK set string
|
||
|
2020-10-26 11:41:44 |
SUCCESS
|
FetchServerKeys
Found server JWK set
|
||
|
2020-10-26 11:41:44 |
SUCCESS
|
CheckServerKeysIsValid
Server JWKs is valid
|
||
|
2020-10-26 11:41:44 | SUCCESS |
ValidateServerJWKs
Valid server JWKs: keys are valid JSON, contain the required fields and are correctly encoded using unpadded base64url
|
|
2020-10-26 11:41:44 | SUCCESS |
CheckForKeyIdInServerJWKs
All keys contain kids
|
|
2020-10-26 11:41:44 | SUCCESS |
EnsureServerJwksDoesNotContainPrivateOrSymmetricKeys
Jwks does not contain any private or symmetric keys
|
|
2020-10-26 11:41:44 | SUCCESS |
FAPIEnsureMinimumServerKeyLength
Validated minimum key lengths for server_jwks
|
||
|
2020-10-26 11:41:44 |
SUCCESS
|
GetStaticClientConfiguration
Found a static client object
|
||||||
|
2020-10-26 11:41:44 |
SUCCESS
|
ValidateMTLSCertificatesHeader
MTLS certificates header is valid
|
|
2020-10-26 11:41:44 |
SUCCESS
|
ExtractMTLSCertificatesFromConfiguration
Mutual TLS authentication credentials loaded
|
||||||
|
2020-10-26 11:41: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
|
|
2020-10-26 11:41:44 |
SUCCESS
|
ExtractJWKsFromStaticClientConfiguration
Extracted client JWK
|
||||
|
2020-10-26 11:41:44 | SUCCESS |
CheckForKeyIdInClientJWKs
All keys contain kids
|
|
2020-10-26 11:41:44 | SUCCESS |
CheckDistinctKeyIdValueInClientJWKs
Distinct 'kid' value in all keys of client_jwks
|
||
|
2020-10-26 11:41:44 | SUCCESS |
FAPICheckKeyAlgInClientJWKs
Found a key with alg PS256 or ES256
|
|
2020-10-26 11:41:44 | SUCCESS |
FAPIEnsureMinimumClientKeyLength
Validated minimum key lengths for client_jwks
|
||
|
2020-10-26 11:41:44 |
SUCCESS
|
ValidateMTLSCertificatesAsX509
Mutual TLS authentication cert validated as X.509
|
|
Verify configuration of second client |
2020-10-26 11:41:44 |
SUCCESS
|
GetStaticClient2Configuration
Found a static second client object
|
||||||
|
2020-10-26 11:41:44 |
SUCCESS
|
ValidateMTLSCertificates2Header
MTLS certificates header is valid
|
|
2020-10-26 11:41:44 |
SUCCESS
|
ExtractMTLSCertificates2FromConfiguration
Mutual TLS authentication credentials loaded
|
||||||
|
2020-10-26 11:41: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
|
|
2020-10-26 11:41:44 |
SUCCESS
|
ExtractJWKsFromStaticClientConfiguration
Extracted client JWK
|
||||
|
2020-10-26 11:41:44 | SUCCESS |
CheckForKeyIdInClientJWKs
All keys contain kids
|
|
2020-10-26 11:41:44 | SUCCESS |
CheckDistinctKeyIdValueInClientJWKs
Distinct 'kid' value in all keys of client_jwks
|
||
|
2020-10-26 11:41:44 | SUCCESS |
FAPICheckKeyAlgInClientJWKs
Found a key with alg PS256 or ES256
|
|
2020-10-26 11:41:44 | SUCCESS |
FAPIEnsureMinimumClientKeyLength
Validated minimum key lengths for client_jwks
|
||
|
2020-10-26 11:41:44 |
SUCCESS
|
ValidateMTLSCertificatesAsX509
Mutual TLS authentication cert validated as X.509
|
|
2020-10-26 11:41:44 |
SUCCESS
|
GetResourceEndpointConfiguration
Found a resource endpoint object
|
||||
|
2020-10-26 11:41:44 |
SUCCESS
|
SetProtectedResourceUrlToAccountsEndpoint
Set protected resource URL
|
||
|
2020-10-26 11:41:44 |
SUCCESS
|
ExtractTLSTestValuesFromResourceConfiguration
Extracted TLS information from resource endpoint
|
||
|
2020-10-26 11:41:44 |
SUCCESS
|
ExtractTLSTestValuesFromOBResourceConfiguration
Extracted TLS information from resource endpoint
|
||||
|
2020-10-26 11:41:44 |
|
fapi-rw-id2-ensure-authorization-code-is-bound-to-client
Setup Done
|
|
Use client_credentials grant to obtain OpenBanking UK intent_id |
2020-10-26 11:41:44 |
SUCCESS
|
CreateTokenEndpointRequestForClientCredentialsGrant
|
||||
|
2020-10-26 11:41:44 |
SUCCESS
|
SetAccountScopeOnTokenEndpointRequest
Set scope parameter to accounts for OB testing
|
||||
|
2020-10-26 11:41:44 |
SUCCESS
|
AddClientIdToTokenEndpointRequest
|
||||||
|
2020-10-26 11:41:44 |
|
CallTokenEndpoint
HTTP request
|
||||||||||
|
2020-10-26 11:41:45 |
RESPONSE
|
CallTokenEndpoint
HTTP response
|
||||||||
|
2020-10-26 11:41:45 |
|
CallTokenEndpoint
Token endpoint response
|
||
|
2020-10-26 11:41:45 |
SUCCESS
|
CallTokenEndpoint
Parsed token endpoint response
|
||||||
|
2020-10-26 11:41:45 |
SUCCESS
|
CheckIfTokenEndpointResponseError
No error from token endpoint
|
|
2020-10-26 11:41:45 |
SUCCESS
|
CheckForAccessTokenValue
Found an access token
|
||
|
2020-10-26 11:41:45 |
SUCCESS
|
ExtractAccessTokenFromTokenResponse
Extracted the access token
|
||||
|
2020-10-26 11:41:45 | SUCCESS |
ExtractExpiresInFromTokenEndpointResponse
Extracted 'expires_in'
|
||
|
2020-10-26 11:41:45 | SUCCESS |
ValidateExpiresIn
expires_in passed all validation checks
|
||
|
2020-10-26 11:41:45 |
|
CreateEmptyResourceEndpointRequestHeaders
Created empty headers
|
||
|
2020-10-26 11:41:45 |
SUCCESS
|
AddFAPIAuthDateToResourceEndpointRequest
Added x-fapi-auth-date to resource endpoint request headers
|
||
|
2020-10-26 11:41:45 |
|
AddFAPIFinancialIdToResourceEndpointRequest
Added x-fapi-financial-id to resource_endpoint_request_headers
|
|
2020-10-26 11:41:45 |
SUCCESS
|
CreateCreateAccountRequestRequest
|
||
|
2020-10-26 11:41:45 |
|
CallAccountRequestsEndpointWithBearerToken
Found '/v3.' in the resource url, using OB V3 API 'account-access-consents'
|
||
|
2020-10-26 11:41:45 |
|
CallAccountRequestsEndpointWithBearerToken
HTTP request
|
||||||||||
|
2020-10-26 11:41:45 |
RESPONSE
|
CallAccountRequestsEndpointWithBearerToken
HTTP response
|
||||||||
|
2020-10-26 11:41:45 |
|
CallAccountRequestsEndpointWithBearerToken
Account requests endpoint response
|
||
|
2020-10-26 11:41:45 |
SUCCESS
|
CallAccountRequestsEndpointWithBearerToken
Parsed account requests endpoint response
|
||||
|
2020-10-26 11:41:45 |
SUCCESS
|
CheckIfAccountRequestsEndpointResponseError
No error from account requests endpoint
|
|
2020-10-26 11:41:45 | SUCCESS |
CheckForFAPIInteractionIdInResourceResponse
Found x-fapi-interaction-id
|
||
|
2020-10-26 11:41:45 |
SUCCESS
|
ExtractAccountRequestIdFromAccountRequestsEndpointResponse
Extracted the account request ID
|
||
|
Make request to authorization endpoint |
2020-10-26 11:41:45 |
SUCCESS
|
CreateAuthorizationEndpointRequestFromClientInformation
Created authorization endpoint request
|
||||||
|
2020-10-26 11:41:45 |
SUCCESS
|
AddAccountRequestIdToAuthorizationEndpointRequest
Added openbanking_intent_id claim to authorization_endpoint_request
|
||
|
2020-10-26 11:41:45 |
SUCCESS
|
OpenBankingUkAddMultipleAcrClaimsToAuthorizationEndpointRequest
Added acr to request as an essential id_token claim
|
||
|
2020-10-26 11:41:45 |
|
CreateRandomStateValue
Created state value
|
||||
|
2020-10-26 11:41:45 |
SUCCESS
|
AddStateToAuthorizationEndpointRequest
Added state parameter to request
|
||||||||||
|
2020-10-26 11:41:45 |
|
CreateRandomNonceValue
Created nonce value
|
||||
|
2020-10-26 11:41:45 |
SUCCESS
|
AddNonceToAuthorizationEndpointRequest
Added nonce parameter to request
|
||||||||||||
|
2020-10-26 11:41:45 |
SUCCESS
|
SetAuthorizationEndpointRequestResponseTypeToCodeIdtoken
Added response_type parameter to request
|
||||||||||||||
|
2020-10-26 11:41:45 |
SUCCESS
|
ConvertAuthorizationEndpointRequestToRequestObject
Created request object claims
|
||
|
2020-10-26 11:41:45 | SUCCESS |
AddExpToRequestObject
Added exp to request object claims
|
||
|
2020-10-26 11:41:45 | SUCCESS |
AddAudToRequestObject
Added aud to request object claims
|
||
|
2020-10-26 11:41:45 | SUCCESS |
AddIssToRequestObject
Added iss to request object claims
|
||
|
2020-10-26 11:41:45 | SUCCESS |
AddClientIdToRequestObject
Added client_id to request object claims
|
||
|
2020-10-26 11:41:45 |
SUCCESS
|
SignRequestObject
Signed the request object
|
||||||||
|
2020-10-26 11:41:45 |
SUCCESS
|
BuildRequestObjectByValueRedirectToAuthorizationEndpoint
Sending to authorization endpoint
|
||
|
2020-10-26 11:41:45 |
REDIRECT
|
fapi-rw-id2-ensure-authorization-code-is-bound-to-client
Redirecting to authorization endpoint
|
||
|
2020-10-26 11:42:10 |
INCOMING
|
fapi-rw-id2-ensure-authorization-code-is-bound-to-client
Incoming HTTP request to test instance SHjDvup4vNALmr8
|
||||||||||||||
|
2020-10-26 11:42:10 |
SUCCESS
|
CreateRandomImplicitSubmitUrl
Created random implicit submission URL
|
||
|
2020-10-26 11:42:10 |
OUTGOING
|
fapi-rw-id2-ensure-authorization-code-is-bound-to-client
Response to HTTP request to test instance SHjDvup4vNALmr8
|
||||
|
2020-10-26 11:42:10 |
INCOMING
|
fapi-rw-id2-ensure-authorization-code-is-bound-to-client
Incoming HTTP request to test instance SHjDvup4vNALmr8
|
||||||||||||||
|
2020-10-26 11:42:10 |
OUTGOING
|
fapi-rw-id2-ensure-authorization-code-is-bound-to-client
Response to HTTP request to test instance SHjDvup4vNALmr8
|
||||
|
2020-10-26 11:42:10 |
|
ExtractImplicitHashToCallbackResponse
Extracted response from URL fragment
|
||
|
2020-10-26 11:42:10 |
SUCCESS
|
ExtractImplicitHashToCallbackResponse
Extracted the hash values
|
||||||
|
2020-10-26 11:42:10 |
REDIRECT-IN
|
fapi-rw-id2-ensure-authorization-code-is-bound-to-client
Authorization endpoint response captured
|
||||||||||
|
Verify authorization endpoint response |
2020-10-26 11:42:10 | SUCCESS |
RejectAuthCodeInUrlQuery
Authorization code is not present in URL query returned from authorization endpoint
|
|
2020-10-26 11:42:10 | SUCCESS |
RejectErrorInUrlQuery
'error' is not present in URL query returned from authorization endpoint
|
|
2020-10-26 11:42:10 |
SUCCESS
|
CheckMatchingCallbackParameters
Callback parameters successfully verified
|
|
2020-10-26 11:42:10 | 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)
|
|
2020-10-26 11:42:10 |
SUCCESS
|
CheckIfAuthorizationEndpointError
No error from authorization endpoint
|
|
2020-10-26 11:42:10 |
SUCCESS
|
ValidateSuccessfulHybridResponseFromAuthorizationEndpoint
authorization endpoint response does not include unexpected parameters
|
||||||
|
2020-10-26 11:42:10 | SUCCESS |
CheckMatchingStateParameter
State parameter correctly returned
|
||
|
2020-10-26 11:42:10 |
SUCCESS
|
ExtractAuthorizationCodeFromAuthorizationResponse
Found authorization code
|
||
|
2020-10-26 11:42:10 | SUCCESS |
EnsureMinimumAuthorizationCodeLength
Authorization code is of sufficient length
|
||||
|
2020-10-26 11:42:10 | SUCCESS |
EnsureMinimumAuthorizationCodeEntropy
Calculated shannon entropy seems sufficient
|
||||
|
2020-10-26 11:42:10 | SUCCESS |
ExtractIdTokenFromAuthorizationResponse
Found and parsed the id_token from authorization_endpoint_response
|
||||||
|
2020-10-26 11:42:10 | SUCCESS |
ValidateIdToken
ID token iss, aud, exp, iat, auth_time, acr & nbf claims passed validation checks
|
|
2020-10-26 11:42:10 | SUCCESS |
ValidateIdTokenNonce
Nonce values match
|
||
|
2020-10-26 11:42:10 | SUCCESS |
ValidateIdTokenSignature
id_token signature validated
|
||
|
2020-10-26 11:42:10 | SUCCESS |
ValidateIdTokenSignatureUsingKid
id_token signature validated
|
||
|
2020-10-26 11:42:10 | SUCCESS |
CheckForSubjectInIdToken
Found 'sub' in id_token
|
||
|
2020-10-26 11:42:10 | SUCCESS |
ExtractSHash
Extracted s_hash from ID Token
|
||||
|
2020-10-26 11:42:10 | SUCCESS |
ValidateSHash
s_hash validated successfully
|
||||||
|
2020-10-26 11:42:10 | SUCCESS |
ExtractCHash
Extracted c_hash from ID Token
|
||||
|
2020-10-26 11:42:10 | SUCCESS |
ValidateCHash
c_hash validated successfully
|
||||||
|
2020-10-26 11:42:10 |
SUCCESS
|
CreateTokenEndpointRequestForAuthorizationCodeGrant
|
||||||
|
2020-10-26 11:42:10 |
SUCCESS
|
AddClientIdToTokenEndpointRequest
|
||||||||
|
2020-10-26 11:42:10 |
SUCCESS
|
ValidateMTLSCertificates2Header
MTLS certificates header is valid
|
|
2020-10-26 11:42:10 |
SUCCESS
|
ExtractMTLSCertificates2FromConfiguration
Mutual TLS authentication credentials loaded
|
||||||
|
2020-10-26 11:42:10 |
SUCCESS
|
CreateTokenEndpointRequestForAuthorizationCodeGrant
|
||||||
|
2020-10-26 11:42:10 |
SUCCESS
|
AddClientIdToTokenEndpointRequest
|
||||||||
|
2020-10-26 11:42:10 |
|
CallTokenEndpointAndReturnFullResponse
HTTP request
|
||||||||||
|
2020-10-26 11:42:11 |
RESPONSE
|
CallTokenEndpointAndReturnFullResponse
HTTP response
|
||||||||
|
2020-10-26 11:42:11 | SUCCESS |
CallTokenEndpointAndReturnFullResponse
Parsed token endpoint response
|
||||
|
2020-10-26 11:42:11 | SUCCESS |
CheckTokenEndpointHttpStatus400
Token endpoint http status code was 400
|
|
2020-10-26 11:42:11 | SUCCESS |
CheckTokenEndpointReturnedJsonContentType
token_endpoint_response_headers Content-Type: header is application/json
|
|
2020-10-26 11:42:11 | SUCCESS |
CheckErrorFromTokenEndpointResponseErrorInvalidGrant
Token Endpoint response error returned expected 'error' of 'invalid_grant'
|
||
|
2020-10-26 11:42:11 | SUCCESS |
ValidateErrorFromTokenEndpointResponseError
Token endpoint response error returned valid 'error' field
|
||
|
2020-10-26 11:42:11 | SUCCESS |
CheckErrorDescriptionFromTokenEndpointResponseErrorContainsCRLFTAB
token_endpoint_response 'error_description' field does not include CR/LF/TAB
|
||
|
2020-10-26 11:42:11 | SUCCESS |
ValidateErrorDescriptionFromTokenEndpointResponseError
token_endpoint_response error returned valid 'error_description' field
|
||
|
2020-10-26 11:42:11 | SUCCESS |
ValidateErrorUriFromTokenEndpointResponseError
token_endpoint_response did not include optional 'error_uri' field
|
|
2020-10-26 11:42:11 |
FINISHED
|
fapi-rw-id2-ensure-authorization-code-is-bound-to-client
Test has run to completion
|
||
|
2020-10-26 11:50:26 |
|
TEST-RUNNER
Alias has now been claimed by another test
|
||||
|