Test Name | fapi1-advanced-final-par-ensure-pkce-required |
---|---|
Variant | client_auth_type=mtls, fapi_auth_request_method=pushed, fapi_profile=plain_fapi, fapi_response_mode=jarm |
Test ID | xzSJDnDUG4y8SRc https://www.certification.openid.net/log-detail.html?public=true&log=xzSJDnDUG4y8SRc |
Created | 2022-11-17T08:27:12.172597Z |
Description | |
Test Version | 5.0.7 |
Test Owner | 11547427 https://gitlab.com |
Plan ID | MSTOCQmfu1DvE https://www.certification.openid.net/plan-detail.html?public=true&plan=MSTOCQmfu1DvE |
Exported From | https://www.certification.openid.net |
Exported By | 11547427 https://gitlab.com |
Suite Version | 5.0.7 |
Exported | 2022-11-17 08:40:08 (UTC) |
Status: FINISHED Result: PASSED |
SUCCESS 68 FAILURE 0 WARNING 0 REVIEW 1 INFO 1 |
2022-11-17 08:27:12 |
INFO
|
TEST-RUNNER
Test instance xzSJDnDUG4y8SRc created
|
||||||||||||||
|
2022-11-17 08:27:12 |
SUCCESS
|
CreateRedirectUri
Created redirect URI
|
||
|
2022-11-17 08:27:12 |
|
GetDynamicServerConfiguration
HTTP request
|
||||||||
|
2022-11-17 08:27:28 |
RESPONSE
|
GetDynamicServerConfiguration
HTTP response
|
||||||||
|
2022-11-17 08:27:28 |
SUCCESS
|
GetDynamicServerConfiguration
Successfully parsed server configuration
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
2022-11-17 08:27:28 | SUCCESS |
AddMTLSEndpointAliasesToEnvironment
Added mtls_endpoint_aliases to environment
|
|
2022-11-17 08:27:28 |
SUCCESS
|
CheckServerConfiguration
Found required server configuration keys
|
||
|
2022-11-17 08:27:28 |
|
FetchServerKeys
Fetching server key
|
||
|
2022-11-17 08:27:28 |
|
FetchServerKeys
HTTP request
|
||||||||
|
2022-11-17 08:27:29 |
RESPONSE
|
FetchServerKeys
HTTP response
|
||||||||
|
2022-11-17 08:27:29 |
|
FetchServerKeys
Found JWK set string
|
||
|
2022-11-17 08:27:29 |
SUCCESS
|
FetchServerKeys
Found server JWK set
|
||
|
2022-11-17 08:27:29 |
SUCCESS
|
CheckServerKeysIsValid
Server JWKs is valid
|
||
|
2022-11-17 08:27:29 | SUCCESS |
ValidateServerJWKs
Valid server JWKs: keys are valid JSON, contain the required fields and are correctly encoded using unpadded base64url
|
|
2022-11-17 08:27:29 | SUCCESS |
CheckForKeyIdInServerJWKs
All keys contain kids
|
|
2022-11-17 08:27:29 | SUCCESS |
EnsureServerJwksDoesNotContainPrivateOrSymmetricKeys
Jwks does not contain any private or symmetric keys
|
|
2022-11-17 08:27:29 | SUCCESS |
FAPIEnsureMinimumServerKeyLength
Validated minimum key lengths for server_jwks
|
||
|
2022-11-17 08:27:29 |
SUCCESS
|
GetStaticClientConfiguration
Found a static client object
|
||||||||||
|
2022-11-17 08:27:29 |
SUCCESS
|
ValidateMTLSCertificatesHeader
MTLS certificates header is valid
|
|
2022-11-17 08:27:29 |
SUCCESS
|
ExtractMTLSCertificatesFromConfiguration
Mutual TLS authentication credentials loaded
|
||||||
|
2022-11-17 08:27:29 | 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-11-17 08:27:29 |
SUCCESS
|
ExtractJWKsFromStaticClientConfiguration
Extracted client JWK
|
||||
|
2022-11-17 08:27:29 | SUCCESS |
CheckForKeyIdInClientJWKs
All keys contain kids
|
|
2022-11-17 08:27:29 | SUCCESS |
CheckDistinctKeyIdValueInClientJWKs
Distinct 'kid' value in all keys of client_jwks
|
||
|
2022-11-17 08:27:29 | SUCCESS |
FAPICheckKeyAlgInClientJWKs
Keys in client JWKS all have permitted 'alg'
|
||
|
2022-11-17 08:27:29 | SUCCESS |
FAPIEnsureMinimumClientKeyLength
Validated minimum key lengths for client_jwks
|
||
|
2022-11-17 08:27:29 |
SUCCESS
|
ValidateMTLSCertificatesAsX509
Mutual TLS authentication cert validated as X.509
|
|
Verify configuration of second client |
2022-11-17 08:27:29 |
SUCCESS
|
GetStaticClient2Configuration
Found a static second client object
|
||||||||
|
2022-11-17 08:27:29 |
SUCCESS
|
ValidateMTLSCertificates2Header
MTLS certificates header is valid
|
|
2022-11-17 08:27:29 |
SUCCESS
|
ExtractMTLSCertificates2FromConfiguration
Mutual TLS authentication credentials loaded
|
||||||
|
2022-11-17 08:27:29 | 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-11-17 08:27:29 |
SUCCESS
|
ExtractJWKsFromStaticClientConfiguration
Extracted client JWK
|
||||
|
2022-11-17 08:27:29 | SUCCESS |
CheckForKeyIdInClientJWKs
All keys contain kids
|
|
2022-11-17 08:27:29 | SUCCESS |
CheckDistinctKeyIdValueInClientJWKs
Distinct 'kid' value in all keys of client_jwks
|
||
|
2022-11-17 08:27:29 | SUCCESS |
FAPICheckKeyAlgInClientJWKs
Keys in client JWKS all have permitted 'alg'
|
||
|
2022-11-17 08:27:29 | SUCCESS |
FAPIEnsureMinimumClientKeyLength
Validated minimum key lengths for client_jwks
|
||
|
2022-11-17 08:27:29 |
SUCCESS
|
ValidateMTLSCertificatesAsX509
Mutual TLS authentication cert validated as X.509
|
|
2022-11-17 08:27:29 |
SUCCESS
|
ValidateClientPrivateKeysAreDifferent
Client signing JWKs have different thumbprints
|
||||
|
2022-11-17 08:27:29 |
SUCCESS
|
GetResourceEndpointConfiguration
Found a resource endpoint object
|
||
|
2022-11-17 08:27:29 |
SUCCESS
|
SetProtectedResourceUrlToSingleResourceEndpoint
Set protected resource URL
|
||
|
2022-11-17 08:27:29 |
SUCCESS
|
ExtractTLSTestValuesFromResourceConfiguration
Extracted TLS information from resource endpoint
|
||
|
2022-11-17 08:27:29 |
SUCCESS
|
ExtractTLSTestValuesFromOBResourceConfiguration
Extracted TLS information from resource endpoint
|
||||
|
2022-11-17 08:27:29 |
|
fapi1-advanced-final-par-ensure-pkce-required
Setup Done
|
|
Make request to authorization endpoint |
2022-11-17 08:27:29 |
SUCCESS
|
CreateAuthorizationEndpointRequestFromClientInformation
Created authorization endpoint request
|
||||||
|
2022-11-17 08:27:29 |
SUCCESS
|
AddAcrClaimToAuthorizationEndpointRequest
Added acr claim to authorization_endpoint_request
|
||
|
2022-11-17 08:27:29 |
|
CreateRandomStateValue
Created state value
|
||||
|
2022-11-17 08:27:29 |
SUCCESS
|
AddStateToAuthorizationEndpointRequest
Added state parameter to request
|
||||||||||
|
2022-11-17 08:27:29 |
|
CreateRandomNonceValue
Created nonce value
|
||||
|
2022-11-17 08:27:29 |
SUCCESS
|
AddNonceToAuthorizationEndpointRequest
Added nonce parameter to request
|
||||||||||||
|
2022-11-17 08:27:29 |
SUCCESS
|
SetAuthorizationEndpointRequestResponseTypeToCode
Added response_type parameter to request
|
||||||||||||||
|
2022-11-17 08:27:29 |
SUCCESS
|
SetAuthorizationEndpointRequestResponseModeToJWT
Added response_mode parameter to request
|
||||||||||||||||
|
2022-11-17 08:27:29 |
SUCCESS
|
ConvertAuthorizationEndpointRequestToRequestObject
Created request object claims
|
||
|
2022-11-17 08:27:29 | SUCCESS |
AddNbfToRequestObject
Added nbf to request object claims
|
||
|
2022-11-17 08:27:29 | SUCCESS |
AddExpToRequestObject
Added exp to request object claims
|
||
|
2022-11-17 08:27:29 | SUCCESS |
AddAudToRequestObject
Added aud to request object claims
|
||
|
2022-11-17 08:27:29 | SUCCESS |
AddIssToRequestObject
Added iss to request object claims
|
||
|
2022-11-17 08:27:29 | SUCCESS |
AddClientIdToRequestObject
Added client_id to request object claims
|
||
|
2022-11-17 08:27:29 |
SUCCESS
|
SignRequestObject
Signed the request object
|
||||||||
|
2022-11-17 08:27:29 |
SUCCESS
|
BuildRequestObjectPostToPAREndpoint
|
||
|
2022-11-17 08:27:29 |
SUCCESS
|
AddClientIdToPAREndpointRequest
|
||||
|
2022-11-17 08:27:29 |
|
CallPAREndpoint
HTTP request
|
||||||||||
|
2022-11-17 08:27:31 |
RESPONSE
|
CallPAREndpoint
HTTP response
|
||||||||
|
2022-11-17 08:27:31 | SUCCESS |
CallPAREndpoint
Parsed pushed authorization request endpoint response
|
||||
|
2022-11-17 08:27:31 | SUCCESS |
CheckPAREndpointResponse201WithNoError
pushed authorization request endpoint correct response.
|
|
2022-11-17 08:27:31 | SUCCESS |
CheckForRequestUriValue
Found valid request_uri
|
||
|
2022-11-17 08:27:31 | SUCCESS |
CheckForPARResponseExpiresIn
Found expires_in
|
||
|
2022-11-17 08:27:31 |
SUCCESS
|
ExtractRequestUriFromPARResponse
Extracted the request_uri: urn:ietf:params:oauth:request_uri:9Bzw2hCreHFenqMxFDc1ASA5mByYLDZYQr-fa1WsrTQ
|
|
2022-11-17 08:27:31 | SUCCESS |
EnsureMinimumRequestUriEntropy
Calculated shannon entropy seems sufficient
|
||||||
|
2022-11-17 08:27:31 | SUCCESS |
BuildRequestObjectByReferenceRedirectToAuthorizationEndpoint
Sending to authorization endpoint
|
||
|
2022-11-17 08:27:31 |
REDIRECT
|
fapi1-advanced-final-par-ensure-pkce-required
Redirecting to authorization endpoint
|
||
|
2022-11-17 08:27:31 | REVIEW |
ExpectPkceMissingErrorPage
Show an error page saying PKCE / code_challenge / code_challenge_method are missing from the request.
|
||
|
2022-11-17 08:27:40 |
INCOMING
|
fapi1-advanced-final-par-ensure-pkce-required
Incoming HTTP request to /test/a/ISVAOP/callback
|
||||||||||||||||||||||
|
2022-11-17 08:27:40 |
SUCCESS
|
CreateRandomImplicitSubmitUrl
Created random implicit submission URL
|
||
|
2022-11-17 08:27:40 |
OUTGOING
|
fapi1-advanced-final-par-ensure-pkce-required
Response to HTTP request to test instance xzSJDnDUG4y8SRc
|
||||
|
2022-11-17 08:27:40 |
INCOMING
|
fapi1-advanced-final-par-ensure-pkce-required
Incoming HTTP request to /test/a/ISVAOP/implicit/nmK4wI93wdVulBSm34jl
|
||||||||||||||||||||||
|
2022-11-17 08:27:40 |
OUTGOING
|
fapi1-advanced-final-par-ensure-pkce-required
Response to HTTP request to test instance xzSJDnDUG4y8SRc
|
||||||||
|
2022-11-17 08:27:40 |
SUCCESS
|
ExtractImplicitHashToCallbackResponse
implicit_hash is empty
|
|
2022-11-17 08:27:40 |
REDIRECT-IN
|
fapi1-advanced-final-par-ensure-pkce-required
Authorization endpoint response captured
|
||||||||||
|
Verify authorization endpoint response |
2022-11-17 08:27:40 | SUCCESS |
ExtractJARMFromURLQuery
Found and parsed the jarm_response from callback_query_params
|
||||||
|
2022-11-17 08:27:40 | SUCCESS |
RejectNonJarmResponsesInUrlQuery
Authorization endpoint response only includes the JARM JWT.
|
|
2022-11-17 08:27:40 |
SUCCESS
|
ExtractAuthorizationEndpointResponseFromJARMResponse
Extracted the authorization response
|
||||||||
|
2022-11-17 08:27:40 | SUCCESS |
ValidateJARMResponse
JARM response standard JWT claims are valid
|
|
2022-11-17 08:27:40 |
SUCCESS
|
FAPI1ValidateJarmSigningAlg
JARM response was signed with a permitted algorithm
|
||||
|
2022-11-17 08:27:40 | SUCCESS |
ValidateJARMExpRecommendations
JARM response 'exp' is less than 10 minutes
|
||||
|
2022-11-17 08:27:40 | SUCCESS |
ValidateJARMSignatureUsingKid
jarm_response signature validated
|
||
|
2022-11-17 08:27:40 | SUCCESS |
RejectAuthCodeInUrlQuery
Authorization code is not present in URL query returned from authorization endpoint
|
|
2022-11-17 08:27:40 | SUCCESS |
EnsureInvalidRequestError
Authorization endpoint returned expected 'error' of 'invalid_request'
|
||
|
2022-11-17 08:27:40 |
FINISHED
|
fapi1-advanced-final-par-ensure-pkce-required
Test has run to completion
|
||
|
2022-11-17 08:27:49 |
|
TEST-RUNNER
Alias has now been claimed by another test
|
||||
|