Test Name | fapi1-advanced-final-incorrect-pkce-code-verifier-rejected |
---|---|
Variant | client_auth_type=mtls, fapi_auth_request_method=pushed, fapi_profile=openbanking_brazil, fapi_response_mode=jarm |
Test ID | zO5acJj15QpkZBq https://www.certification.openid.net/log-detail.html?public=true&log=zO5acJj15QpkZBq |
Created | 2023-01-24T12:59:55.729066Z |
Description | Agibank test Teros |
Test Version | 5.0.12 |
Test Owner | 103861140183205531055 https://accounts.google.com |
Plan ID | dYkhXlm8mbNQ4 https://www.certification.openid.net/plan-detail.html?public=true&plan=dYkhXlm8mbNQ4 |
Exported From | https://www.certification.openid.net |
Exported By | 103861140183205531055 https://accounts.google.com |
Suite Version | 5.1.0 |
Exported | 2023-02-10 12:32:06 (UTC) |
Status: FINISHED Result: PASSED |
SUCCESS 117 FAILURE 0 WARNING 0 REVIEW 0 INFO 1 |
2023-01-24 12:59:55 |
INFO
|
TEST-RUNNER
Test instance zO5acJj15QpkZBq created
|
||||||||||||||
|
2023-01-24 12:59:55 |
SUCCESS
|
CreateRedirectUri
Created redirect URI
|
||
|
2023-01-24 12:59:55 |
|
GetDynamicServerConfiguration
HTTP request
|
||||||||
|
2023-01-24 12:59:55 |
RESPONSE
|
GetDynamicServerConfiguration
HTTP response
|
||||||||
|
2023-01-24 12:59:55 |
SUCCESS
|
GetDynamicServerConfiguration
Successfully parsed server configuration
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
2023-01-24 12:59:55 | SUCCESS |
AddMTLSEndpointAliasesToEnvironment
Added mtls_endpoint_aliases to environment
|
|
2023-01-24 12:59:55 |
SUCCESS
|
CheckServerConfiguration
Found required server configuration keys
|
||
|
2023-01-24 12:59:55 |
|
FetchServerKeys
Fetching server key
|
||
|
2023-01-24 12:59:55 |
|
FetchServerKeys
HTTP request
|
||||||||
|
2023-01-24 12:59:55 |
RESPONSE
|
FetchServerKeys
HTTP response
|
||||||||
|
2023-01-24 12:59:55 |
|
FetchServerKeys
Found JWK set string
|
||
|
2023-01-24 12:59:55 |
SUCCESS
|
FetchServerKeys
Found server JWK set
|
||
|
2023-01-24 12:59:55 |
SUCCESS
|
CheckServerKeysIsValid
Server JWKs is valid
|
||
|
2023-01-24 12:59:55 | SUCCESS |
ValidateServerJWKs
Valid server JWKs: keys are valid JSON, contain the required fields and are correctly encoded using unpadded base64url
|
|
2023-01-24 12:59:55 | SUCCESS |
CheckForKeyIdInServerJWKs
All keys contain kids
|
|
2023-01-24 12:59:55 | SUCCESS |
EnsureServerJwksDoesNotContainPrivateOrSymmetricKeys
Jwks does not contain any private or symmetric keys
|
|
2023-01-24 12:59:55 | SUCCESS |
FAPIEnsureMinimumServerKeyLength
Validated minimum key lengths for server_jwks
|
||
|
2023-01-24 12:59:55 |
SUCCESS
|
GetStaticClientConfiguration
Found a static client object
|
||||||||
|
2023-01-24 12:59:55 |
SUCCESS
|
ValidateMTLSCertificatesHeader
MTLS certificates header is valid
|
|
2023-01-24 12:59:55 |
SUCCESS
|
ExtractMTLSCertificatesFromConfiguration
Mutual TLS authentication credentials loaded
|
||||||
|
2023-01-24 12:59:55 | 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
|
|
2023-01-24 12:59:55 |
SUCCESS
|
ExtractJWKsFromStaticClientConfiguration
Extracted client JWK
|
||||
|
2023-01-24 12:59:55 | SUCCESS |
CheckForKeyIdInClientJWKs
All keys contain kids
|
|
2023-01-24 12:59:55 | SUCCESS |
CheckDistinctKeyIdValueInClientJWKs
Distinct 'kid' value in all keys of client_jwks
|
||
|
2023-01-24 12:59:55 | SUCCESS |
FAPIBrazilCheckKeyAlgInClientJWKs
Keys in client JWKS all have permitted 'alg'
|
||
|
2023-01-24 12:59:55 | SUCCESS |
FAPIEnsureMinimumClientKeyLength
Validated minimum key lengths for client_jwks
|
||
|
2023-01-24 12:59:55 |
SUCCESS
|
ValidateMTLSCertificatesAsX509
Mutual TLS authentication cert validated as X.509
|
|
Verify configuration of second client |
2023-01-24 12:59:55 |
SUCCESS
|
GetStaticClient2Configuration
Found a static second client object
|
||||||||
|
2023-01-24 12:59:55 |
SUCCESS
|
ValidateMTLSCertificates2Header
MTLS certificates header is valid
|
|
2023-01-24 12:59:55 |
SUCCESS
|
ExtractMTLSCertificates2FromConfiguration
Mutual TLS authentication credentials loaded
|
||||||
|
2023-01-24 12:59:55 | 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
|
|
2023-01-24 12:59:55 |
SUCCESS
|
ExtractJWKsFromStaticClientConfiguration
Extracted client JWK
|
||||
|
2023-01-24 12:59:55 | SUCCESS |
CheckForKeyIdInClientJWKs
All keys contain kids
|
|
2023-01-24 12:59:55 | SUCCESS |
CheckDistinctKeyIdValueInClientJWKs
Distinct 'kid' value in all keys of client_jwks
|
||
|
2023-01-24 12:59:55 | SUCCESS |
FAPIBrazilCheckKeyAlgInClientJWKs
Keys in client JWKS all have permitted 'alg'
|
||
|
2023-01-24 12:59:55 | SUCCESS |
FAPIEnsureMinimumClientKeyLength
Validated minimum key lengths for client_jwks
|
||
|
2023-01-24 12:59:55 |
SUCCESS
|
ValidateMTLSCertificatesAsX509
Mutual TLS authentication cert validated as X.509
|
|
2023-01-24 12:59:55 |
SUCCESS
|
ValidateClientPrivateKeysAreDifferent
Client signing JWKs have different thumbprints
|
||||
|
2023-01-24 12:59:55 |
SUCCESS
|
GetResourceEndpointConfiguration
Found a resource endpoint object
|
||||||||||||
|
2023-01-24 12:59:55 |
SUCCESS
|
SetProtectedResourceUrlToSingleResourceEndpoint
Set protected resource URL
|
||
|
2023-01-24 12:59:55 |
SUCCESS
|
ExtractTLSTestValuesFromResourceConfiguration
Extracted TLS information from resource endpoint
|
||
|
2023-01-24 12:59:55 |
SUCCESS
|
ExtractTLSTestValuesFromOBResourceConfiguration
Extracted TLS information from resource endpoint
|
||||
|
2023-01-24 12:59:55 |
|
fapi1-advanced-final-incorrect-pkce-code-verifier-rejected
Setup Done
|
|
2023-01-24 12:59:55 |
|
fapi1-advanced-final-incorrect-pkce-code-verifier-rejected
Payments scope present - protected resource assumed to be a payments endpoint
|
|
2023-01-24 12:59:55 |
SUCCESS
|
FAPIBrazilSetPaymentDateToToday
Successfully added current date ('2023-01-24') to payment consent payload
|
||||||||||
|
Use client_credentials grant to obtain Brazil consent |
2023-01-24 12:59:55 |
SUCCESS
|
CreateTokenEndpointRequestForClientCredentialsGrant
Created token endpoint request
|
||||
|
2023-01-24 12:59:55 |
SUCCESS
|
SetPaymentsScopeOnTokenEndpointRequest
Set scope parameter to 'payments'
|
||||
|
2023-01-24 12:59:55 |
|
AddClientIdToTokenEndpointRequest
|
||||||
|
2023-01-24 12:59:55 |
|
CallTokenEndpoint
HTTP request
|
||||||||||
|
2023-01-24 12:59:56 |
RESPONSE
|
CallTokenEndpoint
HTTP response
|
||||||||
|
2023-01-24 12:59:56 |
SUCCESS
|
CallTokenEndpoint
Parsed token endpoint response
|
||||||||
|
2023-01-24 12:59:56 |
SUCCESS
|
CheckIfTokenEndpointResponseError
No error from token endpoint
|
|
2023-01-24 12:59:56 |
SUCCESS
|
CheckForAccessTokenValue
Found an access token
|
||
|
2023-01-24 12:59:56 |
SUCCESS
|
ExtractAccessTokenFromTokenResponse
Extracted the access token
|
||||
|
2023-01-24 12:59:56 | SUCCESS |
ExtractExpiresInFromTokenEndpointResponse
Extracted 'expires_in'
|
||
|
2023-01-24 12:59:56 | SUCCESS |
ValidateExpiresIn
expires_in passed all validation checks
|
||
|
2023-01-24 12:59:56 |
|
CreateEmptyResourceEndpointRequestHeaders
Created empty headers
|
||
|
2023-01-24 12:59:56 |
SUCCESS
|
AddFAPIAuthDateToResourceEndpointRequest
Added x-fapi-auth-date to resource endpoint request headers
|
||
|
2023-01-24 12:59:56 |
SUCCESS
|
CreateIdempotencyKey
Created idempotency key
|
||
|
2023-01-24 12:59:56 |
SUCCESS
|
AddIdempotencyKeyHeader
Added x-idempotency-key to resource endpoint request headers
|
||
|
2023-01-24 12:59:56 |
SUCCESS
|
FAPIBrazilCreatePaymentConsentRequest
|
||
|
2023-01-24 12:59:56 |
SUCCESS
|
FAPIBrazilExtractClientMTLSCertificateSubject
Extracted subject from MTLS certificate
|
||||||||
|
2023-01-24 12:59:56 | SUCCESS |
AddAudAsPaymentConsentUriToRequestObject
Added aud to request object claims
|
||
|
2023-01-24 12:59:56 |
|
AddIssAsCertificateOuToRequestObject
Added iss value based on TLS certificate organizational unit to request object claims
|
||
|
2023-01-24 12:59:56 | SUCCESS |
AddJtiAsUuidToRequestObject
Added jti to request object claims
|
||
|
2023-01-24 12:59:56 | SUCCESS |
AddIatToRequestObject
Added iat to request object claims
|
||
|
2023-01-24 12:59:56 |
SUCCESS
|
ValidateOrganizationJWKsPrivatePart
Valid organization JWKs: keys are valid JSON, contain the required fields, the private/public exponents match and are correctly encoded using unpadded base64url
|
|
2023-01-24 12:59:56 |
SUCCESS
|
FAPIBrazilSignPaymentConsentRequest
Signed the request
|
||||||||
|
2023-01-24 12:59:56 |
|
FAPIBrazilCallPaymentConsentEndpointWithBearerToken
HTTP request
|
||||||||||
|
2023-01-24 12:59:56 |
RESPONSE
|
FAPIBrazilCallPaymentConsentEndpointWithBearerToken
HTTP response
|
||||||||
|
2023-01-24 12:59:56 |
SUCCESS
|
FAPIBrazilCallPaymentConsentEndpointWithBearerToken
Payment consent endpoint response
|
||||||||
|
2023-01-24 12:59:56 | SUCCESS |
EnsureContentTypeApplicationJwt
endpoint_response Content-Type: header is application/jwt
|
|
2023-01-24 12:59:56 |
SUCCESS
|
EnsureHttpStatusCodeIs201
resource endpoint returned the expected http status
|
||||
|
2023-01-24 12:59:56 | SUCCESS |
ExtractSignedJwtFromResourceResponse
Found and parsed the JWT from payment consent endpoint
|
||||||
|
2023-01-24 12:59:56 | SUCCESS |
FAPIBrazilValidateResourceResponseSigningAlg
Response was signed with PS256
|
||
|
2023-01-24 12:59:56 | SUCCESS |
FAPIBrazilValidateResourceResponseTyp
'typ' is the header of the JWT returned in the API response is 'JWT'
|
||
|
2023-01-24 12:59:56 |
SUCCESS
|
FAPIBrazilGetKeystoreJwksUri
Determined organisation jwks uri
|
||
|
2023-01-24 12:59:56 |
|
FetchServerKeys
Fetching server key
|
||
|
2023-01-24 12:59:56 |
|
FetchServerKeys
HTTP request
|
||||||||||
|
2023-01-24 12:59:57 |
RESPONSE
|
FetchServerKeys
HTTP response
|
||||||||
|
2023-01-24 12:59:57 |
|
FetchServerKeys
Found JWK set string
|
||
|
2023-01-24 12:59:57 |
SUCCESS
|
FetchServerKeys
Found server JWK set
|
||
|
2023-01-24 12:59:57 | SUCCESS |
ValidateResourceResponseSignature
endpoint_response_jwt signature validated
|
||
|
2023-01-24 12:59:57 | SUCCESS |
ValidateResourceResponseJwtClaims
Resource endpoint response JWS iss, aud, exp, iat, auth_time, acr & nbf claims passed validation checks
|
|
2023-01-24 12:59:57 |
SUCCESS
|
ExtractConsentIdFromConsentEndpointResponse
Extracted the consent id
|
||
|
2023-01-24 12:59:57 | SUCCESS |
CheckForFAPIInteractionIdInResourceResponse
Found x-fapi-interaction-id
|
||
|
2023-01-24 12:59:57 |
SUCCESS
|
FAPIBrazilAddConsentIdToClientScope
Added scope of 'openid payments consent:urn:agibankstaging:c422135e-0951-421d-b40f-a7cc34e6080b' to client's scope
|
||||||||
|
Make request to authorization endpoint |
2023-01-24 12:59:57 |
SUCCESS
|
CreateAuthorizationEndpointRequestFromClientInformation
Created authorization endpoint request
|
||||||
|
2023-01-24 12:59:57 |
|
CreateRandomStateValue
Created state value
|
||||
|
2023-01-24 12:59:57 |
SUCCESS
|
AddStateToAuthorizationEndpointRequest
Added state parameter to request
|
||||||||
|
2023-01-24 12:59:57 |
|
CreateRandomNonceValue
Created nonce value
|
||||
|
2023-01-24 12:59:57 |
SUCCESS
|
AddNonceToAuthorizationEndpointRequest
Added nonce parameter to request
|
||||||||||
|
2023-01-24 12:59:57 |
SUCCESS
|
SetAuthorizationEndpointRequestResponseTypeToCode
Added response_type parameter to request
|
||||||||||||
|
2023-01-24 12:59:57 |
SUCCESS
|
SetAuthorizationEndpointRequestResponseModeToJWT
Added response_mode parameter to request
|
||||||||||||||
|
2023-01-24 12:59:57 |
|
CreateRandomCodeVerifier
Created code_verifier value
|
||
|
2023-01-24 12:59:57 |
|
CreateS256CodeChallenge
Created code_challenge value
|
||
|
2023-01-24 12:59:57 | SUCCESS |
AddCodeChallengeToAuthorizationEndpointRequest
Added code_challenge and code_challenge_method parameters to request
|
||||||||||||||||||
|
2023-01-24 12:59:57 |
SUCCESS
|
ConvertAuthorizationEndpointRequestToRequestObject
Created request object claims
|
||
|
2023-01-24 12:59:57 | SUCCESS |
AddNbfToRequestObject
Added nbf to request object claims
|
||
|
2023-01-24 12:59:57 | SUCCESS |
AddExpToRequestObject
Added exp to request object claims
|
||
|
2023-01-24 12:59:57 | SUCCESS |
AddAudToRequestObject
Added aud to request object claims
|
||
|
2023-01-24 12:59:57 | SUCCESS |
AddIssToRequestObject
Added iss to request object claims
|
||
|
2023-01-24 12:59:57 | SUCCESS |
AddClientIdToRequestObject
Added client_id to request object claims
|
||
|
2023-01-24 12:59:57 |
SUCCESS
|
SignRequestObject
Signed the request object
|
||||||||
|
2023-01-24 12:59:57 |
SUCCESS
|
BuildRequestObjectPostToPAREndpoint
|
||
|
2023-01-24 12:59:57 |
SUCCESS
|
AddClientIdToPAREndpointRequest
|
||||
|
2023-01-24 12:59:57 |
|
CallPAREndpoint
HTTP request
|
||||||||||
|
2023-01-24 12:59:57 |
RESPONSE
|
CallPAREndpoint
HTTP response
|
||||||||
|
2023-01-24 12:59:57 | SUCCESS |
CallPAREndpoint
Parsed pushed authorization request endpoint response
|
||||
|
2023-01-24 12:59:57 | SUCCESS |
CheckPAREndpointResponse201WithNoError
pushed authorization request endpoint correct response.
|
|
2023-01-24 12:59:57 | SUCCESS |
CheckForRequestUriValue
Found valid request_uri
|
||
|
2023-01-24 12:59:57 | SUCCESS |
CheckForPARResponseExpiresIn
Found expires_in
|
||
|
2023-01-24 12:59:57 |
SUCCESS
|
ExtractRequestUriFromPARResponse
Extracted the request_uri: urn:ietf:params:oauth:request_uri:u9MXQLsxRL_Cl_phH8qoS
|
|
2023-01-24 12:59:57 | SUCCESS |
EnsureMinimumRequestUriEntropy
Calculated shannon entropy seems sufficient
|
||||||
|
2023-01-24 12:59:57 | SUCCESS |
BuildRequestObjectByReferenceRedirectToAuthorizationEndpoint
Sending to authorization endpoint
|
||
|
2023-01-24 12:59:57 |
REDIRECT
|
fapi1-advanced-final-incorrect-pkce-code-verifier-rejected
Redirecting to authorization endpoint
|
||
|
2023-01-24 13:00:17 |
INCOMING
|
fapi1-advanced-final-incorrect-pkce-code-verifier-rejected
Incoming HTTP request to /test/a/Agibank/callback
|
||||||||||||||||||||||
|
2023-01-24 13:00:17 |
SUCCESS
|
CreateRandomImplicitSubmitUrl
Created random implicit submission URL
|
||
|
2023-01-24 13:00:17 |
OUTGOING
|
fapi1-advanced-final-incorrect-pkce-code-verifier-rejected
Response to HTTP request to test instance zO5acJj15QpkZBq
|
||||
|
2023-01-24 13:00:17 |
INCOMING
|
fapi1-advanced-final-incorrect-pkce-code-verifier-rejected
Incoming HTTP request to /test/a/Agibank/implicit/UeKOVpgLNjkMIbLWA6hE
|
||||||||||||||||||||||
|
2023-01-24 13:00:17 |
OUTGOING
|
fapi1-advanced-final-incorrect-pkce-code-verifier-rejected
Response to HTTP request to test instance zO5acJj15QpkZBq
|
||||||||
|
2023-01-24 13:00:17 |
SUCCESS
|
ExtractImplicitHashToCallbackResponse
implicit_hash is empty
|
|
2023-01-24 13:00:17 |
REDIRECT-IN
|
fapi1-advanced-final-incorrect-pkce-code-verifier-rejected
Authorization endpoint response captured
|
||||||||||
|
Verify authorization endpoint response |
2023-01-24 13:00:17 | SUCCESS |
ExtractJARMFromURLQuery
Found and parsed the jarm_response from callback_query_params
|
||||||
|
2023-01-24 13:00:17 | SUCCESS |
RejectNonJarmResponsesInUrlQuery
Authorization endpoint response only includes the JARM JWT.
|
|
2023-01-24 13:00:17 |
SUCCESS
|
ExtractAuthorizationEndpointResponseFromJARMResponse
Extracted the authorization response
|
||||||
|
2023-01-24 13:00:17 | SUCCESS |
ValidateJARMResponse
JARM response standard JWT claims are valid
|
|
2023-01-24 13:00:17 |
SUCCESS
|
FAPI1ValidateJarmSigningAlg
JARM response was signed with a permitted algorithm
|
||||
|
2023-01-24 13:00:17 | SUCCESS |
ValidateJARMExpRecommendations
JARM response 'exp' is less than 10 minutes
|
||||
|
2023-01-24 13:00:17 | SUCCESS |
ValidateJARMSignatureUsingKid
jarm_response signature validated
|
||
|
2023-01-24 13:00:17 | SUCCESS |
RejectAuthCodeInUrlQuery
Authorization code is not present in URL query returned from authorization endpoint
|
|
2023-01-24 13:00:17 |
SUCCESS
|
CheckMatchingCallbackParameters
Callback parameters successfully verified
|
|
2023-01-24 13:00:17 | 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)
|
|
2023-01-24 13:00:17 |
SUCCESS
|
CheckIfAuthorizationEndpointError
No error from authorization endpoint
|
|
2023-01-24 13:00:17 |
SUCCESS
|
ValidateSuccessfulJARMResponseFromAuthorizationEndpoint
authorization endpoint response does not include unexpected parameters
|
||||||
|
2023-01-24 13:00:17 | SUCCESS |
CheckStateInAuthorizationResponse
State in response correctly returned
|
||
|
2023-01-24 13:00:17 | SUCCESS |
ValidateIssInAuthorizationResponse
'iss' parameter in authorization response matches server's issuer value.
|
|
2023-01-24 13:00:17 |
SUCCESS
|
ExtractAuthorizationCodeFromAuthorizationResponse
Found authorization code
|
||
|
2023-01-24 13:00:17 | SUCCESS |
EnsureMinimumAuthorizationCodeLength
Authorization code is of sufficient length
|
||||
|
2023-01-24 13:00:17 | SUCCESS |
EnsureMinimumAuthorizationCodeEntropy
Calculated shannon entropy seems sufficient
|
||||||
|
2023-01-24 13:00:17 |
SUCCESS
|
CreateTokenEndpointRequestForAuthorizationCodeGrant
Created token endpoint request
|
||||||
|
2023-01-24 13:00:17 |
|
AddClientIdToTokenEndpointRequest
|
||||||||
|
2023-01-24 13:00:17 |
|
CreateRandomCodeVerifier
Created code_verifier value
|
||
|
2023-01-24 13:00:17 |
|
AddCodeVerifierToTokenEndpointRequest
|
||||||||||
|
2023-01-24 13:00:17 |
|
CallTokenEndpointAndReturnFullResponse
HTTP request
|
||||||||||
|
2023-01-24 13:00:18 |
RESPONSE
|
CallTokenEndpointAndReturnFullResponse
HTTP response
|
||||||||
|
2023-01-24 13:00:18 | SUCCESS |
CallTokenEndpointAndReturnFullResponse
Parsed token endpoint response
|
||||
|
2023-01-24 13:00:18 | SUCCESS |
CheckTokenEndpointHttpStatus400
Token endpoint http status code was 400
|
|
2023-01-24 13:00:18 | SUCCESS |
CheckTokenEndpointReturnedJsonContentType
token_endpoint_response_headers Content-Type: header is application/json
|
|
2023-01-24 13:00:18 | SUCCESS |
CheckErrorFromTokenEndpointResponseErrorInvalidGrant
Token Endpoint response error returned expected 'error' of 'invalid_grant'
|
||
|
2023-01-24 13:00:18 | SUCCESS |
ValidateErrorFromTokenEndpointResponseError
Token endpoint response error returned valid 'error' field
|
||
|
2023-01-24 13:00:18 | SUCCESS |
CheckErrorDescriptionFromTokenEndpointResponseErrorContainsCRLFTAB
token_endpoint_response 'error_description' field does not include CR/LF/TAB
|
||
|
2023-01-24 13:00:18 | SUCCESS |
ValidateErrorDescriptionFromTokenEndpointResponseError
token_endpoint_response error returned valid 'error_description' field
|
||
|
2023-01-24 13:00:18 | SUCCESS |
ValidateErrorUriFromTokenEndpointResponseError
token_endpoint_response did not include optional 'error_uri' field
|
|
2023-01-24 13:00:18 |
FINISHED
|
fapi1-advanced-final-incorrect-pkce-code-verifier-rejected
Test has run to completion
|
||
|
2023-01-24 13:00:19 |
|
TEST-RUNNER
Alias has now been claimed by another test
|
||||
|