Test Name | fapi-ciba-id1-auth-req-id-expired |
---|---|
Variant | client_auth_type=private_key_jwt, ciba_mode=poll, fapi_profile=plain_fapi, client_registration=static_client |
Test ID | 9tHo2jvSPsc9I74 https://www.certification.openid.net/log-detail.html?public=true&log=9tHo2jvSPsc9I74 |
Created | 2021-05-30T14:06:46.854464Z |
Description | Trust Platform (Directory) Open Banking Brasil Initial Structure |
Test Version | 4.1.11 |
Test Owner | 105100314518691587270 https://accounts.google.com |
Plan ID | ZYY71Op1GdIql https://www.certification.openid.net/plan-detail.html?public=true&plan=ZYY71Op1GdIql |
Exported From | https://www.certification.openid.net |
Exported By | 105100314518691587270 https://accounts.google.com |
Suite Version | 4.1.11 |
Exported | 2021-05-30 14:27:10 (UTC) |
Status: FINISHED Result: PASSED |
SUCCESS 86 FAILURE 0 WARNING 0 REVIEW 0 INFO 2 |
2021-05-30 14:06:46 |
INFO
|
TEST-RUNNER
Test instance 9tHo2jvSPsc9I74 created
|
||||||||||||||
|
2021-05-30 14:06:46 |
SUCCESS
|
CreateCIBANotificationEndpointUri
Created ciba notification endpoint URI
|
||
|
2021-05-30 14:06:46 |
|
GetDynamicServerConfiguration
HTTP request
|
||||||||
|
2021-05-30 14:06:47 |
RESPONSE
|
GetDynamicServerConfiguration
HTTP response
|
||||||||
|
2021-05-30 14:06:47 |
|
GetDynamicServerConfiguration
Downloaded server configuration
|
||
|
2021-05-30 14:06:47 |
SUCCESS
|
GetDynamicServerConfiguration
Successfully parsed server configuration
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
2021-05-30 14:06:47 | SUCCESS |
AddMTLSEndpointAliasesToEnvironment
Added mtls_endpoint_aliases to environment
|
||
|
2021-05-30 14:06:47 |
SUCCESS
|
CheckCIBAServerConfiguration
Found required server configuration keys
|
||
|
2021-05-30 14:06:47 |
SUCCESS
|
ExtractTLSTestValuesFromServerConfiguration
Extracted TLS information from authorization server configuration
|
||||||||
|
2021-05-30 14:06:47 |
|
FetchServerKeys
Fetching server key
|
||
|
2021-05-30 14:06:47 |
|
FetchServerKeys
HTTP request
|
||||||||
|
2021-05-30 14:06:47 |
RESPONSE
|
FetchServerKeys
HTTP response
|
||||||||
|
2021-05-30 14:06:47 |
|
FetchServerKeys
Found JWK set string
|
||
|
2021-05-30 14:06:47 |
SUCCESS
|
FetchServerKeys
Found server JWK set
|
||
|
2021-05-30 14:06:47 |
SUCCESS
|
CheckServerKeysIsValid
Server JWKs is valid
|
||
|
2021-05-30 14:06:47 | SUCCESS |
ValidateServerJWKs
Valid server JWKs: keys are valid JSON, contain the required fields and are correctly encoded using unpadded base64url
|
|
2021-05-30 14:06:47 | SUCCESS |
CheckForKeyIdInServerJWKs
All keys contain kids
|
|
2021-05-30 14:06:47 | SUCCESS |
EnsureServerJwksDoesNotContainPrivateOrSymmetricKeys
Jwks does not contain any private or symmetric keys
|
|
2021-05-30 14:06:47 | SUCCESS |
FAPIEnsureMinimumServerKeyLength
Validated minimum key lengths for server_jwks
|
||
|
Verify First client: static client configuration |
2021-05-30 14:06:47 |
SUCCESS
|
GetStaticClientConfiguration
Found a static client object
|
||||||||||
|
2021-05-30 14:06:47 | 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
|
|
2021-05-30 14:06:47 |
SUCCESS
|
ExtractJWKsFromStaticClientConfiguration
Extracted client JWK
|
||||
|
2021-05-30 14:06:47 |
SUCCESS
|
ValidateMTLSCertificatesHeader
MTLS certificates header is valid
|
|
2021-05-30 14:06:47 |
SUCCESS
|
ExtractMTLSCertificatesFromConfiguration
Mutual TLS authentication credentials loaded
|
||||||
|
2021-05-30 14:06:47 | SUCCESS |
CheckForKeyIdInClientJWKs
All keys contain kids
|
|
2021-05-30 14:06:47 | SUCCESS |
CheckDistinctKeyIdValueInClientJWKs
Distinct 'kid' value in all keys of client_jwks
|
||
|
2021-05-30 14:06:47 | SUCCESS |
FAPICheckKeyAlgInClientJWKs
Found a key with alg PS256 or ES256
|
|
2021-05-30 14:06:47 | SUCCESS |
FAPIEnsureMinimumClientKeyLength
Validated minimum key lengths for client_jwks
|
||
|
2021-05-30 14:06:47 |
SUCCESS
|
ValidateMTLSCertificatesAsX509
Mutual TLS authentication cert validated as X.509
|
|
2021-05-30 14:06:47 |
SUCCESS
|
GetResourceEndpointConfiguration
Found a resource endpoint object
|
||||||||
|
2021-05-30 14:06:47 |
SUCCESS
|
SetProtectedResourceUrlToSingleResourceEndpoint
Set protected resource URL
|
||
|
2021-05-30 14:06:47 |
SUCCESS
|
ExtractTLSTestValuesFromResourceConfiguration
Extracted TLS information from resource endpoint
|
||
|
2021-05-30 14:06:47 |
SUCCESS
|
ExtractTLSTestValuesFromOBResourceConfiguration
Extracted TLS information from resource endpoint
|
||||
|
2021-05-30 14:06:47 |
|
fapi-ciba-id1-auth-req-id-expired
Setup Done
|
|
Call backchannel authentication endpoint |
2021-05-30 14:06:47 |
SUCCESS
|
CreateEmptyAuthorizationEndpointRequest
Created empty authorization endpoint request
|
|
2021-05-30 14:06:47 | SUCCESS |
AddScopeToAuthorizationEndpointRequest
Added scope of 'openid profile' to authorization endpoint request
|
||
|
2021-05-30 14:06:47 | SUCCESS |
AddHintToAuthorizationEndpointRequest
Added hint to authorization endpoint request
|
||
|
2021-05-30 14:06:47 | SUCCESS |
AddBindingMessageToAuthorizationEndpointRequest
Added binding message to authorization endpoint request
|
||
|
2021-05-30 14:06:47 | SUCCESS |
AddRequestedExp30sToAuthorizationEndpointRequest
Added requested expiry to authorization endpoint request
|
||
|
2021-05-30 14:06:47 |
SUCCESS
|
ConvertAuthorizationEndpointRequestToRequestObject
Created request object claims
|
||
|
2021-05-30 14:06:47 | SUCCESS |
AddIatToRequestObject
Added iat to request object claims
|
||
|
2021-05-30 14:06:47 | SUCCESS |
AddExpToRequestObject
Added exp to request object claims
|
||
|
2021-05-30 14:06:47 | SUCCESS |
AddNbfToRequestObject
Added nbf to request object claims
|
||
|
2021-05-30 14:06:47 | SUCCESS |
AddJtiToRequestObject
Added jti to request object claims
|
||
|
2021-05-30 14:06:47 | SUCCESS |
AddAudToRequestObject
Added aud to request object claims
|
||
|
2021-05-30 14:06:47 | SUCCESS |
AddIssToRequestObject
Added iss to request object claims
|
||
|
2021-05-30 14:06:47 | SUCCESS |
SignRequestObject
Signed the request object
|
||||||||
|
2021-05-30 14:06:47 | SUCCESS |
CreateBackchannelAuthenticationEndpointRequest
Created backchannel authentication endpoint request
|
|
2021-05-30 14:06:47 |
|
AddRequestToBackchannelAuthenticationEndpointRequest
|
||
|
2021-05-30 14:06:47 |
SUCCESS
|
CreateClientAuthenticationAssertionClaims
Created client assertion claims
|
||||||||||||
|
2021-05-30 14:06:47 |
SUCCESS
|
SetClientAuthenticationAudToBackchannelAuthenticationEndpoint
Add backchannel_authentication_endpoint as aud value to client_assertion_claims
|
||||||||||||
|
2021-05-30 14:06:47 |
SUCCESS
|
SignClientAuthenticationAssertion
Signed the client assertion
|
||
|
2021-05-30 14:06:47 |
|
AddClientAssertionToBackchannelAuthenticationEndpoint
Added client assertion
|
||||||
|
2021-05-30 14:06:47 |
|
CallBackchannelAuthenticationEndpoint
HTTP request
|
||||||||||
|
2021-05-30 14:06:49 |
RESPONSE
|
CallBackchannelAuthenticationEndpoint
HTTP response
|
||||||||
|
2021-05-30 14:06:49 |
|
CallBackchannelAuthenticationEndpoint
Backchannel Authentication endpoint response
|
||
|
2021-05-30 14:06:49 |
SUCCESS
|
CallBackchannelAuthenticationEndpoint
Parsed backchannel authentication endpoint response
|
||||
|
2021-05-30 14:06:49 | SUCCESS |
CheckBackchannelAuthenticationEndpointHttpStatus200
Backchannel authentication endpoint http status code was 200
|
|
2021-05-30 14:06:49 | SUCCESS |
CheckBackchannelAuthenticationEndpointContentType
Backchannel authentication endpoint Content-Type: header is application/json
|
|
2021-05-30 14:06:49 |
SUCCESS
|
CheckIfBackchannelAuthenticationEndpointResponseError
No error from Backchannel authentication endpoint
|
|
2021-05-30 14:06:49 | SUCCESS |
ValidateAuthenticationRequestId
auth_req_id passed all validation checks
|
|
2021-05-30 14:06:49 | SUCCESS |
EnsureMinimumAuthenticationRequestIdLength
auth_req_id is of sufficient length
|
||||
|
2021-05-30 14:06:49 | SUCCESS |
EnsureMinimumAuthenticationRequestIdEntropy
Calculated shannon entropy seems sufficient
|
||||
|
2021-05-30 14:06:49 | SUCCESS |
EnsureRecommendedAuthenticationRequestIdEntropy
Calculated entropy
|
||||
|
2021-05-30 14:06:49 | SUCCESS |
ValidateAuthenticationRequestIdExpiresIn
expires_in passed all validation checks
|
||
|
2021-05-30 14:06:49 |
|
ValidateAuthenticationRequestIdInterval
interval is empty.
|
|
Call token endpoint expecting pending |
2021-05-30 14:06:49 |
SUCCESS
|
CreateTokenEndpointRequestForCIBAGrant
|
||
|
2021-05-30 14:06:49 |
|
AddAuthReqIdToTokenEndpointRequest
|
||||
|
2021-05-30 14:06:49 |
SUCCESS
|
CreateClientAuthenticationAssertionClaims
Created client assertion claims
|
||||||||||||
|
2021-05-30 14:06:49 |
SUCCESS
|
SignClientAuthenticationAssertion
Signed the client assertion
|
||
|
2021-05-30 14:06:49 |
|
AddClientAssertionToTokenEndpointRequest
Added client assertion
|
||||||||
|
2021-05-30 14:06:49 |
|
CallTokenEndpointAndReturnFullResponse
HTTP request
|
||||||||||
|
2021-05-30 14:06:49 |
RESPONSE
|
CallTokenEndpointAndReturnFullResponse
HTTP response
|
||||||||
|
2021-05-30 14:06:49 |
SUCCESS
|
CallTokenEndpointAndReturnFullResponse
Parsed token endpoint response
|
||||
|
2021-05-30 14:06:49 | SUCCESS |
CheckTokenEndpointReturnedJsonContentType
token_endpoint_response_headers Content-Type: header is application/json
|
|
Verify token endpoint response is pending or slow_down |
2021-05-30 14:06:49 | SUCCESS |
CheckTokenEndpointHttpStatus400
Token endpoint http status code was 400
|
|
2021-05-30 14:06:49 | SUCCESS |
ValidateErrorFromTokenEndpointResponseError
Token endpoint response error returned valid 'error' field
|
||
|
2021-05-30 14:06:49 | SUCCESS |
CheckErrorDescriptionFromTokenEndpointResponseErrorContainsCRLFTAB
token_endpoint_response 'error_description' field does not include CR/LF/TAB
|
||
|
2021-05-30 14:06:49 | SUCCESS |
ValidateErrorDescriptionFromTokenEndpointResponseError
token_endpoint_response error returned valid 'error_description' field
|
||
|
2021-05-30 14:06:49 | SUCCESS |
ValidateErrorUriFromTokenEndpointResponseError
token_endpoint_response did not include optional 'error_uri' field
|
|
2021-05-30 14:06:49 |
SUCCESS
|
EnsureErrorTokenEndpointSlowdownOrAuthorizationPending
error met 'slow_down' or 'authorization_pending'
|
||
|
Call token endpoint expecting pending (second time) |
2021-05-30 14:06:54 |
SUCCESS
|
CreateTokenEndpointRequestForCIBAGrant
|
||
|
2021-05-30 14:06:54 |
|
AddAuthReqIdToTokenEndpointRequest
|
||||
|
2021-05-30 14:06:54 |
SUCCESS
|
CreateClientAuthenticationAssertionClaims
Created client assertion claims
|
||||||||||||
|
2021-05-30 14:06:54 |
SUCCESS
|
SignClientAuthenticationAssertion
Signed the client assertion
|
||
|
2021-05-30 14:06:54 |
|
AddClientAssertionToTokenEndpointRequest
Added client assertion
|
||||||||
|
2021-05-30 14:06:54 |
|
CallTokenEndpointAndReturnFullResponse
HTTP request
|
||||||||||
|
2021-05-30 14:06:55 |
RESPONSE
|
CallTokenEndpointAndReturnFullResponse
HTTP response
|
||||||||
|
2021-05-30 14:06:55 |
SUCCESS
|
CallTokenEndpointAndReturnFullResponse
Parsed token endpoint response
|
||||
|
2021-05-30 14:06:55 | SUCCESS |
CheckTokenEndpointReturnedJsonContentType
token_endpoint_response_headers Content-Type: header is application/json
|
|
Verify token endpoint response is pending or slow_down |
2021-05-30 14:06:55 | SUCCESS |
CheckTokenEndpointHttpStatus400
Token endpoint http status code was 400
|
|
2021-05-30 14:06:55 | SUCCESS |
ValidateErrorFromTokenEndpointResponseError
Token endpoint response error returned valid 'error' field
|
||
|
2021-05-30 14:06:55 | SUCCESS |
CheckErrorDescriptionFromTokenEndpointResponseErrorContainsCRLFTAB
token_endpoint_response 'error_description' field does not include CR/LF/TAB
|
||
|
2021-05-30 14:06:55 | SUCCESS |
ValidateErrorDescriptionFromTokenEndpointResponseError
token_endpoint_response error returned valid 'error_description' field
|
||
|
2021-05-30 14:06:55 | SUCCESS |
ValidateErrorUriFromTokenEndpointResponseError
token_endpoint_response did not include optional 'error_uri' field
|
|
2021-05-30 14:06:55 |
SUCCESS
|
EnsureErrorTokenEndpointSlowdownOrAuthorizationPending
error met 'slow_down' or 'authorization_pending'
|
||
|
2021-05-30 14:06:55 |
|
TellUserToIgnoreCIBAAuthentication
Waiting for CIBA authorization to time out. If the AS respects 'requested_expiry' this will happen within 30 seconds.
|
|
2021-05-30 14:06:55 |
SUCCESS
|
SleepUntilAuthReqExpires
Pausing for 30 seconds
|
|
2021-05-30 14:07:25 |
SUCCESS
|
SleepUntilAuthReqExpires
Woke up after 30 seconds sleep
|
|
Calling token endpoint expecting a token expired error |
2021-05-30 14:07:25 |
SUCCESS
|
CreateTokenEndpointRequestForCIBAGrant
|
||
|
2021-05-30 14:07:25 |
|
AddAuthReqIdToTokenEndpointRequest
|
||||
|
2021-05-30 14:07:25 |
SUCCESS
|
CreateClientAuthenticationAssertionClaims
Created client assertion claims
|
||||||||||||
|
2021-05-30 14:07:25 |
SUCCESS
|
SignClientAuthenticationAssertion
Signed the client assertion
|
||
|
2021-05-30 14:07:25 |
|
AddClientAssertionToTokenEndpointRequest
Added client assertion
|
||||||||
|
2021-05-30 14:07:25 |
|
CallTokenEndpointAndReturnFullResponse
HTTP request
|
||||||||||
|
2021-05-30 14:07:26 |
RESPONSE
|
CallTokenEndpointAndReturnFullResponse
HTTP response
|
||||||||
|
2021-05-30 14:07:26 |
SUCCESS
|
CallTokenEndpointAndReturnFullResponse
Parsed token endpoint response
|
||||
|
2021-05-30 14:07:26 | SUCCESS |
CheckTokenEndpointReturnedJsonContentType
token_endpoint_response_headers Content-Type: header is application/json
|
|
2021-05-30 14:07:26 |
|
CheckTokenEndpointHttpStatusNot200
Condition ran but did not log anything
|
|
Verify token endpoint response is expired_token |
2021-05-30 14:07:26 | SUCCESS |
CheckTokenEndpointHttpStatus400
Token endpoint http status code was 400
|
|
2021-05-30 14:07:26 | SUCCESS |
ValidateErrorFromTokenEndpointResponseError
Token endpoint response error returned valid 'error' field
|
||
|
2021-05-30 14:07:26 | SUCCESS |
CheckErrorDescriptionFromTokenEndpointResponseErrorContainsCRLFTAB
token_endpoint_response 'error_description' field does not include CR/LF/TAB
|
||
|
2021-05-30 14:07:26 | SUCCESS |
ValidateErrorDescriptionFromTokenEndpointResponseError
token_endpoint_response error returned valid 'error_description' field
|
||
|
2021-05-30 14:07:26 | SUCCESS |
ValidateErrorUriFromTokenEndpointResponseError
token_endpoint_response did not include optional 'error_uri' field
|
|
2021-05-30 14:07:26 | SUCCESS |
ExpectExpiredTokenErrorFromTokenEndpoint
error parameter is correctly 'expired_token'
|
|
2021-05-30 14:07:26 |
FINISHED
|
fapi-ciba-id1-auth-req-id-expired
Test has run to completion
|
||
|
Unregister dynamically registered client |
2021-05-30 14:07:26 |
INFO
|
UnregisterDynamicallyRegisteredClient
Skipped evaluation due to missing required string: registration_client_uri
|
||
|
2021-05-30 14:07:29 |
|
TEST-RUNNER
Alias has now been claimed by another test
|
||||
|