Test Name | fapi-rw-id2-ensure-client-assertion-with-no-sub-fails |
---|---|
Variant | private_key_jwt, by_value, consumerdataright_au, plain_response |
Test ID | 5jBdcxjuTz5k6GX https://www.certification.openid.net/log-detail.html?public=true&log=5jBdcxjuTz5k6GX |
Created | 2020-11-17T00:15:08.620284Z |
Description | NAB Certification |
Test Version | 4.1.4 |
Test Owner | 110982540743409783525 https://accounts.google.com |
Plan ID | VIzwhROzb2utY https://www.certification.openid.net/plan-detail.html?public=true&plan=VIzwhROzb2utY |
Exported From | https://www.certification.openid.net |
Exported By | 110982540743409783525 https://accounts.google.com |
Suite Version | 4.1.5 |
Exported | 2020-12-06 05:26:38 (UTC) |
Status: FINISHED Result: PASSED |
SUCCESS 86 FAILURE 0 WARNING 0 REVIEW 0 INFO 1 |
2020-11-17 00:15:08 |
INFO
|
TEST-RUNNER
Test instance 5jBdcxjuTz5k6GX created
|
||||||||||||||
|
2020-11-17 00:15:08 |
SUCCESS
|
CreateRedirectUri
Created redirect URI
|
||
|
2020-11-17 00:15:08 |
|
GetDynamicServerConfiguration
HTTP request
|
||||||||
|
2020-11-17 00:15:09 |
RESPONSE
|
GetDynamicServerConfiguration
HTTP response
|
||||||||
|
2020-11-17 00:15:09 |
|
GetDynamicServerConfiguration
Downloaded server configuration
|
||
|
2020-11-17 00:15:09 |
SUCCESS
|
GetDynamicServerConfiguration
Successfully parsed server configuration
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
2020-11-17 00:15:09 |
SUCCESS
|
CheckServerConfiguration
Found required server configuration keys
|
||
|
2020-11-17 00:15:09 |
SUCCESS
|
ExtractTLSTestValuesFromServerConfiguration
Extracted TLS information from authorization server configuration
|
||||||||
|
2020-11-17 00:15:09 |
|
FetchServerKeys
Fetching server key
|
||
|
2020-11-17 00:15:09 |
|
FetchServerKeys
HTTP request
|
||||||||
|
2020-11-17 00:15:09 |
RESPONSE
|
FetchServerKeys
HTTP response
|
||||||||
|
2020-11-17 00:15:09 |
|
FetchServerKeys
Found JWK set string
|
||
|
2020-11-17 00:15:09 |
SUCCESS
|
FetchServerKeys
Found server JWK set
|
||
|
2020-11-17 00:15:09 |
SUCCESS
|
CheckServerKeysIsValid
Server JWKs is valid
|
||
|
2020-11-17 00:15:09 | SUCCESS |
ValidateServerJWKs
Valid server JWKs: keys are valid JSON, contain the required fields and are correctly encoded using unpadded base64url
|
|
2020-11-17 00:15:09 | SUCCESS |
CheckForKeyIdInServerJWKs
All keys contain kids
|
|
2020-11-17 00:15:09 | SUCCESS |
EnsureServerJwksDoesNotContainPrivateOrSymmetricKeys
Jwks does not contain any private or symmetric keys
|
|
2020-11-17 00:15:09 | SUCCESS |
FAPIEnsureMinimumServerKeyLength
Validated minimum key lengths for server_jwks
|
||
|
2020-11-17 00:15:09 |
SUCCESS
|
GetStaticClientConfiguration
Found a static client object
|
||||||
|
2020-11-17 00:15:09 |
SUCCESS
|
ValidateMTLSCertificatesHeader
MTLS certificates header is valid
|
|
2020-11-17 00:15:09 |
SUCCESS
|
ExtractMTLSCertificatesFromConfiguration
Mutual TLS authentication credentials loaded
|
||||||
|
2020-11-17 00:15:09 | 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
|
|
2020-11-17 00:15:09 |
SUCCESS
|
ExtractJWKsFromStaticClientConfiguration
Extracted client JWK
|
||||
|
2020-11-17 00:15:09 | SUCCESS |
CheckForKeyIdInClientJWKs
All keys contain kids
|
|
2020-11-17 00:15:09 | SUCCESS |
CheckDistinctKeyIdValueInClientJWKs
Distinct 'kid' value in all keys of client_jwks
|
||
|
2020-11-17 00:15:09 | SUCCESS |
FAPICheckKeyAlgInClientJWKs
Found a key with alg PS256 or ES256
|
|
2020-11-17 00:15:09 | SUCCESS |
FAPIEnsureMinimumClientKeyLength
Validated minimum key lengths for client_jwks
|
||
|
2020-11-17 00:15:09 |
SUCCESS
|
ValidateMTLSCertificatesAsX509
Mutual TLS authentication cert validated as X.509
|
|
Verify configuration of second client |
2020-11-17 00:15:09 |
SUCCESS
|
GetStaticClient2Configuration
Found a static second client object
|
||||||
|
2020-11-17 00:15:09 |
SUCCESS
|
ValidateMTLSCertificates2Header
MTLS certificates header is valid
|
|
2020-11-17 00:15:09 |
SUCCESS
|
ExtractMTLSCertificates2FromConfiguration
Mutual TLS authentication credentials loaded
|
||||||
|
2020-11-17 00:15:09 | 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
|
|
2020-11-17 00:15:09 |
SUCCESS
|
ExtractJWKsFromStaticClientConfiguration
Extracted client JWK
|
||||
|
2020-11-17 00:15:09 | SUCCESS |
CheckForKeyIdInClientJWKs
All keys contain kids
|
|
2020-11-17 00:15:09 | SUCCESS |
CheckDistinctKeyIdValueInClientJWKs
Distinct 'kid' value in all keys of client_jwks
|
||
|
2020-11-17 00:15:09 | SUCCESS |
FAPICheckKeyAlgInClientJWKs
Found a key with alg PS256 or ES256
|
|
2020-11-17 00:15:09 | SUCCESS |
FAPIEnsureMinimumClientKeyLength
Validated minimum key lengths for client_jwks
|
||
|
2020-11-17 00:15:09 |
SUCCESS
|
ValidateMTLSCertificatesAsX509
Mutual TLS authentication cert validated as X.509
|
|
2020-11-17 00:15:09 |
SUCCESS
|
GetResourceEndpointConfiguration
Found a resource endpoint object
|
||||||
|
2020-11-17 00:15:09 |
SUCCESS
|
SetProtectedResourceUrlToSingleResourceEndpoint
Set protected resource URL
|
||
|
2020-11-17 00:15:09 |
SUCCESS
|
ExtractTLSTestValuesFromResourceConfiguration
Extracted TLS information from resource endpoint
|
||
|
2020-11-17 00:15:09 |
SUCCESS
|
ExtractTLSTestValuesFromOBResourceConfiguration
Extracted TLS information from resource endpoint
|
||||
|
2020-11-17 00:15:09 |
|
fapi-rw-id2-ensure-client-assertion-with-no-sub-fails
Setup Done
|
|
Make request to authorization endpoint |
2020-11-17 00:15:09 |
SUCCESS
|
CreateAuthorizationEndpointRequestFromClientInformation
Created authorization endpoint request
|
||||||
|
2020-11-17 00:15:09 | SUCCESS |
AddCdrAcrClaimToAuthorizationEndpointRequest
Added acr claim to authorization_endpoint_request
|
||
|
2020-11-17 00:15:09 | SUCCESS |
AddCdrSharingDurationClaimToAuthorizationEndpointRequest
Added sharing_duration claim to authorization_endpoint_request
|
||
|
2020-11-17 00:15:09 |
|
CreateRandomStateValue
Created state value
|
||||
|
2020-11-17 00:15:09 |
SUCCESS
|
AddStateToAuthorizationEndpointRequest
Added state parameter to request
|
||||||||||
|
2020-11-17 00:15:09 |
|
CreateRandomNonceValue
Created nonce value
|
||||
|
2020-11-17 00:15:09 |
SUCCESS
|
AddNonceToAuthorizationEndpointRequest
Added nonce parameter to request
|
||||||||||||
|
2020-11-17 00:15:09 |
SUCCESS
|
SetAuthorizationEndpointRequestResponseTypeToCodeIdtoken
Added response_type parameter to request
|
||||||||||||||
|
2020-11-17 00:15:09 |
SUCCESS
|
ConvertAuthorizationEndpointRequestToRequestObject
Created request object claims
|
||
|
2020-11-17 00:15:09 | SUCCESS |
AddExpToRequestObject
Added exp to request object claims
|
||
|
2020-11-17 00:15:09 | SUCCESS |
AddAudToRequestObject
Added aud to request object claims
|
||
|
2020-11-17 00:15:09 | SUCCESS |
AddIssToRequestObject
Added iss to request object claims
|
||
|
2020-11-17 00:15:09 | SUCCESS |
AddClientIdToRequestObject
Added client_id to request object claims
|
||
|
2020-11-17 00:15:09 |
SUCCESS
|
SignRequestObject
Signed the request object
|
||||||||
|
2020-11-17 00:15:09 |
SUCCESS
|
BuildRequestObjectByValueRedirectToAuthorizationEndpoint
Sending to authorization endpoint
|
||
|
2020-11-17 00:15:09 |
REDIRECT
|
fapi-rw-id2-ensure-client-assertion-with-no-sub-fails
Redirecting to authorization endpoint
|
||
|
2020-11-17 00:15:44 |
INCOMING
|
fapi-rw-id2-ensure-client-assertion-with-no-sub-fails
Incoming HTTP request to test instance 5jBdcxjuTz5k6GX
|
||||||||||||||
|
2020-11-17 00:15:44 |
SUCCESS
|
CreateRandomImplicitSubmitUrl
Created random implicit submission URL
|
||
|
2020-11-17 00:15:44 |
OUTGOING
|
fapi-rw-id2-ensure-client-assertion-with-no-sub-fails
Response to HTTP request to test instance 5jBdcxjuTz5k6GX
|
||||
|
2020-11-17 00:15:45 |
INCOMING
|
fapi-rw-id2-ensure-client-assertion-with-no-sub-fails
Incoming HTTP request to test instance 5jBdcxjuTz5k6GX
|
||||||||||||||
|
2020-11-17 00:15:45 |
OUTGOING
|
fapi-rw-id2-ensure-client-assertion-with-no-sub-fails
Response to HTTP request to test instance 5jBdcxjuTz5k6GX
|
||||||||
|
2020-11-17 00:15:45 |
|
ExtractImplicitHashToCallbackResponse
Extracted response from URL fragment
|
||
|
2020-11-17 00:15:45 |
SUCCESS
|
ExtractImplicitHashToCallbackResponse
Extracted the hash values
|
||||||
|
2020-11-17 00:15:45 |
REDIRECT-IN
|
fapi-rw-id2-ensure-client-assertion-with-no-sub-fails
Authorization endpoint response captured
|
||||||||||
|
Verify authorization endpoint response |
2020-11-17 00:15:45 | SUCCESS |
RejectAuthCodeInUrlQuery
Authorization code is not present in URL query returned from authorization endpoint
|
|
2020-11-17 00:15:45 | SUCCESS |
RejectErrorInUrlQuery
'error' is not present in URL query returned from authorization endpoint
|
|
2020-11-17 00:15:45 |
SUCCESS
|
CheckMatchingCallbackParameters
Callback parameters successfully verified
|
|
2020-11-17 00:15:45 | 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)
|
|
2020-11-17 00:15:45 |
SUCCESS
|
CheckIfAuthorizationEndpointError
No error from authorization endpoint
|
|
2020-11-17 00:15:45 |
SUCCESS
|
ValidateSuccessfulHybridResponseFromAuthorizationEndpoint
authorization endpoint response does not include unexpected parameters
|
||||||
|
2020-11-17 00:15:45 | SUCCESS |
CheckMatchingStateParameter
State parameter correctly returned
|
||
|
2020-11-17 00:15:45 |
SUCCESS
|
ExtractAuthorizationCodeFromAuthorizationResponse
Found authorization code
|
||
|
2020-11-17 00:15:45 | SUCCESS |
EnsureMinimumAuthorizationCodeLength
Authorization code is of sufficient length
|
||||
|
2020-11-17 00:15:45 | SUCCESS |
EnsureMinimumAuthorizationCodeEntropy
Calculated shannon entropy seems sufficient
|
||||
|
2020-11-17 00:15:45 | SUCCESS |
ExtractIdTokenFromAuthorizationResponse
Found and parsed the id_token from authorization_endpoint_response
|
||||||||
|
2020-11-17 00:15:45 | SUCCESS |
ValidateIdToken
ID token iss, aud, exp, iat, auth_time, acr & nbf claims passed validation checks
|
|
2020-11-17 00:15:45 | SUCCESS |
EnsureIdTokenContainsKid
kid was found in the ID token header
|
||
|
2020-11-17 00:15:45 | SUCCESS |
ValidateIdTokenNonce
Nonce values match
|
||
|
2020-11-17 00:15:45 | SUCCESS |
ValidateIdTokenACRClaimAgainstRequest
acr value in id_token is (one of) the requested values
|
||||
|
2020-11-17 00:15:45 | SUCCESS |
ValidateIdTokenSignature
id_token signature validated
|
||
|
2020-11-17 00:15:45 | SUCCESS |
ValidateIdTokenSignatureUsingKid
id_token signature validated
|
||
|
2020-11-17 00:15:45 | SUCCESS |
CheckForSubjectInIdToken
Found 'sub' in id_token
|
||
|
2020-11-17 00:15:45 | SUCCESS |
FAPIValidateIdTokenSigningAlg
id_token was signed with a permitted algorithm
|
||
|
2020-11-17 00:15:45 | SUCCESS |
FAPIValidateIdTokenEncryptionAlg
id_token was encrypted with a permitted algorithm
|
||
|
2020-11-17 00:15:45 | SUCCESS |
FAPIValidateEncryptedIdTokenHasKid
kid was found in the encrypted ID token header
|
||
|
2020-11-17 00:15:45 | SUCCESS |
ValidateIdTokenEncrypted
id_token was encrypted
|
|
2020-11-17 00:15:45 | SUCCESS |
ExtractSHash
Extracted s_hash from ID Token
|
||||
|
2020-11-17 00:15:45 | SUCCESS |
ValidateSHash
s_hash validated successfully
|
||||||
|
2020-11-17 00:15:45 | SUCCESS |
ExtractCHash
Extracted c_hash from ID Token
|
||||
|
2020-11-17 00:15:45 | SUCCESS |
ValidateCHash
c_hash validated successfully
|
||||||
|
2020-11-17 00:15:45 |
SUCCESS
|
CreateTokenEndpointRequestForAuthorizationCodeGrant
|
||||||
|
2020-11-17 00:15:45 |
SUCCESS
|
CreateClientAuthenticationAssertionClaims
Created client assertion claims
|
||||||||||||
|
2020-11-17 00:15:45 |
|
RemoveSubFromClientAssertionClaims
Removed 'sub' from client_assertion_claims, making it invalid
|
||||||||||
|
2020-11-17 00:15:46 |
SUCCESS
|
SignClientAuthenticationAssertion
Signed the client assertion
|
||
|
2020-11-17 00:15:46 |
|
AddClientAssertionToTokenEndpointRequest
Added client assertion
|
||||||||||
|
2020-11-17 00:15:46 |
|
CallTokenEndpointAndReturnFullResponse
HTTP request
|
||||||||||
|
2020-11-17 00:15:48 |
RESPONSE
|
CallTokenEndpointAndReturnFullResponse
HTTP response
|
||||||||
|
2020-11-17 00:15:48 | SUCCESS |
CallTokenEndpointAndReturnFullResponse
Parsed token endpoint response
|
||||
|
2020-11-17 00:15:48 | SUCCESS |
CheckTokenEndpointReturnedJsonContentType
token_endpoint_response_headers Content-Type: header is application/json
|
|
2020-11-17 00:15:48 | SUCCESS |
ValidateErrorFromTokenEndpointResponseError
Token endpoint response error returned valid 'error' field
|
||
|
2020-11-17 00:15:48 | SUCCESS |
CheckErrorDescriptionFromTokenEndpointResponseErrorContainsCRLFTAB
token_endpoint_response 'error_description' field does not include CR/LF/TAB
|
||
|
2020-11-17 00:15:48 | SUCCESS |
ValidateErrorDescriptionFromTokenEndpointResponseError
token_endpoint_response error returned valid 'error_description' field
|
||
|
2020-11-17 00:15:48 | SUCCESS |
ValidateErrorUriFromTokenEndpointResponseError
token_endpoint_response did not include optional 'error_uri' field
|
|
2020-11-17 00:15:48 | SUCCESS |
CheckTokenEndpointHttpStatusForInvalidRequestOrInvalidClientError
Token endpoint http status code was 400 for error 'invalid_request'
|
|
2020-11-17 00:15:48 | SUCCESS |
CheckErrorFromTokenEndpointResponseErrorInvalidClientOrInvalidRequest
Token endpoint returned an expected error
|
||||
|
2020-11-17 00:15:48 |
FINISHED
|
fapi-rw-id2-ensure-client-assertion-with-no-sub-fails
Test has run to completion
|
||
|
2020-11-17 00:16:13 |
|
TEST-RUNNER
Alias has now been claimed by another test
|
||||
|