Test Name | fapi-ciba-id1-ensure-wrong-auth-req-id-in-token-endpoint-request |
---|---|
Variant | client_auth_type=private_key_jwt, ciba_mode=poll, fapi_profile=plain_fapi, client_registration=static_client |
Test ID | cqFvN24bllRS1s4 https://www.certification.openid.net/log-detail.html?public=true&log=cqFvN24bllRS1s4 |
Created | 2022-05-11T06:24:37.437741Z |
Description | |
Test Version | 4.1.42 |
Test Owner | 11547427 https://gitlab.com |
Plan ID | 5TITriHnFuJuH https://www.certification.openid.net/plan-detail.html?public=true&plan=5TITriHnFuJuH |
Exported From | https://www.certification.openid.net |
Exported By | 11547427 https://gitlab.com |
Suite Version | 4.1.42 |
Exported | 2022-05-13 04:25:23 (UTC) |
Status: FINISHED Result: PASSED |
SUCCESS 72 FAILURE 0 WARNING 0 REVIEW 0 INFO 1 |
2022-05-11 06:24:37 |
INFO
|
TEST-RUNNER
Test instance cqFvN24bllRS1s4 created
|
||||||||||||||
|
2022-05-11 06:24:37 |
SUCCESS
|
CreateCIBANotificationEndpointUri
Created ciba notification endpoint URI
|
||
|
2022-05-11 06:24:37 |
|
GetDynamicServerConfiguration
HTTP request
|
||||||||
|
2022-05-11 06:24:37 |
RESPONSE
|
GetDynamicServerConfiguration
HTTP response
|
||||||||
|
2022-05-11 06:24:37 |
SUCCESS
|
GetDynamicServerConfiguration
Successfully parsed server configuration
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
2022-05-11 06:24:37 | SUCCESS |
AddMTLSEndpointAliasesToEnvironment
Added mtls_endpoint_aliases to environment
|
|
2022-05-11 06:24:37 |
SUCCESS
|
CheckCIBAServerConfiguration
Found required server configuration keys
|
||
|
2022-05-11 06:24:37 |
|
FetchServerKeys
Fetching server key
|
||
|
2022-05-11 06:24:37 |
|
FetchServerKeys
HTTP request
|
||||||||
|
2022-05-11 06:24:38 |
RESPONSE
|
FetchServerKeys
HTTP response
|
||||||||
|
2022-05-11 06:24:38 |
|
FetchServerKeys
Found JWK set string
|
||
|
2022-05-11 06:24:38 |
SUCCESS
|
FetchServerKeys
Found server JWK set
|
||
|
2022-05-11 06:24:38 |
SUCCESS
|
CheckServerKeysIsValid
Server JWKs is valid
|
||
|
2022-05-11 06:24:38 | SUCCESS |
ValidateServerJWKs
Valid server JWKs: keys are valid JSON, contain the required fields and are correctly encoded using unpadded base64url
|
|
2022-05-11 06:24:38 | SUCCESS |
CheckForKeyIdInServerJWKs
All keys contain kids
|
|
2022-05-11 06:24:38 | SUCCESS |
EnsureServerJwksDoesNotContainPrivateOrSymmetricKeys
Jwks does not contain any private or symmetric keys
|
|
2022-05-11 06:24:38 | SUCCESS |
FAPIEnsureMinimumServerKeyLength
Validated minimum key lengths for server_jwks
|
||
|
Verify First client: static client configuration |
2022-05-11 06:24:38 |
SUCCESS
|
GetStaticClientConfiguration
Found a static client object
|
||||||||||
|
2022-05-11 06:24:38 | 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
|
|
2022-05-11 06:24:38 |
SUCCESS
|
ExtractJWKsFromStaticClientConfiguration
Extracted client JWK
|
||||
|
2022-05-11 06:24:38 |
SUCCESS
|
ValidateMTLSCertificatesHeader
MTLS certificates header is valid
|
|
2022-05-11 06:24:38 |
SUCCESS
|
ExtractMTLSCertificatesFromConfiguration
Mutual TLS authentication credentials loaded
|
||||||
|
2022-05-11 06:24:38 | SUCCESS |
CheckForKeyIdInClientJWKs
All keys contain kids
|
|
2022-05-11 06:24:38 | SUCCESS |
CheckDistinctKeyIdValueInClientJWKs
Distinct 'kid' value in all keys of client_jwks
|
||
|
2022-05-11 06:24:38 | SUCCESS |
FAPICheckKeyAlgInClientJWKs
Keys in client JWKS all have permitted 'alg'
|
||
|
2022-05-11 06:24:38 | SUCCESS |
FAPIEnsureMinimumClientKeyLength
Validated minimum key lengths for client_jwks
|
||
|
2022-05-11 06:24:38 |
SUCCESS
|
ValidateMTLSCertificatesAsX509
Mutual TLS authentication cert validated as X.509
|
|
Verify Second client: static client configuration |
2022-05-11 06:24:38 |
SUCCESS
|
GetStaticClient2Configuration
Found a static second client object
|
||||||||
|
2022-05-11 06:24:38 | 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
|
|
2022-05-11 06:24:38 |
SUCCESS
|
ExtractJWKsFromStaticClientConfiguration
Extracted client JWK
|
||||
|
2022-05-11 06:24:38 |
SUCCESS
|
ValidateMTLSCertificates2Header
MTLS certificates header is valid
|
|
2022-05-11 06:24:38 |
SUCCESS
|
ExtractMTLSCertificates2FromConfiguration
Mutual TLS authentication credentials loaded
|
||||||
|
2022-05-11 06:24:38 | SUCCESS |
CheckForKeyIdInClientJWKs
All keys contain kids
|
|
2022-05-11 06:24:38 | SUCCESS |
CheckDistinctKeyIdValueInClientJWKs
Distinct 'kid' value in all keys of client_jwks
|
||
|
2022-05-11 06:24:38 | SUCCESS |
FAPICheckKeyAlgInClientJWKs
Keys in client JWKS all have permitted 'alg'
|
||
|
2022-05-11 06:24:38 | SUCCESS |
FAPIEnsureMinimumClientKeyLength
Validated minimum key lengths for client_jwks
|
||
|
2022-05-11 06:24:38 |
SUCCESS
|
ValidateMTLSCertificatesAsX509
Mutual TLS authentication cert validated as X.509
|
|
2022-05-11 06:24:38 |
SUCCESS
|
GetResourceEndpointConfiguration
Found a resource endpoint object
|
||
|
2022-05-11 06:24:38 |
SUCCESS
|
SetProtectedResourceUrlToSingleResourceEndpoint
Set protected resource URL
|
||
|
2022-05-11 06:24:38 |
SUCCESS
|
ExtractTLSTestValuesFromResourceConfiguration
Extracted TLS information from resource endpoint
|
||
|
2022-05-11 06:24:38 |
SUCCESS
|
ExtractTLSTestValuesFromOBResourceConfiguration
Extracted TLS information from resource endpoint
|
||||
|
2022-05-11 06:24:38 |
|
fapi-ciba-id1-ensure-wrong-auth-req-id-in-token-endpoint-request
Setup Done
|
|
Call backchannel authentication endpoint |
2022-05-11 06:24:38 |
SUCCESS
|
CreateEmptyAuthorizationEndpointRequest
Created empty authorization endpoint request
|
|
2022-05-11 06:24:38 | SUCCESS |
AddScopeToAuthorizationEndpointRequest
Added scope of 'openid email' to authorization endpoint request
|
||
|
2022-05-11 06:24:38 | SUCCESS |
AddHintToAuthorizationEndpointRequest
Added hint to authorization endpoint request
|
||
|
2022-05-11 06:24:38 | SUCCESS |
AddBindingMessageToAuthorizationEndpointRequest
Added binding message to authorization endpoint request
|
||
|
2022-05-11 06:24:38 |
SUCCESS
|
ConvertAuthorizationEndpointRequestToRequestObject
Created request object claims
|
||
|
2022-05-11 06:24:38 | SUCCESS |
AddIatToRequestObject
Added iat to request object claims
|
||
|
2022-05-11 06:24:38 | SUCCESS |
AddExpToRequestObject
Added exp to request object claims
|
||
|
2022-05-11 06:24:38 | SUCCESS |
AddNbfToRequestObject
Added nbf to request object claims
|
||
|
2022-05-11 06:24:38 | SUCCESS |
AddJtiToRequestObject
Added jti to request object claims
|
||
|
2022-05-11 06:24:38 | SUCCESS |
AddAudToRequestObject
Added aud to request object claims
|
||
|
2022-05-11 06:24:38 | SUCCESS |
AddIssToRequestObject
Added iss to request object claims
|
||
|
2022-05-11 06:24:38 | SUCCESS |
SignRequestObject
Signed the request object
|
||||||||
|
2022-05-11 06:24:38 | SUCCESS |
CreateBackchannelAuthenticationEndpointRequest
Created backchannel authentication endpoint request
|
|
2022-05-11 06:24:38 |
|
AddRequestToBackchannelAuthenticationEndpointRequest
|
||
|
2022-05-11 06:24:38 |
SUCCESS
|
CreateClientAuthenticationAssertionClaims
Created client assertion claims
|
||||||||||||
|
2022-05-11 06:24:38 |
SUCCESS
|
SetClientAuthenticationAudToBackchannelAuthenticationEndpoint
Add backchannel_authentication_endpoint as aud value to client_assertion_claims
|
||||||||||||
|
2022-05-11 06:24:38 |
SUCCESS
|
SignClientAuthenticationAssertion
Signed the client assertion
|
||
|
2022-05-11 06:24:38 |
|
AddClientAssertionToBackchannelAuthenticationEndpoint
Added client assertion
|
||||||
|
2022-05-11 06:24:38 |
|
CallBackchannelAuthenticationEndpoint
HTTP request
|
||||||||||
|
2022-05-11 06:24:38 |
RESPONSE
|
CallBackchannelAuthenticationEndpoint
HTTP response
|
||||||||
|
2022-05-11 06:24:38 |
|
CallBackchannelAuthenticationEndpoint
Backchannel Authentication endpoint response
|
||
|
2022-05-11 06:24:38 |
SUCCESS
|
CallBackchannelAuthenticationEndpoint
Parsed backchannel authentication endpoint response
|
||||||
|
2022-05-11 06:24:38 | SUCCESS |
CheckBackchannelAuthenticationEndpointHttpStatus200
Backchannel authentication endpoint http status code was 200
|
|
2022-05-11 06:24:38 | SUCCESS |
CheckBackchannelAuthenticationEndpointContentType
Backchannel authentication endpoint Content-Type: header is application/json
|
|
2022-05-11 06:24:38 |
SUCCESS
|
CheckIfBackchannelAuthenticationEndpointResponseError
No error from Backchannel authentication endpoint
|
|
2022-05-11 06:24:38 | SUCCESS |
ValidateAuthenticationRequestId
auth_req_id passed all validation checks
|
|
2022-05-11 06:24:38 | SUCCESS |
EnsureMinimumAuthenticationRequestIdLength
auth_req_id is of sufficient length
|
||||
|
2022-05-11 06:24:38 | SUCCESS |
EnsureMinimumAuthenticationRequestIdEntropy
Calculated shannon entropy seems sufficient
|
||||||
|
2022-05-11 06:24:38 | SUCCESS |
EnsureRecommendedAuthenticationRequestIdEntropy
Calculated entropy
|
||||||
|
2022-05-11 06:24:38 | SUCCESS |
ValidateAuthenticationRequestIdExpiresIn
expires_in passed all validation checks
|
||
|
2022-05-11 06:24:38 | SUCCESS |
ValidateAuthenticationRequestIdInterval
interval passed all validation checks
|
||
|
Swapping to Client2, Jwks2, tls2 and calling token endpoint |
2022-05-11 06:24:38 |
SUCCESS
|
CreateTokenEndpointRequestForCIBAGrant
Created token endpoint request
|
||
|
2022-05-11 06:24:38 |
|
AddAuthReqIdToTokenEndpointRequest
|
||||
|
2022-05-11 06:24:38 |
SUCCESS
|
CreateClientAuthenticationAssertionClaims
Created client assertion claims
|
||||||||||||
|
2022-05-11 06:24:38 |
SUCCESS
|
SignClientAuthenticationAssertion
Signed the client assertion
|
||
|
2022-05-11 06:24:38 |
|
AddClientAssertionToTokenEndpointRequest
Added client assertion
|
||||||||
|
2022-05-11 06:24:38 |
|
CallTokenEndpointAndReturnFullResponse
HTTP request
|
||||||||||
|
2022-05-11 06:24:38 |
RESPONSE
|
CallTokenEndpointAndReturnFullResponse
HTTP response
|
||||||||
|
2022-05-11 06:24:38 |
SUCCESS
|
CallTokenEndpointAndReturnFullResponse
Parsed token endpoint response
|
||||
|
2022-05-11 06:24:38 | SUCCESS |
CheckTokenEndpointReturnedJsonContentType
token_endpoint_response_headers Content-Type: header is application/json
|
|
2022-05-11 06:24:38 | SUCCESS |
CheckTokenEndpointReturnedJsonContentType
token_endpoint_response_headers Content-Type: header is application/json
|
|
2022-05-11 06:24:38 | SUCCESS |
ValidateErrorFromTokenEndpointResponseError
Token endpoint response error returned valid 'error' field
|
||
|
2022-05-11 06:24:38 | SUCCESS |
CheckErrorDescriptionFromTokenEndpointResponseErrorContainsCRLFTAB
token_endpoint_response 'error_description' field does not include CR/LF/TAB
|
||
|
2022-05-11 06:24:38 | SUCCESS |
ValidateErrorDescriptionFromTokenEndpointResponseError
token_endpoint_response error returned valid 'error_description' field
|
||
|
2022-05-11 06:24:38 | SUCCESS |
ValidateErrorUriFromTokenEndpointResponseError
token_endpoint_response did not include optional 'error_uri' field
|
|
2022-05-11 06:24:38 | SUCCESS |
CheckErrorFromTokenEndpointResponseErrorInvalidGrant
Token Endpoint response error returned expected 'error' of 'invalid_grant'
|
||
|
2022-05-11 06:24:38 | SUCCESS |
CheckTokenEndpointHttpStatus400
Token endpoint http status code was 400
|
|
2022-05-11 06:24:38 |
FINISHED
|
fapi-ciba-id1-ensure-wrong-auth-req-id-in-token-endpoint-request
Test has run to completion
|
||
|
Unregister dynamically registered client |
2022-05-11 06:24:38 |
|
UnregisterDynamicallyRegisteredClient
Couldn't find registration_access_token.
|
|
Unregister dynamically registered client2 |
2022-05-11 06:24:38 |
|
UnregisterDynamicallyRegisteredClient
Couldn't find registration_access_token.
|
|
2022-05-11 06:24:48 |
|
TEST-RUNNER
Alias has now been claimed by another test
|
||||
|