Test Name | fapi1-advanced-final-ensure-request-object-without-scope-fails |
---|---|
Variant | client_auth_type=private_key_jwt, fapi_auth_request_method=pushed, fapi_profile=consumerdataright_au, fapi_response_mode=plain_response |
Test ID | WoR9gEjWNh4exLS https://www.certification.openid.net/log-detail.html?public=true&log=WoR9gEjWNh4exLS |
Created | 2022-05-13T12:45:42.444495Z |
Description | Keycloak, FAPI-AUS-CDR,PAR: Australian CDR test with private_key_jwt client authentication (RequestObject:PS256/IDToken:PS256) |
Test Version | 4.1.42 |
Test Owner | 115310558227229560855 https://accounts.google.com |
Plan ID | klFmme0exwI6N https://www.certification.openid.net/plan-detail.html?public=true&plan=klFmme0exwI6N |
Exported From | https://www.certification.openid.net |
Exported By | 115310558227229560855 https://accounts.google.com |
Suite Version | 4.1.42 |
Exported | 2022-05-13 13:00:34 (UTC) |
Status: FINISHED Result: PASSED |
SUCCESS 71 FAILURE 0 WARNING 0 REVIEW 1 INFO 1 |
2022-05-13 12:45:42 |
INFO
|
TEST-RUNNER
Test instance WoR9gEjWNh4exLS created
|
||||||||||||||
|
2022-05-13 12:45:42 |
SUCCESS
|
CreateRedirectUri
Created redirect URI
|
||
|
2022-05-13 12:45:42 |
|
GetDynamicServerConfiguration
HTTP request
|
||||||||
|
2022-05-13 12:45:43 |
RESPONSE
|
GetDynamicServerConfiguration
HTTP response
|
||||||||
|
2022-05-13 12:45:43 |
SUCCESS
|
GetDynamicServerConfiguration
Successfully parsed server configuration
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
2022-05-13 12:45:43 | SUCCESS |
AddMTLSEndpointAliasesToEnvironment
Added mtls_endpoint_aliases to environment
|
|
2022-05-13 12:45:43 |
SUCCESS
|
CheckServerConfiguration
Found required server configuration keys
|
||
|
2022-05-13 12:45:43 |
|
FetchServerKeys
Fetching server key
|
||
|
2022-05-13 12:45:43 |
|
FetchServerKeys
HTTP request
|
||||||||
|
2022-05-13 12:45:44 |
RESPONSE
|
FetchServerKeys
HTTP response
|
||||||||
|
2022-05-13 12:45:44 |
|
FetchServerKeys
Found JWK set string
|
||
|
2022-05-13 12:45:44 |
SUCCESS
|
FetchServerKeys
Found server JWK set
|
||
|
2022-05-13 12:45:44 |
SUCCESS
|
CheckServerKeysIsValid
Server JWKs is valid
|
||
|
2022-05-13 12:45:44 | SUCCESS |
ValidateServerJWKs
Valid server JWKs: keys are valid JSON, contain the required fields and are correctly encoded using unpadded base64url
|
|
2022-05-13 12:45:44 | SUCCESS |
CheckForKeyIdInServerJWKs
All keys contain kids
|
|
2022-05-13 12:45:44 | SUCCESS |
EnsureServerJwksDoesNotContainPrivateOrSymmetricKeys
Jwks does not contain any private or symmetric keys
|
|
2022-05-13 12:45:44 | SUCCESS |
FAPIEnsureMinimumServerKeyLength
Validated minimum key lengths for server_jwks
|
||
|
2022-05-13 12:45:44 |
SUCCESS
|
GetStaticClientConfiguration
Found a static client object
|
||||||
|
2022-05-13 12:45:44 |
|
ValidateMTLSCertificatesHeader
No certificate authority found for MTLS
|
|
2022-05-13 12:45:44 |
SUCCESS
|
ValidateMTLSCertificatesHeader
MTLS certificates header is valid
|
|
2022-05-13 12:45:44 |
|
ExtractMTLSCertificatesFromConfiguration
No certificate authority found for MTLS
|
|
2022-05-13 12:45:44 |
SUCCESS
|
ExtractMTLSCertificatesFromConfiguration
Mutual TLS authentication credentials loaded
|
||||
|
2022-05-13 12:45:44 | 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-13 12:45:44 |
SUCCESS
|
ExtractJWKsFromStaticClientConfiguration
Extracted client JWK
|
||||
|
2022-05-13 12:45:44 | SUCCESS |
CheckForKeyIdInClientJWKs
All keys contain kids
|
|
2022-05-13 12:45:44 | SUCCESS |
CheckDistinctKeyIdValueInClientJWKs
Distinct 'kid' value in all keys of client_jwks
|
||
|
2022-05-13 12:45:44 | SUCCESS |
FAPICheckKeyAlgInClientJWKs
Keys in client JWKS all have permitted 'alg'
|
||
|
2022-05-13 12:45:44 | SUCCESS |
FAPIEnsureMinimumClientKeyLength
Validated minimum key lengths for client_jwks
|
||
|
2022-05-13 12:45:44 |
SUCCESS
|
ValidateMTLSCertificatesAsX509
Mutual TLS authentication cert validated as X.509
|
|
Verify configuration of second client |
2022-05-13 12:45:44 |
SUCCESS
|
GetStaticClient2Configuration
Found a static second client object
|
||||||
|
2022-05-13 12:45:44 |
|
ValidateMTLSCertificates2Header
No certificate authority found for MTLS
|
|
2022-05-13 12:45:44 |
SUCCESS
|
ValidateMTLSCertificates2Header
MTLS certificates header is valid
|
|
2022-05-13 12:45:44 |
|
ExtractMTLSCertificates2FromConfiguration
No certificate authority found for MTLS
|
|
2022-05-13 12:45:44 |
SUCCESS
|
ExtractMTLSCertificates2FromConfiguration
Mutual TLS authentication credentials loaded
|
||||
|
2022-05-13 12:45:44 | 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-13 12:45:44 |
SUCCESS
|
ExtractJWKsFromStaticClientConfiguration
Extracted client JWK
|
||||
|
2022-05-13 12:45:44 | SUCCESS |
CheckForKeyIdInClientJWKs
All keys contain kids
|
|
2022-05-13 12:45:44 | SUCCESS |
CheckDistinctKeyIdValueInClientJWKs
Distinct 'kid' value in all keys of client_jwks
|
||
|
2022-05-13 12:45:44 | SUCCESS |
FAPICheckKeyAlgInClientJWKs
Keys in client JWKS all have permitted 'alg'
|
||
|
2022-05-13 12:45:44 | SUCCESS |
FAPIEnsureMinimumClientKeyLength
Validated minimum key lengths for client_jwks
|
||
|
2022-05-13 12:45:44 |
SUCCESS
|
ValidateMTLSCertificatesAsX509
Mutual TLS authentication cert validated as X.509
|
|
2022-05-13 12:45:44 |
SUCCESS
|
ValidateClientPrivateKeysAreDifferent
Client signing JWKs have different thumbprints
|
||||
|
2022-05-13 12:45:44 |
SUCCESS
|
GetResourceEndpointConfiguration
Found a resource endpoint object
|
||||
|
2022-05-13 12:45:44 |
SUCCESS
|
SetProtectedResourceUrlToSingleResourceEndpoint
Set protected resource URL
|
||
|
2022-05-13 12:45:44 |
SUCCESS
|
ExtractTLSTestValuesFromResourceConfiguration
Extracted TLS information from resource endpoint
|
||
|
2022-05-13 12:45:44 |
SUCCESS
|
ExtractTLSTestValuesFromOBResourceConfiguration
Extracted TLS information from resource endpoint
|
||||
|
2022-05-13 12:45:44 |
|
fapi1-advanced-final-ensure-request-object-without-scope-fails
Setup Done
|
|
Make request to authorization endpoint |
2022-05-13 12:45:44 |
SUCCESS
|
CreateAuthorizationEndpointRequestFromClientInformation
Created authorization endpoint request
|
||||||
|
2022-05-13 12:45:44 | SUCCESS |
AddCdrAcrClaimToAuthorizationEndpointRequest
Added acr claim to authorization_endpoint_request
|
||
|
2022-05-13 12:45:44 | SUCCESS |
AddCdrSharingDurationClaimToAuthorizationEndpointRequest
Added sharing_duration claim to authorization_endpoint_request
|
||
|
2022-05-13 12:45:44 |
|
CreateRandomStateValue
Created state value
|
||||
|
2022-05-13 12:45:44 |
SUCCESS
|
AddStateToAuthorizationEndpointRequest
Added state parameter to request
|
||||||||||
|
2022-05-13 12:45:44 |
|
CreateRandomNonceValue
Created nonce value
|
||||
|
2022-05-13 12:45:44 |
SUCCESS
|
AddNonceToAuthorizationEndpointRequest
Added nonce parameter to request
|
||||||||||||
|
2022-05-13 12:45:44 |
SUCCESS
|
SetAuthorizationEndpointRequestResponseTypeToCodeIdtoken
Added response_type parameter to request
|
||||||||||||||
|
2022-05-13 12:45:44 |
|
CreateRandomCodeVerifier
Created code_verifier value
|
||
|
2022-05-13 12:45:44 |
|
CreateS256CodeChallenge
Created code_challenge value
|
||
|
2022-05-13 12:45:44 | SUCCESS |
AddCodeChallengeToAuthorizationEndpointRequest
Added code_challenge and code_challenge_method parameters to request
|
||||||||||||||||||
|
2022-05-13 12:45:44 |
SUCCESS
|
ConvertAuthorizationEndpointRequestToRequestObject
Created request object claims
|
||
|
2022-05-13 12:45:44 |
SUCCESS
|
RemoveScopeFromRequestObject
Removed scope value from request object claims
|
||
|
2022-05-13 12:45:44 | SUCCESS |
AddNbfToRequestObject
Added nbf to request object claims
|
||
|
2022-05-13 12:45:44 | SUCCESS |
AddExpToRequestObject
Added exp to request object claims
|
||
|
2022-05-13 12:45:44 | SUCCESS |
AddAudToRequestObject
Added aud to request object claims
|
||
|
2022-05-13 12:45:44 | SUCCESS |
AddIssToRequestObject
Added iss to request object claims
|
||
|
2022-05-13 12:45:44 | SUCCESS |
AddClientIdToRequestObject
Added client_id to request object claims
|
||
|
2022-05-13 12:45:44 |
SUCCESS
|
SignRequestObject
Signed the request object
|
||||||||
|
2022-05-13 12:45:44 |
SUCCESS
|
BuildRequestObjectPostToPAREndpoint
|
||
|
2022-05-13 12:45:44 |
SUCCESS
|
CreateClientAuthenticationAssertionClaims
Created client assertion claims
|
||||||||||||
|
2022-05-13 12:45:44 | SUCCESS |
UpdateClientAuthenticationAssertionClaimsWithISSAud
Updated audience in client assertion claims
|
||||||||||||
|
2022-05-13 12:45:44 |
SUCCESS
|
SignClientAuthenticationAssertion
Signed the client assertion
|
||
|
2022-05-13 12:45:44 |
SUCCESS
|
AddClientAssertionToPAREndpointParameters
Added client assertion to request
|
||
|
2022-05-13 12:45:44 |
|
CallPAREndpoint
HTTP request
|
||||||||||
|
2022-05-13 12:45:45 |
RESPONSE
|
CallPAREndpoint
HTTP response
|
||||||||
|
2022-05-13 12:45:45 | SUCCESS |
CallPAREndpoint
Storing pushed_authorization_endpoint_response_http_status 201
|
|
2022-05-13 12:45:45 | SUCCESS |
CallPAREndpoint
Parsed pushed authorization request endpoint response
|
||||
|
2022-05-13 12:45:45 | SUCCESS |
CheckIfPAREndpointResponseError
pushed authorization request endpoint correct response.
|
|
2022-05-13 12:45:45 | SUCCESS |
CheckForRequestUriValue
Found valid request_uri
|
||
|
2022-05-13 12:45:45 | SUCCESS |
CheckForPARResponseExpiresIn
Found expires_in
|
||
|
2022-05-13 12:45:45 |
SUCCESS
|
ExtractRequestUriFromPARResponse
Extracted the request_uri: urn:ietf:params:oauth:request_uri:c15b278f-03f2-4b74-9642-52dcbf15da4e
|
|
2022-05-13 12:45:45 | SUCCESS |
EnsureMinimumRequestUriEntropy
Calculated shannon entropy seems sufficient
|
||||||
|
2022-05-13 12:45:45 | SUCCESS |
BuildRequestObjectByReferenceRedirectToAuthorizationEndpoint
Sending to authorization endpoint
|
||
|
2022-05-13 12:45:45 |
REDIRECT
|
fapi1-advanced-final-ensure-request-object-without-scope-fails
Redirecting to authorization endpoint
|
||
|
2022-05-13 12:45:45 | REVIEW |
ExpectRequestObjectMissingScopeErrorPage
If the server does not return an invalid_request_object error back to the client, it must show an error page saying the request object is invalid as it is missing the 'scope' claim - upload a screenshot of the error page.
|
||
|
2022-05-13 12:45:47 |
INCOMING
|
fapi1-advanced-final-ensure-request-object-without-scope-fails
Incoming HTTP request to /test/a/keycloak/callback
|
||||||||||||||||||||
|
2022-05-13 12:45:47 |
SUCCESS
|
CreateRandomImplicitSubmitUrl
Created random implicit submission URL
|
||
|
2022-05-13 12:45:47 |
OUTGOING
|
fapi1-advanced-final-ensure-request-object-without-scope-fails
Response to HTTP request to test instance WoR9gEjWNh4exLS
|
||||
|
2022-05-13 12:45:48 |
INCOMING
|
fapi1-advanced-final-ensure-request-object-without-scope-fails
Incoming HTTP request to /test/a/keycloak/implicit/3kpNAqZ8AItv7jRbcABn
|
||||||||||||||||||||
|
2022-05-13 12:45:48 |
OUTGOING
|
fapi1-advanced-final-ensure-request-object-without-scope-fails
Response to HTTP request to test instance WoR9gEjWNh4exLS
|
||||||||
|
2022-05-13 12:45:48 |
|
ExtractImplicitHashToCallbackResponse
Extracted response from URL fragment
|
||
|
2022-05-13 12:45:48 |
SUCCESS
|
ExtractImplicitHashToCallbackResponse
Extracted the hash values
|
||||||
|
2022-05-13 12:45:48 |
REDIRECT-IN
|
fapi1-advanced-final-ensure-request-object-without-scope-fails
Authorization endpoint response captured
|
||||||||||
|
Verify authorization endpoint response |
2022-05-13 12:45:48 | SUCCESS |
RejectErrorInUrlQuery
'error' is not present in URL query returned from authorization endpoint
|
|
2022-05-13 12:45:48 | SUCCESS |
RejectAuthCodeInUrlQuery
Authorization code is not present in URL query returned from authorization endpoint
|
|
2022-05-13 12:45:48 |
SUCCESS
|
CheckStateInAuthorizationResponse
State in response correctly returned
|
||
|
2022-05-13 12:45:48 | SUCCESS |
EnsureErrorFromAuthorizationEndpointResponse
Authorization endpoint returned an error
|
||||||
|
2022-05-13 12:45:48 | SUCCESS |
CheckForUnexpectedParametersInErrorResponseFromAuthorizationEndpoint
error response includes only expected parameters
|
||||||
|
2022-05-13 12:45:48 | SUCCESS |
EnsureInvalidRequestInvalidRequestObjectInvalidRequestUriOrAccessDeniedError
Authorization endpoint returned an expected 'error'
|
||||
|
2022-05-13 12:45:48 |
FINISHED
|
fapi1-advanced-final-ensure-request-object-without-scope-fails
Test has run to completion
|
||
|
2022-05-13 12:45:54 |
|
TEST-RUNNER
Alias has now been claimed by another test
|
||||
|