Test Name | fapi-rw-id2-ensure-authorization-request-without-state-success |
---|---|
Variant | mtls, openbanking_uk, plain_response |
Test ID | UuUFowvBe9 |
Created | 2020-07-15T13:12:19.213477Z |
Description | |
Test Version | 4.0.7 |
Test Owner | 104839057614645266510 https://accounts.google.com |
Plan ID | Swmue5OvTo85q |
Exported From | https://www.certification.openid.net |
Exported By | 104839057614645266510 https://accounts.google.com |
Suite Version | 4.0.7 |
Exported | 2020-07-15 14:35:15 (UTC) |
Status: FINISHED Result: PASSED |
SUCCESS 112 FAILURE 0 WARNING 0 REVIEW 0 INFO 10 |
2020-07-15 13:12:19 |
INFO
|
TEST-RUNNER
Test instance UuUFowvBe9 created
|
||||||||||||||
|
2020-07-15 13:12:19 |
SUCCESS
|
CreateRedirectUri
Created redirect URI
|
||
|
2020-07-15 13:12:19 |
|
GetDynamicServerConfiguration
HTTP request
|
||||||||
|
2020-07-15 13:12:19 |
RESPONSE
|
GetDynamicServerConfiguration
HTTP response
|
||||||||
|
2020-07-15 13:12:19 |
|
GetDynamicServerConfiguration
Downloaded server configuration
|
||
|
2020-07-15 13:12:19 |
SUCCESS
|
GetDynamicServerConfiguration
Successfully parsed server configuration
|
||||||||||||||||||||||||||||||||||||||||
|
2020-07-15 13:12:19 | INFO |
AddMTLSEndpointAliasesToEnvironment
The mtls_endpoint_aliases is not present in the server configuration
|
||
|
2020-07-15 13:12:19 |
SUCCESS
|
CheckServerConfiguration
Found required server configuration keys
|
||
|
2020-07-15 13:12:19 |
SUCCESS
|
ExtractTLSTestValuesFromServerConfiguration
Extracted TLS information from authorization server configuration
|
||||||||
|
2020-07-15 13:12:19 |
|
FetchServerKeys
Fetching server key
|
||
|
2020-07-15 13:12:19 |
|
FetchServerKeys
HTTP request
|
||||||||
|
2020-07-15 13:12:19 |
RESPONSE
|
FetchServerKeys
HTTP response
|
||||||||
|
2020-07-15 13:12:19 |
|
FetchServerKeys
Found JWK set string
|
||
|
2020-07-15 13:12:19 |
SUCCESS
|
FetchServerKeys
Found server JWK set
|
||
|
2020-07-15 13:12:19 |
SUCCESS
|
CheckServerKeysIsValid
Server JWKs is valid
|
||
|
2020-07-15 13:12:19 | SUCCESS |
ValidateServerJWKs
Valid server JWKs
|
|
2020-07-15 13:12:19 | SUCCESS |
CheckForKeyIdInServerJWKs
All keys contain kids
|
|
2020-07-15 13:12:19 |
SUCCESS
|
EnsureServerJwksDoesNotContainPrivateOrSymmetricKeys
Jwks does not contain any private or symmetric keys
|
|
2020-07-15 13:12:19 | SUCCESS |
FAPIEnsureMinimumServerKeyLength
Validated minimum key lengths for server_jwks
|
||
|
2020-07-15 13:12:19 |
SUCCESS
|
GetStaticClientConfiguration
Found a static client object
|
||||||
|
2020-07-15 13:12:19 |
|
ValidateMTLSCertificatesHeader
No certificate authority found for MTLS
|
|
2020-07-15 13:12:19 |
SUCCESS
|
ValidateMTLSCertificatesHeader
MTLS certificates header is valid
|
|
2020-07-15 13:12:19 |
|
ExtractMTLSCertificatesFromConfiguration
No certificate authority found for MTLS
|
|
2020-07-15 13:12:19 |
SUCCESS
|
ExtractMTLSCertificatesFromConfiguration
Mutual TLS authentication credentials loaded
|
||||
|
2020-07-15 13:12:19 | SUCCESS |
ValidateClientJWKsPrivatePart
Valid client JWKs
|
|
2020-07-15 13:12:19 |
SUCCESS
|
ExtractJWKsFromStaticClientConfiguration
Extracted client JWK
|
||||
|
2020-07-15 13:12:19 | SUCCESS |
CheckForKeyIdInClientJWKs
All keys contain kids
|
|
2020-07-15 13:12:19 | SUCCESS |
CheckDistinctKeyIdValueInClientJWKs
Distinct 'kid' value in all keys of client_jwks
|
||
|
2020-07-15 13:12:19 | SUCCESS |
FAPICheckKeyAlgInClientJWKs
Found a key with alg PS256 or ES256
|
|
2020-07-15 13:12:19 | SUCCESS |
FAPIEnsureMinimumClientKeyLength
Validated minimum key lengths for client_jwks
|
||
|
2020-07-15 13:12:19 |
SUCCESS
|
ValidateMTLSCertificatesAsX509
Mutual TLS authentication cert validated as X.509
|
|
Verify configuration of second client |
2020-07-15 13:12:19 |
SUCCESS
|
GetStaticClient2Configuration
Found a static second client object
|
||||||
|
2020-07-15 13:12:20 |
|
ValidateMTLSCertificates2Header
No certificate authority found for MTLS
|
|
2020-07-15 13:12:20 |
SUCCESS
|
ValidateMTLSCertificates2Header
MTLS certificates header is valid
|
|
2020-07-15 13:12:20 |
|
ExtractMTLSCertificates2FromConfiguration
No certificate authority found for MTLS
|
|
2020-07-15 13:12:20 |
SUCCESS
|
ExtractMTLSCertificates2FromConfiguration
Mutual TLS authentication credentials loaded
|
||||
|
2020-07-15 13:12:20 | SUCCESS |
ValidateClientJWKsPrivatePart
Valid client JWKs
|
|
2020-07-15 13:12:20 |
SUCCESS
|
ExtractJWKsFromStaticClientConfiguration
Extracted client JWK
|
||||
|
2020-07-15 13:12:20 | SUCCESS |
CheckForKeyIdInClientJWKs
All keys contain kids
|
|
2020-07-15 13:12:20 | SUCCESS |
CheckDistinctKeyIdValueInClientJWKs
Distinct 'kid' value in all keys of client_jwks
|
||
|
2020-07-15 13:12:20 | SUCCESS |
FAPICheckKeyAlgInClientJWKs
Found a key with alg PS256 or ES256
|
|
2020-07-15 13:12:20 | SUCCESS |
FAPIEnsureMinimumClientKeyLength
Validated minimum key lengths for client_jwks
|
||
|
2020-07-15 13:12:20 |
SUCCESS
|
ValidateMTLSCertificatesAsX509
Mutual TLS authentication cert validated as X.509
|
|
2020-07-15 13:12:20 |
SUCCESS
|
GetResourceEndpointConfiguration
Found a resource endpoint object
|
||||
|
2020-07-15 13:12:20 |
SUCCESS
|
SetProtectedResourceUrlToAccountsEndpoint
Set protected resource URL
|
||
|
2020-07-15 13:12:20 |
SUCCESS
|
ExtractTLSTestValuesFromResourceConfiguration
Extracted TLS information from resource endpoint
|
||
|
2020-07-15 13:12:20 |
SUCCESS
|
ExtractTLSTestValuesFromOBResourceConfiguration
Extracted TLS information from resource endpoint
|
||||
|
2020-07-15 13:12:20 |
|
fapi-rw-id2-ensure-authorization-request-without-state-success
Setup Done
|
|
Use client_credentials grant to obtain OpenBanking UK intent_id |
2020-07-15 13:12:20 |
SUCCESS
|
CreateTokenEndpointRequestForClientCredentialsGrant
|
||||
|
2020-07-15 13:12:20 |
SUCCESS
|
SetAccountScopeOnTokenEndpointRequest
Set scope parameter to accounts for OB testing
|
||||
|
2020-07-15 13:12:20 |
SUCCESS
|
AddClientIdToTokenEndpointRequest
|
||||||
|
2020-07-15 13:12:20 |
|
CallTokenEndpoint
HTTP request
|
||||||||||
|
2020-07-15 13:12:20 |
RESPONSE
|
CallTokenEndpoint
HTTP response
|
||||||||
|
2020-07-15 13:12:20 |
|
CallTokenEndpoint
Token endpoint response
|
||
|
2020-07-15 13:12:20 |
SUCCESS
|
CallTokenEndpoint
Parsed token endpoint response
|
||||||||
|
2020-07-15 13:12:20 |
SUCCESS
|
CheckIfTokenEndpointResponseError
No error from token endpoint
|
|
2020-07-15 13:12:20 |
SUCCESS
|
CheckForAccessTokenValue
Found an access token
|
||
|
2020-07-15 13:12:20 |
SUCCESS
|
ExtractAccessTokenFromTokenResponse
Extracted the access token
|
||||
|
2020-07-15 13:12:20 | SUCCESS |
ExtractExpiresInFromTokenEndpointResponse
Extracted 'expires_in'
|
||
|
2020-07-15 13:12:20 | SUCCESS |
ValidateExpiresIn
expires_in passed all validation checks
|
||
|
2020-07-15 13:12:20 |
|
CreateEmptyResourceEndpointRequestHeaders
Created empty headers
|
||
|
2020-07-15 13:12:20 |
SUCCESS
|
AddFAPIAuthDateToResourceEndpointRequest
Added x-fapi-auth-date to resource endpoint request headers
|
||
|
2020-07-15 13:12:20 |
|
AddFAPIFinancialIdToResourceEndpointRequest
Added x-fapi-financial-id to resource_endpoint_request_headers
|
|
2020-07-15 13:12:20 |
SUCCESS
|
CreateCreateAccountRequestRequest
|
||
|
2020-07-15 13:12:20 |
|
CallAccountRequestsEndpointWithBearerToken
Found '/v3.' in the resource url, using OB V3 API 'account-access-consents'
|
||
|
2020-07-15 13:12:20 |
|
CallAccountRequestsEndpointWithBearerToken
HTTP request
|
||||||||||
|
2020-07-15 13:12:21 |
RESPONSE
|
CallAccountRequestsEndpointWithBearerToken
HTTP response
|
||||||||
|
2020-07-15 13:12:21 |
|
CallAccountRequestsEndpointWithBearerToken
Account requests endpoint response
|
||
|
2020-07-15 13:12:21 |
SUCCESS
|
CallAccountRequestsEndpointWithBearerToken
Parsed account requests endpoint response
|
||||
|
2020-07-15 13:12:21 |
SUCCESS
|
CheckIfAccountRequestsEndpointResponseError
No error from account requests endpoint
|
|
2020-07-15 13:12:21 | SUCCESS |
CheckForFAPIInteractionIdInResourceResponse
Found x-fapi-interaction-id
|
||
|
2020-07-15 13:12:21 |
SUCCESS
|
ExtractAccountRequestIdFromAccountRequestsEndpointResponse
Extracted the account request ID
|
||
|
Make request to authorization endpoint |
2020-07-15 13:12:21 |
SUCCESS
|
CreateAuthorizationEndpointRequestFromClientInformation
Created authorization endpoint request
|
||||||
|
2020-07-15 13:12:21 |
SUCCESS
|
AddAccountRequestIdToAuthorizationEndpointRequest
Added openbanking_intent_id claim to authorization_endpoint_request
|
||
|
2020-07-15 13:12:21 |
SUCCESS
|
OpenBankingUkAddMultipleAcrClaimsToAuthorizationEndpointRequest
Added acr to request as an essential id_token claim
|
||
|
2020-07-15 13:12:21 |
|
CreateRandomStateValue
Created state value
|
||||
|
2020-07-15 13:12:21 |
|
AddStateToAuthorizationEndpointRequest
NOT adding state to request object
|
|
2020-07-15 13:12:21 |
|
CreateRandomNonceValue
Created nonce value
|
||||
|
2020-07-15 13:12:21 |
SUCCESS
|
AddNonceToAuthorizationEndpointRequest
Added nonce parameter to request
|
||||||||||
|
2020-07-15 13:12:21 |
SUCCESS
|
SetAuthorizationEndpointRequestResponseTypeToCodeIdtoken
Added response_type parameter to request
|
||||||||||||
|
2020-07-15 13:12:21 |
SUCCESS
|
ConvertAuthorizationEndpointRequestToRequestObject
Created request object claims
|
||
|
2020-07-15 13:12:21 |
SUCCESS
|
AddExpToRequestObject
Added exp to request object claims
|
||
|
2020-07-15 13:12:21 |
SUCCESS
|
AddAudToRequestObject
Added aud to request object claims
|
||
|
2020-07-15 13:12:21 |
SUCCESS
|
AddIssToRequestObject
Added iss to request object claims
|
||
|
2020-07-15 13:12:21 |
SUCCESS
|
SignRequestObject
Signed the request object
|
||||||||
|
2020-07-15 13:12:21 |
SUCCESS
|
BuildRequestObjectByValueRedirectToAuthorizationEndpoint
Sending to authorization endpoint
|
||
|
2020-07-15 13:12:21 |
REDIRECT
|
fapi-rw-id2-ensure-authorization-request-without-state-success
Redirecting to authorization endpoint
|
||
|
2020-07-15 13:13:21 |
INCOMING
|
fapi-rw-id2-ensure-authorization-request-without-state-success
Incoming HTTP request to test instance UuUFowvBe9
|
||||||||||||||
|
2020-07-15 13:13:21 |
SUCCESS
|
CreateRandomImplicitSubmitUrl
Created random implicit submission URL
|
||
|
2020-07-15 13:13:21 |
OUTGOING
|
fapi-rw-id2-ensure-authorization-request-without-state-success
Response to HTTP request to test instance UuUFowvBe9
|
||||
|
2020-07-15 13:13:22 |
INCOMING
|
fapi-rw-id2-ensure-authorization-request-without-state-success
Incoming HTTP request to test instance UuUFowvBe9
|
||||||||||||||
|
2020-07-15 13:13:22 |
OUTGOING
|
fapi-rw-id2-ensure-authorization-request-without-state-success
Response to HTTP request to test instance UuUFowvBe9
|
||||
|
2020-07-15 13:13:22 |
|
ExtractImplicitHashToCallbackResponse
Extracted response from URL fragment
|
||
|
2020-07-15 13:13:22 |
SUCCESS
|
ExtractImplicitHashToCallbackResponse
Extracted the hash values
|
||||
|
2020-07-15 13:13:22 |
REDIRECT-IN
|
fapi-rw-id2-ensure-authorization-request-without-state-success
Authorization endpoint response captured
|
||||||||||
|
Verify authorization endpoint response |
2020-07-15 13:13:22 | SUCCESS |
RejectAuthCodeInUrlQuery
Authorization code is not present in URL query returned from authorization endpoint
|
|
2020-07-15 13:13:22 | SUCCESS |
RejectErrorInUrlQuery
'error' is not present in URL query returned from authorization endpoint
|
|
2020-07-15 13:13:22 |
SUCCESS
|
CheckMatchingCallbackParameters
Callback parameters successfully verified
|
|
2020-07-15 13:13:22 |
SUCCESS
|
CheckIfAuthorizationEndpointError
No error from authorization endpoint
|
|
2020-07-15 13:13:22 |
SUCCESS
|
VerifyNoStateInAuthorizationResponse
Authorization endpoint response is correctly missing 'state'
|
|
2020-07-15 13:13:22 |
SUCCESS
|
ExtractAuthorizationCodeFromAuthorizationResponse
Found authorization code
|
||
|
2020-07-15 13:13:22 | SUCCESS |
EnsureMinimumAuthorizationCodeLength
Authorization code is of sufficient length
|
||||
|
2020-07-15 13:13:22 | SUCCESS |
EnsureMinimumAuthorizationCodeEntropy
Calculated shannon entropy seems sufficient
|
||||
|
2020-07-15 13:13:22 | SUCCESS |
ExtractIdTokenFromAuthorizationResponse
Found and parsed the id_token from authorization_endpoint_response
|
||||||
|
2020-07-15 13:13:22 | SUCCESS |
ValidateIdToken
ID token iss, aud, exp, iat, auth_time, acr & nbf claims passed validation checks
|
|
2020-07-15 13:13:22 | SUCCESS |
ValidateIdTokenNonce
Nonce values match
|
||
|
2020-07-15 13:13:22 | SUCCESS |
ValidateIdTokenACRClaimAgainstRequest
acr value in id_token is (one of) the requested values
|
||||
|
2020-07-15 13:13:22 | SUCCESS |
OBValidateIdTokenIntentId
openbanking_intent_id passed all validation checks
|
|
2020-07-15 13:13:22 | SUCCESS |
ValidateIdTokenSignature
id_token signature validated
|
||
|
2020-07-15 13:13:22 | SUCCESS |
ValidateIdTokenSignatureUsingKid
id_token signature validated
|
||
|
2020-07-15 13:13:22 | SUCCESS |
CheckForSubjectInIdToken
Found 'sub' in id_token
|
||
|
2020-07-15 13:13:22 | SUCCESS |
FAPIValidateIdTokenSigningAlg
id_token was signed with a permitted algorithm
|
||
|
2020-07-15 13:13:22 | INFO |
FAPIValidateIdTokenEncryptionAlg
Skipped evaluation due to missing required element: id_token jwe_header
|
||||||
|
2020-07-15 13:13:22 | SUCCESS |
VerifyNoSHash
ID Token is correctly missing s_hash
|
|
2020-07-15 13:13:22 | SUCCESS |
ExtractCHash
Extracted c_hash from ID Token
|
||||
|
2020-07-15 13:13:22 | SUCCESS |
ValidateCHash
State hash validated successfully
|
||
|
2020-07-15 13:13:22 |
SUCCESS
|
CreateTokenEndpointRequestForAuthorizationCodeGrant
|
||||||
|
2020-07-15 13:13:22 |
SUCCESS
|
AddClientIdToTokenEndpointRequest
|
||||||||
|
2020-07-15 13:13:22 |
|
CallTokenEndpoint
HTTP request
|
||||||||||
|
2020-07-15 13:13:23 |
RESPONSE
|
CallTokenEndpoint
HTTP response
|
||||||||
|
2020-07-15 13:13:23 |
|
CallTokenEndpoint
Token endpoint response
|
||
|
2020-07-15 13:13:23 |
SUCCESS
|
CallTokenEndpoint
Parsed token endpoint response
|
||||||||||||
|
2020-07-15 13:13:23 |
SUCCESS
|
CheckIfTokenEndpointResponseError
No error from token endpoint
|
|
2020-07-15 13:13:23 | SUCCESS |
CheckForAccessTokenValue
Found an access token
|
||
|
2020-07-15 13:13:23 |
SUCCESS
|
ExtractAccessTokenFromTokenResponse
Extracted the access token
|
||||
|
2020-07-15 13:13:23 | SUCCESS |
ExtractExpiresInFromTokenEndpointResponse
Extracted 'expires_in'
|
||
|
2020-07-15 13:13:23 | SUCCESS |
ValidateExpiresIn
expires_in passed all validation checks
|
||
|
2020-07-15 13:13:23 |
SUCCESS
|
CheckForRefreshTokenValue
Found a refresh token
|
||
|
2020-07-15 13:13:23 | SUCCESS |
EnsureMinimumRefreshTokenLength
Refresh token is of sufficient length
|
||||
|
2020-07-15 13:13:23 | SUCCESS |
EnsureMinimumRefreshTokenEntropy
Calculated shannon entropy seems sufficient
|
||||
|
2020-07-15 13:13:23 | SUCCESS |
EnsureMinimumAccessTokenLength
Access token is of sufficient length
|
||||
|
2020-07-15 13:13:23 | SUCCESS |
EnsureMinimumAccessTokenEntropy
Calculated shannon entropy seems sufficient
|
||||
|
2020-07-15 13:13:23 | SUCCESS |
ExtractIdTokenFromTokenResponse
Found and parsed the id_token from token_endpoint_response
|
||||||
|
2020-07-15 13:13:23 | SUCCESS |
ValidateIdToken
ID token iss, aud, exp, iat, auth_time, acr & nbf claims passed validation checks
|
|
2020-07-15 13:13:23 | SUCCESS |
ValidateIdTokenNonce
Nonce values match
|
||
|
2020-07-15 13:13:23 | SUCCESS |
ValidateIdTokenACRClaimAgainstRequest
acr value in id_token is (one of) the requested values
|
||||
|
2020-07-15 13:13:23 | SUCCESS |
OBValidateIdTokenIntentId
openbanking_intent_id passed all validation checks
|
|
2020-07-15 13:13:23 | SUCCESS |
ValidateIdTokenSignature
id_token signature validated
|
||
|
2020-07-15 13:13:23 | SUCCESS |
ValidateIdTokenSignatureUsingKid
id_token signature validated
|
||
|
2020-07-15 13:13:23 | SUCCESS |
CheckForSubjectInIdToken
Found 'sub' in id_token
|
||
|
2020-07-15 13:13:23 | SUCCESS |
FAPIValidateIdTokenSigningAlg
id_token was signed with a permitted algorithm
|
||
|
2020-07-15 13:13:23 | INFO |
FAPIValidateIdTokenEncryptionAlg
Skipped evaluation due to missing required element: id_token jwe_header
|
||||||
|
2020-07-15 13:13:23 | INFO |
ExtractCHash
Couldn't find c_hash in ID token
|
|
2020-07-15 13:13:23 | INFO |
ExtractSHash
Couldn't find s_hash in ID token
|
|
2020-07-15 13:13:23 | SUCCESS |
ExtractAtHash
Extracted at_hash from ID Token
|
||||
|
2020-07-15 13:13:23 | INFO |
ValidateCHash
Skipped evaluation due to missing required object: c_hash
|
||||
|
2020-07-15 13:13:23 | INFO |
ValidateSHash
Skipped evaluation due to missing required object: s_hash
|
||||
|
2020-07-15 13:13:23 | SUCCESS |
ValidateAtHash
State hash validated successfully
|
||
|
Verify at_hash in the authorization endpoint id_token |
2020-07-15 13:13:23 | INFO |
ExtractAtHash
Couldn't find at_hash in ID token
|
|
2020-07-15 13:13:23 | INFO |
ValidateAtHash
Skipped evaluation due to missing required object: at_hash
|
||||
|
Resource server endpoint tests |
2020-07-15 13:13:23 |
|
CreateEmptyResourceEndpointRequestHeaders
Created empty headers
|
||
|
2020-07-15 13:13:23 |
SUCCESS
|
AddFAPIAuthDateToResourceEndpointRequest
Added x-fapi-auth-date to resource endpoint request headers
|
||
|
2020-07-15 13:13:23 |
|
CreateRandomFAPIInteractionId
Created interaction ID
|
||
|
2020-07-15 13:13:23 |
|
AddFAPIInteractionIdToResourceEndpointRequest
Condition ran but did not log anything
|
|
2020-07-15 13:13:23 |
|
AddFAPIFinancialIdToResourceEndpointRequest
Added x-fapi-financial-id to resource_endpoint_request_headers
|
|
2020-07-15 13:13:23 |
|
CallProtectedResourceWithBearerTokenAndCustomHeaders
HTTP request
|
||||||||||
|
2020-07-15 13:13:24 |
RESPONSE
|
CallProtectedResourceWithBearerTokenAndCustomHeaders
HTTP response
|
||||||||
|
2020-07-15 13:13:24 | SUCCESS |
CallProtectedResourceWithBearerTokenAndCustomHeaders
Got a response from the resource endpoint
|
||||||
|
2020-07-15 13:13:24 | SUCCESS |
CheckForDateHeaderInResourceResponse
Date header present and validated
|
||||
|
2020-07-15 13:13:24 | SUCCESS |
CheckForFAPIInteractionIdInResourceResponse
Found x-fapi-interaction-id
|
||
|
2020-07-15 13:13:24 | SUCCESS |
EnsureMatchingFAPIInteractionId
Interaction ID matched
|
||
|
2020-07-15 13:13:24 | SUCCESS |
EnsureResourceResponseReturnedJsonContentType
Response content type is JSON
|
||
|
2020-07-15 13:13:24 |
FINISHED
|
fapi-rw-id2-ensure-authorization-request-without-state-success
Test has run to completion
|
||
|
2020-07-15 13:13:38 |
|
TEST-RUNNER
Alias has now been claimed by another test
|
||||
|