Test Name | fapi-rw-id2-user-rejects-authentication |
---|---|
Variant | mtls, openbanking_uk, plain_response |
Test ID | WSg1zLPhCT |
Created | 2020-07-15T13:09:55.161091Z |
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 108 FAILURE 0 WARNING 0 REVIEW 0 INFO 2 |
2020-07-15 13:09:55 |
INFO
|
TEST-RUNNER
Test instance WSg1zLPhCT created
|
||||||||||||||
|
2020-07-15 13:09:55 |
SUCCESS
|
CreateRedirectUri
Created redirect URI
|
||
|
2020-07-15 13:09:55 |
|
GetDynamicServerConfiguration
HTTP request
|
||||||||
|
2020-07-15 13:09:55 |
RESPONSE
|
GetDynamicServerConfiguration
HTTP response
|
||||||||
|
2020-07-15 13:09:55 |
|
GetDynamicServerConfiguration
Downloaded server configuration
|
||
|
2020-07-15 13:09:55 |
SUCCESS
|
GetDynamicServerConfiguration
Successfully parsed server configuration
|
||||||||||||||||||||||||||||||||||||||||
|
2020-07-15 13:09:55 | INFO |
AddMTLSEndpointAliasesToEnvironment
The mtls_endpoint_aliases is not present in the server configuration
|
||
|
2020-07-15 13:09:55 |
SUCCESS
|
CheckServerConfiguration
Found required server configuration keys
|
||
|
2020-07-15 13:09:55 |
SUCCESS
|
ExtractTLSTestValuesFromServerConfiguration
Extracted TLS information from authorization server configuration
|
||||||||
|
2020-07-15 13:09:55 |
|
FetchServerKeys
Fetching server key
|
||
|
2020-07-15 13:09:55 |
|
FetchServerKeys
HTTP request
|
||||||||
|
2020-07-15 13:09:55 |
RESPONSE
|
FetchServerKeys
HTTP response
|
||||||||
|
2020-07-15 13:09:55 |
|
FetchServerKeys
Found JWK set string
|
||
|
2020-07-15 13:09:55 |
SUCCESS
|
FetchServerKeys
Found server JWK set
|
||
|
2020-07-15 13:09:55 |
SUCCESS
|
CheckServerKeysIsValid
Server JWKs is valid
|
||
|
2020-07-15 13:09:55 | SUCCESS |
ValidateServerJWKs
Valid server JWKs
|
|
2020-07-15 13:09:55 | SUCCESS |
CheckForKeyIdInServerJWKs
All keys contain kids
|
|
2020-07-15 13:09:55 |
SUCCESS
|
EnsureServerJwksDoesNotContainPrivateOrSymmetricKeys
Jwks does not contain any private or symmetric keys
|
|
2020-07-15 13:09:55 | SUCCESS |
FAPIEnsureMinimumServerKeyLength
Validated minimum key lengths for server_jwks
|
||
|
2020-07-15 13:09:55 |
SUCCESS
|
GetStaticClientConfiguration
Found a static client object
|
||||||
|
2020-07-15 13:09:55 |
|
ValidateMTLSCertificatesHeader
No certificate authority found for MTLS
|
|
2020-07-15 13:09:55 |
SUCCESS
|
ValidateMTLSCertificatesHeader
MTLS certificates header is valid
|
|
2020-07-15 13:09:55 |
|
ExtractMTLSCertificatesFromConfiguration
No certificate authority found for MTLS
|
|
2020-07-15 13:09:55 |
SUCCESS
|
ExtractMTLSCertificatesFromConfiguration
Mutual TLS authentication credentials loaded
|
||||
|
2020-07-15 13:09:55 | SUCCESS |
ValidateClientJWKsPrivatePart
Valid client JWKs
|
|
2020-07-15 13:09:55 |
SUCCESS
|
ExtractJWKsFromStaticClientConfiguration
Extracted client JWK
|
||||
|
2020-07-15 13:09:55 | SUCCESS |
CheckForKeyIdInClientJWKs
All keys contain kids
|
|
2020-07-15 13:09:55 | SUCCESS |
CheckDistinctKeyIdValueInClientJWKs
Distinct 'kid' value in all keys of client_jwks
|
||
|
2020-07-15 13:09:55 | SUCCESS |
FAPICheckKeyAlgInClientJWKs
Found a key with alg PS256 or ES256
|
|
2020-07-15 13:09:55 | SUCCESS |
FAPIEnsureMinimumClientKeyLength
Validated minimum key lengths for client_jwks
|
||
|
2020-07-15 13:09:55 |
SUCCESS
|
ValidateMTLSCertificatesAsX509
Mutual TLS authentication cert validated as X.509
|
|
Verify configuration of second client |
2020-07-15 13:09:55 |
SUCCESS
|
GetStaticClient2Configuration
Found a static second client object
|
||||||
|
2020-07-15 13:09:55 |
|
ValidateMTLSCertificates2Header
No certificate authority found for MTLS
|
|
2020-07-15 13:09:55 |
SUCCESS
|
ValidateMTLSCertificates2Header
MTLS certificates header is valid
|
|
2020-07-15 13:09:55 |
|
ExtractMTLSCertificates2FromConfiguration
No certificate authority found for MTLS
|
|
2020-07-15 13:09:55 |
SUCCESS
|
ExtractMTLSCertificates2FromConfiguration
Mutual TLS authentication credentials loaded
|
||||
|
2020-07-15 13:09:55 | SUCCESS |
ValidateClientJWKsPrivatePart
Valid client JWKs
|
|
2020-07-15 13:09:55 |
SUCCESS
|
ExtractJWKsFromStaticClientConfiguration
Extracted client JWK
|
||||
|
2020-07-15 13:09:55 | SUCCESS |
CheckForKeyIdInClientJWKs
All keys contain kids
|
|
2020-07-15 13:09:55 | SUCCESS |
CheckDistinctKeyIdValueInClientJWKs
Distinct 'kid' value in all keys of client_jwks
|
||
|
2020-07-15 13:09:55 | SUCCESS |
FAPICheckKeyAlgInClientJWKs
Found a key with alg PS256 or ES256
|
|
2020-07-15 13:09:55 | SUCCESS |
FAPIEnsureMinimumClientKeyLength
Validated minimum key lengths for client_jwks
|
||
|
2020-07-15 13:09:55 |
SUCCESS
|
ValidateMTLSCertificatesAsX509
Mutual TLS authentication cert validated as X.509
|
|
2020-07-15 13:09:55 |
SUCCESS
|
GetResourceEndpointConfiguration
Found a resource endpoint object
|
||||
|
2020-07-15 13:09:55 |
SUCCESS
|
SetProtectedResourceUrlToAccountsEndpoint
Set protected resource URL
|
||
|
2020-07-15 13:09:55 |
SUCCESS
|
ExtractTLSTestValuesFromResourceConfiguration
Extracted TLS information from resource endpoint
|
||
|
2020-07-15 13:09:55 |
SUCCESS
|
ExtractTLSTestValuesFromOBResourceConfiguration
Extracted TLS information from resource endpoint
|
||||
|
2020-07-15 13:09:55 |
|
fapi-rw-id2-user-rejects-authentication
Setup Done
|
|
Use client_credentials grant to obtain OpenBanking UK intent_id |
2020-07-15 13:09:55 |
SUCCESS
|
CreateTokenEndpointRequestForClientCredentialsGrant
|
||||
|
2020-07-15 13:09:55 |
SUCCESS
|
SetAccountScopeOnTokenEndpointRequest
Set scope parameter to accounts for OB testing
|
||||
|
2020-07-15 13:09:55 |
SUCCESS
|
AddClientIdToTokenEndpointRequest
|
||||||
|
2020-07-15 13:09:56 |
|
CallTokenEndpoint
HTTP request
|
||||||||||
|
2020-07-15 13:09:56 |
RESPONSE
|
CallTokenEndpoint
HTTP response
|
||||||||
|
2020-07-15 13:09:56 |
|
CallTokenEndpoint
Token endpoint response
|
||
|
2020-07-15 13:09:56 |
SUCCESS
|
CallTokenEndpoint
Parsed token endpoint response
|
||||||||
|
2020-07-15 13:09:56 |
SUCCESS
|
CheckIfTokenEndpointResponseError
No error from token endpoint
|
|
2020-07-15 13:09:56 |
SUCCESS
|
CheckForAccessTokenValue
Found an access token
|
||
|
2020-07-15 13:09:56 |
SUCCESS
|
ExtractAccessTokenFromTokenResponse
Extracted the access token
|
||||
|
2020-07-15 13:09:56 | SUCCESS |
ExtractExpiresInFromTokenEndpointResponse
Extracted 'expires_in'
|
||
|
2020-07-15 13:09:56 | SUCCESS |
ValidateExpiresIn
expires_in passed all validation checks
|
||
|
2020-07-15 13:09:56 |
|
CreateEmptyResourceEndpointRequestHeaders
Created empty headers
|
||
|
2020-07-15 13:09:56 |
SUCCESS
|
AddFAPIAuthDateToResourceEndpointRequest
Added x-fapi-auth-date to resource endpoint request headers
|
||
|
2020-07-15 13:09:56 |
|
AddFAPIFinancialIdToResourceEndpointRequest
Added x-fapi-financial-id to resource_endpoint_request_headers
|
|
2020-07-15 13:09:56 |
SUCCESS
|
CreateCreateAccountRequestRequest
|
||
|
2020-07-15 13:09:56 |
|
CallAccountRequestsEndpointWithBearerToken
Found '/v3.' in the resource url, using OB V3 API 'account-access-consents'
|
||
|
2020-07-15 13:09:56 |
|
CallAccountRequestsEndpointWithBearerToken
HTTP request
|
||||||||||
|
2020-07-15 13:09:57 |
RESPONSE
|
CallAccountRequestsEndpointWithBearerToken
HTTP response
|
||||||||
|
2020-07-15 13:09:57 |
|
CallAccountRequestsEndpointWithBearerToken
Account requests endpoint response
|
||
|
2020-07-15 13:09:57 |
SUCCESS
|
CallAccountRequestsEndpointWithBearerToken
Parsed account requests endpoint response
|
||||
|
2020-07-15 13:09:57 |
SUCCESS
|
CheckIfAccountRequestsEndpointResponseError
No error from account requests endpoint
|
|
2020-07-15 13:09:57 | SUCCESS |
CheckForFAPIInteractionIdInResourceResponse
Found x-fapi-interaction-id
|
||
|
2020-07-15 13:09:57 |
SUCCESS
|
ExtractAccountRequestIdFromAccountRequestsEndpointResponse
Extracted the account request ID
|
||
|
Make request to authorization endpoint |
2020-07-15 13:09:57 |
SUCCESS
|
CreateAuthorizationEndpointRequestFromClientInformation
Created authorization endpoint request
|
||||||
|
2020-07-15 13:09:57 |
SUCCESS
|
AddAccountRequestIdToAuthorizationEndpointRequest
Added openbanking_intent_id claim to authorization_endpoint_request
|
||
|
2020-07-15 13:09:57 |
SUCCESS
|
OpenBankingUkAddMultipleAcrClaimsToAuthorizationEndpointRequest
Added acr to request as an essential id_token claim
|
||
|
2020-07-15 13:09:57 |
|
CreateRandomStateValue
Created state value
|
||||
|
2020-07-15 13:09:57 |
SUCCESS
|
AddStateToAuthorizationEndpointRequest
Added state parameter to request
|
||||||||||
|
2020-07-15 13:09:57 |
|
CreateRandomNonceValue
Created nonce value
|
||||
|
2020-07-15 13:09:57 |
SUCCESS
|
AddNonceToAuthorizationEndpointRequest
Added nonce parameter to request
|
||||||||||||
|
2020-07-15 13:09:57 |
SUCCESS
|
SetAuthorizationEndpointRequestResponseTypeToCodeIdtoken
Added response_type parameter to request
|
||||||||||||||
|
2020-07-15 13:09:57 |
SUCCESS
|
ConvertAuthorizationEndpointRequestToRequestObject
Created request object claims
|
||
|
2020-07-15 13:09:57 |
SUCCESS
|
AddExpToRequestObject
Added exp to request object claims
|
||
|
2020-07-15 13:09:57 |
SUCCESS
|
AddAudToRequestObject
Added aud to request object claims
|
||
|
2020-07-15 13:09:57 |
SUCCESS
|
AddIssToRequestObject
Added iss to request object claims
|
||
|
2020-07-15 13:09:57 |
SUCCESS
|
SignRequestObject
Signed the request object
|
||||||||
|
2020-07-15 13:09:57 |
SUCCESS
|
BuildRequestObjectByValueRedirectToAuthorizationEndpoint
Sending to authorization endpoint
|
||
|
2020-07-15 13:09:57 |
REDIRECT
|
fapi-rw-id2-user-rejects-authentication
Redirecting to authorization endpoint
|
||
|
2020-07-15 13:10:17 |
INCOMING
|
fapi-rw-id2-user-rejects-authentication
Incoming HTTP request to test instance WSg1zLPhCT
|
||||||||||||||
|
2020-07-15 13:10:17 |
SUCCESS
|
CreateRandomImplicitSubmitUrl
Created random implicit submission URL
|
||
|
2020-07-15 13:10:17 |
OUTGOING
|
fapi-rw-id2-user-rejects-authentication
Response to HTTP request to test instance WSg1zLPhCT
|
||||
|
2020-07-15 13:10:17 |
INCOMING
|
fapi-rw-id2-user-rejects-authentication
Incoming HTTP request to test instance WSg1zLPhCT
|
||||||||||||||
|
2020-07-15 13:10:17 |
OUTGOING
|
fapi-rw-id2-user-rejects-authentication
Response to HTTP request to test instance WSg1zLPhCT
|
||||
|
2020-07-15 13:10:17 |
|
ExtractImplicitHashToCallbackResponse
Extracted response from URL fragment
|
||
|
2020-07-15 13:10:17 |
SUCCESS
|
ExtractImplicitHashToCallbackResponse
Extracted the hash values
|
||||
|
2020-07-15 13:10:17 |
REDIRECT-IN
|
fapi-rw-id2-user-rejects-authentication
Authorization endpoint response captured
|
||||||||||
|
Verify authorization endpoint response |
2020-07-15 13:10:17 | SUCCESS |
RejectAuthCodeInUrlQuery
Authorization code is not present in URL query returned from authorization endpoint
|
|
2020-07-15 13:10:17 | SUCCESS |
RejectErrorInUrlQuery
'error' is not present in URL query returned from authorization endpoint
|
|
2020-07-15 13:10:17 |
SUCCESS
|
CheckStateInAuthorizationResponse
State in response correctly returned
|
||
|
2020-07-15 13:10:17 | SUCCESS |
EnsureErrorFromAuthorizationEndpointResponse
Authorization endpoint returned an error
|
||||
|
2020-07-15 13:10:17 | SUCCESS |
CheckForUnexpectedParametersInErrorResponseFromAuthorizationEndpoint
error response includes only expected parameters
|
||||
|
2020-07-15 13:10:17 | SUCCESS |
ExpectAccessDeniedErrorFromAuthorizationEndpointDueToUserRejectingRequest
error parameter is correctly 'access_denied'
|
|
Second client: Setup |
2020-07-15 13:10:17 | SUCCESS |
AddRedirectUriQuerySuffix
Created redirect URI query suffix to test that query sections in the registered redirect url are handled correctly. The redirect url, including this suffix, must be registered for the client as per http://openid.net/certification/fapi_op_testing/
|
||
|
2020-07-15 13:10:17 |
|
CreateRedirectUri
Appending suffix to redirect URI
|
||
|
2020-07-15 13:10:17 | SUCCESS |
CreateRedirectUri
Created redirect URI
|
||
|
Second client: Use client_credentials grant to obtain OpenBanking UK intent_id |
2020-07-15 13:10:17 |
SUCCESS
|
CreateTokenEndpointRequestForClientCredentialsGrant
|
||||
|
2020-07-15 13:10:17 |
SUCCESS
|
SetAccountScopeOnTokenEndpointRequest
Set scope parameter to accounts for OB testing
|
||||
|
2020-07-15 13:10:17 |
SUCCESS
|
AddClientIdToTokenEndpointRequest
|
||||||
|
2020-07-15 13:10:17 |
|
CallTokenEndpoint
HTTP request
|
||||||||||
|
2020-07-15 13:10:18 |
RESPONSE
|
CallTokenEndpoint
HTTP response
|
||||||||
|
2020-07-15 13:10:18 |
|
CallTokenEndpoint
Token endpoint response
|
||
|
2020-07-15 13:10:18 |
SUCCESS
|
CallTokenEndpoint
Parsed token endpoint response
|
||||||||
|
2020-07-15 13:10:18 |
SUCCESS
|
CheckIfTokenEndpointResponseError
No error from token endpoint
|
|
2020-07-15 13:10:18 |
SUCCESS
|
CheckForAccessTokenValue
Found an access token
|
||
|
2020-07-15 13:10:18 |
SUCCESS
|
ExtractAccessTokenFromTokenResponse
Extracted the access token
|
||||
|
2020-07-15 13:10:18 | SUCCESS |
ExtractExpiresInFromTokenEndpointResponse
Extracted 'expires_in'
|
||
|
2020-07-15 13:10:18 | SUCCESS |
ValidateExpiresIn
expires_in passed all validation checks
|
||
|
2020-07-15 13:10:18 |
|
CreateEmptyResourceEndpointRequestHeaders
Created empty headers
|
||
|
2020-07-15 13:10:18 |
SUCCESS
|
AddFAPIAuthDateToResourceEndpointRequest
Added x-fapi-auth-date to resource endpoint request headers
|
||
|
2020-07-15 13:10:18 |
|
AddFAPIFinancialIdToResourceEndpointRequest
Added x-fapi-financial-id to resource_endpoint_request_headers
|
|
2020-07-15 13:10:18 |
SUCCESS
|
CreateCreateAccountRequestRequestWithExpiration
|
||
|
2020-07-15 13:10:18 |
|
CallAccountRequestsEndpointWithBearerToken
Found '/v3.' in the resource url, using OB V3 API 'account-access-consents'
|
||
|
2020-07-15 13:10:18 |
|
CallAccountRequestsEndpointWithBearerToken
HTTP request
|
||||||||||
|
2020-07-15 13:10:19 |
RESPONSE
|
CallAccountRequestsEndpointWithBearerToken
HTTP response
|
||||||||
|
2020-07-15 13:10:19 |
|
CallAccountRequestsEndpointWithBearerToken
Account requests endpoint response
|
||
|
2020-07-15 13:10:19 |
SUCCESS
|
CallAccountRequestsEndpointWithBearerToken
Parsed account requests endpoint response
|
||||
|
2020-07-15 13:10:19 |
SUCCESS
|
CheckIfAccountRequestsEndpointResponseError
No error from account requests endpoint
|
|
2020-07-15 13:10:19 | SUCCESS |
CheckForFAPIInteractionIdInResourceResponse
Found x-fapi-interaction-id
|
||
|
2020-07-15 13:10:19 |
SUCCESS
|
ExtractAccountRequestIdFromAccountRequestsEndpointResponse
Extracted the account request ID
|
||
|
Second client: Make request to authorization endpoint |
2020-07-15 13:10:19 |
SUCCESS
|
CreateAuthorizationEndpointRequestFromClientInformation
Created authorization endpoint request
|
||||||
|
2020-07-15 13:10:19 |
SUCCESS
|
AddAccountRequestIdToAuthorizationEndpointRequest
Added openbanking_intent_id claim to authorization_endpoint_request
|
||
|
2020-07-15 13:10:19 |
SUCCESS
|
OpenBankingUkAddMultipleAcrClaimsToAuthorizationEndpointRequest
Added acr to request as an essential id_token claim
|
||
|
2020-07-15 13:10:19 |
|
CreateRandomStateValue
Created state value
|
||||
|
2020-07-15 13:10:19 |
SUCCESS
|
AddStateToAuthorizationEndpointRequest
Added state parameter to request
|
||||||||||
|
2020-07-15 13:10:19 |
|
CreateRandomNonceValue
Created nonce value
|
||||
|
2020-07-15 13:10:19 |
SUCCESS
|
AddNonceToAuthorizationEndpointRequest
Added nonce parameter to request
|
||||||||||||
|
2020-07-15 13:10:19 |
SUCCESS
|
SetAuthorizationEndpointRequestResponseTypeToCodeIdtoken
Added response_type parameter to request
|
||||||||||||||
|
2020-07-15 13:10:19 |
SUCCESS
|
ConvertAuthorizationEndpointRequestToRequestObject
Created request object claims
|
||
|
2020-07-15 13:10:19 |
SUCCESS
|
AddIatToRequestObject
Added iat to request object claims
|
||
|
2020-07-15 13:10:19 |
SUCCESS
|
AddExpToRequestObject
Added exp to request object claims
|
||
|
2020-07-15 13:10:19 |
SUCCESS
|
AddAudToRequestObject
Added aud to request object claims
|
||
|
2020-07-15 13:10:19 |
SUCCESS
|
AddIssToRequestObject
Added iss to request object claims
|
||
|
2020-07-15 13:10:19 |
SUCCESS
|
SignRequestObject
Signed the request object
|
||||||||
|
2020-07-15 13:10:19 |
SUCCESS
|
BuildRequestObjectByValueRedirectToAuthorizationEndpoint
Sending to authorization endpoint
|
||
|
2020-07-15 13:10:19 |
REDIRECT
|
fapi-rw-id2-user-rejects-authentication
Redirecting to authorization endpoint
|
||
|
2020-07-15 13:10:35 |
INCOMING
|
fapi-rw-id2-user-rejects-authentication
Incoming HTTP request to test instance WSg1zLPhCT
|
||||||||||||||
|
2020-07-15 13:10:35 |
SUCCESS
|
CreateRandomImplicitSubmitUrl
Created random implicit submission URL
|
||
|
2020-07-15 13:10:35 |
OUTGOING
|
fapi-rw-id2-user-rejects-authentication
Response to HTTP request to test instance WSg1zLPhCT
|
||||
|
2020-07-15 13:10:36 |
INCOMING
|
fapi-rw-id2-user-rejects-authentication
Incoming HTTP request to test instance WSg1zLPhCT
|
||||||||||||||
|
2020-07-15 13:10:36 |
OUTGOING
|
fapi-rw-id2-user-rejects-authentication
Response to HTTP request to test instance WSg1zLPhCT
|
||||
|
2020-07-15 13:10:36 |
|
ExtractImplicitHashToCallbackResponse
Extracted response from URL fragment
|
||
|
2020-07-15 13:10:36 |
SUCCESS
|
ExtractImplicitHashToCallbackResponse
Extracted the hash values
|
||||
|
2020-07-15 13:10:36 |
REDIRECT-IN
|
fapi-rw-id2-user-rejects-authentication
Authorization endpoint response captured
|
||||||||||
|
Second client: Verify authorization endpoint response |
2020-07-15 13:10:36 | SUCCESS |
RejectAuthCodeInUrlQuery
Authorization code is not present in URL query returned from authorization endpoint
|
|
2020-07-15 13:10:36 | SUCCESS |
RejectErrorInUrlQuery
'error' is not present in URL query returned from authorization endpoint
|
|
2020-07-15 13:10:36 |
SUCCESS
|
CheckStateInAuthorizationResponse
State in response correctly returned
|
||
|
2020-07-15 13:10:36 | SUCCESS |
EnsureErrorFromAuthorizationEndpointResponse
Authorization endpoint returned an error
|
||||
|
2020-07-15 13:10:36 | SUCCESS |
CheckForUnexpectedParametersInErrorResponseFromAuthorizationEndpoint
error response includes only expected parameters
|
||||
|
2020-07-15 13:10:36 | SUCCESS |
ExpectAccessDeniedErrorFromAuthorizationEndpointDueToUserRejectingRequest
error parameter is correctly 'access_denied'
|
|
2020-07-15 13:10:36 |
SUCCESS
|
CheckMatchingCallbackParameters
Callback parameters successfully verified
|
||||
|
2020-07-15 13:10:36 |
FINISHED
|
fapi-rw-id2-user-rejects-authentication
Test has run to completion
|
||
|
2020-07-15 13:11:02 |
|
TEST-RUNNER
Alias has now been claimed by another test
|
||||
|