Test Name | fapi-rw-id2-user-rejects-authentication |
---|---|
Variant | private_key_jwt, pushed, consumerdataright_au, plain_response |
Test ID | WA9jcvQpeyMFQE3 https://www.certification.openid.net/log-detail.html?public=true&log=WA9jcvQpeyMFQE3 |
Created | 2021-02-05T03:21:58.852407Z |
Description | conformance suite instructions example using Authlete FAPI-RW with private_key |
Test Version | 4.1.6 |
Test Owner | 8126114 https://gitlab.com |
Plan ID | kZOEPbHs0xM1m https://www.certification.openid.net/plan-detail.html?public=true&plan=kZOEPbHs0xM1m |
Exported From | https://www.certification.openid.net |
Exported By | 8126114 https://gitlab.com |
Suite Version | 4.1.6 |
Exported | 2021-03-03 14:35:54 (UTC) |
Status: FINISHED Result: PASSED |
SUCCESS 104 FAILURE 0 WARNING 0 REVIEW 0 INFO 1 |
2021-02-05 03:21:58 |
INFO
|
TEST-RUNNER
Test instance WA9jcvQpeyMFQE3 created
|
||||||||||||||
|
2021-02-05 03:21:58 |
SUCCESS
|
CreateRedirectUri
Created redirect URI
|
||
|
2021-02-05 03:21:58 |
|
GetDynamicServerConfiguration
HTTP request
|
||||||||
|
2021-02-05 03:21:59 |
RESPONSE
|
GetDynamicServerConfiguration
HTTP response
|
||||||||
|
2021-02-05 03:21:59 |
|
GetDynamicServerConfiguration
Downloaded server configuration
|
||
|
2021-02-05 03:21:59 |
SUCCESS
|
GetDynamicServerConfiguration
Successfully parsed server configuration
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
2021-02-05 03:21:59 |
SUCCESS
|
CheckServerConfiguration
Found required server configuration keys
|
||
|
2021-02-05 03:21:59 |
SUCCESS
|
ExtractTLSTestValuesFromServerConfiguration
Extracted TLS information from authorization server configuration
|
||||||||
|
2021-02-05 03:21:59 |
|
FetchServerKeys
Fetching server key
|
||
|
2021-02-05 03:21:59 |
|
FetchServerKeys
HTTP request
|
||||||||
|
2021-02-05 03:21:59 |
RESPONSE
|
FetchServerKeys
HTTP response
|
||||||||
|
2021-02-05 03:21:59 |
|
FetchServerKeys
Found JWK set string
|
||
|
2021-02-05 03:21:59 |
SUCCESS
|
FetchServerKeys
Found server JWK set
|
||
|
2021-02-05 03:21:59 |
SUCCESS
|
CheckServerKeysIsValid
Server JWKs is valid
|
||
|
2021-02-05 03:21:59 | SUCCESS |
ValidateServerJWKs
Valid server JWKs: keys are valid JSON, contain the required fields and are correctly encoded using unpadded base64url
|
|
2021-02-05 03:21:59 | SUCCESS |
CheckForKeyIdInServerJWKs
All keys contain kids
|
|
2021-02-05 03:21:59 | SUCCESS |
EnsureServerJwksDoesNotContainPrivateOrSymmetricKeys
Jwks does not contain any private or symmetric keys
|
|
2021-02-05 03:21:59 | SUCCESS |
FAPIEnsureMinimumServerKeyLength
Validated minimum key lengths for server_jwks
|
||
|
2021-02-05 03:21:59 |
SUCCESS
|
GetStaticClientConfiguration
Found a static client object
|
||||||||
|
2021-02-05 03:21:59 |
SUCCESS
|
ValidateMTLSCertificatesHeader
MTLS certificates header is valid
|
|
2021-02-05 03:21:59 |
SUCCESS
|
ExtractMTLSCertificatesFromConfiguration
Mutual TLS authentication credentials loaded
|
||||||
|
2021-02-05 03:21:59 | 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-02-05 03:21:59 |
SUCCESS
|
ExtractJWKsFromStaticClientConfiguration
Extracted client JWK
|
||||
|
2021-02-05 03:21:59 | SUCCESS |
CheckForKeyIdInClientJWKs
All keys contain kids
|
|
2021-02-05 03:21:59 | SUCCESS |
CheckDistinctKeyIdValueInClientJWKs
Distinct 'kid' value in all keys of client_jwks
|
||
|
2021-02-05 03:21:59 | SUCCESS |
FAPICheckKeyAlgInClientJWKs
Found a key with alg PS256 or ES256
|
|
2021-02-05 03:21:59 | SUCCESS |
FAPIEnsureMinimumClientKeyLength
Validated minimum key lengths for client_jwks
|
||
|
2021-02-05 03:21:59 |
SUCCESS
|
ValidateMTLSCertificatesAsX509
Mutual TLS authentication cert validated as X.509
|
|
Verify configuration of second client |
2021-02-05 03:21:59 |
SUCCESS
|
GetStaticClient2Configuration
Found a static second client object
|
||||||
|
2021-02-05 03:21:59 |
SUCCESS
|
ValidateMTLSCertificates2Header
MTLS certificates header is valid
|
|
2021-02-05 03:21:59 |
SUCCESS
|
ExtractMTLSCertificates2FromConfiguration
Mutual TLS authentication credentials loaded
|
||||||
|
2021-02-05 03:21:59 | 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-02-05 03:21:59 |
SUCCESS
|
ExtractJWKsFromStaticClientConfiguration
Extracted client JWK
|
||||
|
2021-02-05 03:21:59 | SUCCESS |
CheckForKeyIdInClientJWKs
All keys contain kids
|
|
2021-02-05 03:21:59 | SUCCESS |
CheckDistinctKeyIdValueInClientJWKs
Distinct 'kid' value in all keys of client_jwks
|
||
|
2021-02-05 03:21:59 | SUCCESS |
FAPICheckKeyAlgInClientJWKs
Found a key with alg PS256 or ES256
|
|
2021-02-05 03:21:59 | SUCCESS |
FAPIEnsureMinimumClientKeyLength
Validated minimum key lengths for client_jwks
|
||
|
2021-02-05 03:21:59 |
SUCCESS
|
ValidateMTLSCertificatesAsX509
Mutual TLS authentication cert validated as X.509
|
|
2021-02-05 03:21:59 |
SUCCESS
|
GetResourceEndpointConfiguration
Found a resource endpoint object
|
||||||
|
2021-02-05 03:21:59 |
SUCCESS
|
SetProtectedResourceUrlToSingleResourceEndpoint
Set protected resource URL
|
||
|
2021-02-05 03:21:59 |
SUCCESS
|
ExtractTLSTestValuesFromResourceConfiguration
Extracted TLS information from resource endpoint
|
||
|
2021-02-05 03:21:59 |
SUCCESS
|
ExtractTLSTestValuesFromOBResourceConfiguration
Extracted TLS information from resource endpoint
|
||||
|
2021-02-05 03:21:59 |
|
fapi-rw-id2-user-rejects-authentication
Setup Done
|
|
Make request to authorization endpoint |
2021-02-05 03:21:59 |
SUCCESS
|
CreateAuthorizationEndpointRequestFromClientInformation
Created authorization endpoint request
|
||||||
|
2021-02-05 03:21:59 | SUCCESS |
AddCdrAcrClaimToAuthorizationEndpointRequest
Added acr claim to authorization_endpoint_request
|
||
|
2021-02-05 03:21:59 | SUCCESS |
AddCdrSharingDurationClaimToAuthorizationEndpointRequest
Added sharing_duration claim to authorization_endpoint_request
|
||
|
2021-02-05 03:21:59 |
|
CreateRandomStateValue
Created state value
|
||||
|
2021-02-05 03:21:59 |
SUCCESS
|
AddStateToAuthorizationEndpointRequest
Added state parameter to request
|
||||||||||
|
2021-02-05 03:21:59 |
|
CreateRandomNonceValue
Created nonce value
|
||||
|
2021-02-05 03:21:59 |
SUCCESS
|
AddNonceToAuthorizationEndpointRequest
Added nonce parameter to request
|
||||||||||||
|
2021-02-05 03:21:59 |
SUCCESS
|
SetAuthorizationEndpointRequestResponseTypeToCodeIdtoken
Added response_type parameter to request
|
||||||||||||||
|
2021-02-05 03:21:59 |
SUCCESS
|
ConvertAuthorizationEndpointRequestToRequestObject
Created request object claims
|
||
|
2021-02-05 03:21:59 | SUCCESS |
AddExpToRequestObject
Added exp to request object claims
|
||
|
2021-02-05 03:21:59 | SUCCESS |
AddAudToRequestObject
Added aud to request object claims
|
||
|
2021-02-05 03:21:59 | SUCCESS |
AddIssToRequestObject
Added iss to request object claims
|
||
|
2021-02-05 03:21:59 | SUCCESS |
AddClientIdToRequestObject
Added client_id to request object claims
|
||
|
2021-02-05 03:21:59 |
SUCCESS
|
SignRequestObject
Signed the request object
|
||||||||
|
2021-02-05 03:21:59 |
SUCCESS
|
BuildRequestObjectPostToPAREndpoint
|
||
|
2021-02-05 03:21:59 |
SUCCESS
|
CreateClientAuthenticationAssertionClaims
Created client assertion claims
|
||||||||||||
|
2021-02-05 03:21:59 | SUCCESS |
UpdateClientAuthenticationAssertionClaimsWithISSAud
Updated audience in client assertion claims
|
||||||||||||
|
2021-02-05 03:21:59 |
SUCCESS
|
SignClientAuthenticationAssertion
Signed the client assertion
|
||
|
2021-02-05 03:21:59 |
SUCCESS
|
AddClientAssertionToPAREndpointParameters
Added client assertion to request
|
||
|
2021-02-05 03:21:59 |
|
CallPAREndpoint
HTTP request
|
||||||||||
|
2021-02-05 03:22:00 |
RESPONSE
|
CallPAREndpoint
HTTP response
|
||||||||
|
2021-02-05 03:22:00 | SUCCESS |
CallPAREndpoint
Storing pushed_authorization_endpoint_response_http_status 201
|
|
2021-02-05 03:22:00 | SUCCESS |
CallPAREndpoint
Parsed pushed authorization endpoint response
|
||||
|
2021-02-05 03:22:00 | SUCCESS |
CheckIfPAREndpointResponseError
pushed authorization endpoint correct response.
|
|
2021-02-05 03:22:00 | SUCCESS |
CheckForRequestUriValue
Found valid request_uri
|
||
|
2021-02-05 03:22:00 | SUCCESS |
CheckForPARResponseExpiresIn
Found expires_in
|
||
|
2021-02-05 03:22:00 |
SUCCESS
|
ExtractRequestUriFromPARResponse
Extracted the request_uri: EDB0A8D343112FEDE839846DFA73270C9B5A53ACE258F72D22BFA69618095F54
|
|
2021-02-05 03:22:00 | SUCCESS |
EnsureMinimumRequestUriEntropy
Calculated shannon entropy seems sufficient
|
||||
|
2021-02-05 03:22:00 | SUCCESS |
BuildRequestObjectByReferenceRedirectToAuthorizationEndpoint
Sending to authorization endpoint
|
||
|
2021-02-05 03:22:00 |
REDIRECT
|
fapi-rw-id2-user-rejects-authentication
Redirecting to authorization endpoint
|
||
|
2021-02-05 03:22:51 |
INCOMING
|
fapi-rw-id2-user-rejects-authentication
Incoming HTTP request to test instance WA9jcvQpeyMFQE3
|
||||||||||||||
|
2021-02-05 03:22:51 |
SUCCESS
|
CreateRandomImplicitSubmitUrl
Created random implicit submission URL
|
||
|
2021-02-05 03:22:51 |
OUTGOING
|
fapi-rw-id2-user-rejects-authentication
Response to HTTP request to test instance WA9jcvQpeyMFQE3
|
||||
|
2021-02-05 03:22:53 |
INCOMING
|
fapi-rw-id2-user-rejects-authentication
Incoming HTTP request to test instance WA9jcvQpeyMFQE3
|
||||||||||||||
|
2021-02-05 03:22:53 |
OUTGOING
|
fapi-rw-id2-user-rejects-authentication
Response to HTTP request to test instance WA9jcvQpeyMFQE3
|
||||||||
|
2021-02-05 03:22:53 |
|
ExtractImplicitHashToCallbackResponse
Extracted response from URL fragment
|
||
|
2021-02-05 03:22:53 |
SUCCESS
|
ExtractImplicitHashToCallbackResponse
Extracted the hash values
|
||||||
|
2021-02-05 03:22:53 |
REDIRECT-IN
|
fapi-rw-id2-user-rejects-authentication
Authorization endpoint response captured
|
||||||||||
|
Verify authorization endpoint response |
2021-02-05 03:22:53 | SUCCESS |
RejectAuthCodeInUrlQuery
Authorization code is not present in URL query returned from authorization endpoint
|
|
2021-02-05 03:22:53 | SUCCESS |
RejectErrorInUrlQuery
'error' is not present in URL query returned from authorization endpoint
|
|
2021-02-05 03:22:53 |
SUCCESS
|
CheckStateInAuthorizationResponse
State in response correctly returned
|
||
|
2021-02-05 03:22:53 | SUCCESS |
EnsureErrorFromAuthorizationEndpointResponse
Authorization endpoint returned an error
|
||||||
|
2021-02-05 03:22:53 | SUCCESS |
CheckForUnexpectedParametersInErrorResponseFromAuthorizationEndpoint
error response includes only expected parameters
|
||||||
|
2021-02-05 03:22:53 | SUCCESS |
ExpectAccessDeniedErrorFromAuthorizationEndpointDueToUserRejectingRequest
error parameter is correctly 'access_denied'
|
|
Second client: Setup |
2021-02-05 03:22:53 | SUCCESS |
AddRedirectUriQuerySuffix
Created redirect URI query suffix to test that query sections in the registered redirect url are handled correctly. The redirect url, including this suffix, must be registered for the client as per http://openid.net/certification/fapi_op_testing/
|
||
|
2021-02-05 03:22:53 |
|
CreateRedirectUri
Appending suffix to redirect URI
|
||
|
2021-02-05 03:22:53 | SUCCESS |
CreateRedirectUri
Created redirect URI
|
||
|
Second client: Make request to authorization endpoint |
2021-02-05 03:22:53 |
SUCCESS
|
CreateAuthorizationEndpointRequestFromClientInformation
Created authorization endpoint request
|
||||||
|
2021-02-05 03:22:53 | SUCCESS |
AddCdrAcrClaimToAuthorizationEndpointRequest
Added acr claim to authorization_endpoint_request
|
||
|
2021-02-05 03:22:53 | SUCCESS |
AddCdrSharingDurationClaimToAuthorizationEndpointRequest
Added sharing_duration claim to authorization_endpoint_request
|
||
|
2021-02-05 03:22:53 |
|
CreateRandomStateValue
Created state value
|
||||
|
2021-02-05 03:22:53 |
SUCCESS
|
AddStateToAuthorizationEndpointRequest
Added state parameter to request
|
||||||||||
|
2021-02-05 03:22:53 |
|
CreateRandomNonceValue
Created nonce value
|
||||
|
2021-02-05 03:22:53 |
SUCCESS
|
AddNonceToAuthorizationEndpointRequest
Added nonce parameter to request
|
||||||||||||
|
2021-02-05 03:22:53 |
SUCCESS
|
SetAuthorizationEndpointRequestResponseTypeToCodeIdtoken
Added response_type parameter to request
|
||||||||||||||
|
2021-02-05 03:22:53 |
SUCCESS
|
ConvertAuthorizationEndpointRequestToRequestObject
Created request object claims
|
||
|
2021-02-05 03:22:53 |
SUCCESS
|
AddIatToRequestObject
Added iat to request object claims
|
||
|
2021-02-05 03:22:53 | SUCCESS |
AddExpToRequestObject
Added exp to request object claims
|
||
|
2021-02-05 03:22:53 | SUCCESS |
AddAudToRequestObject
Added aud to request object claims
|
||
|
2021-02-05 03:22:53 | SUCCESS |
AddIssToRequestObject
Added iss to request object claims
|
||
|
2021-02-05 03:22:53 | SUCCESS |
AddClientIdToRequestObject
Added client_id to request object claims
|
||
|
2021-02-05 03:22:53 |
SUCCESS
|
SignRequestObject
Signed the request object
|
||||||||
|
2021-02-05 03:22:53 |
SUCCESS
|
BuildRequestObjectPostToPAREndpoint
|
||
|
2021-02-05 03:22:53 |
SUCCESS
|
CreateClientAuthenticationAssertionClaims
Created client assertion claims
|
||||||||||||
|
2021-02-05 03:22:53 | SUCCESS |
UpdateClientAuthenticationAssertionClaimsWithISSAud
Updated audience in client assertion claims
|
||||||||||||
|
2021-02-05 03:22:53 |
SUCCESS
|
SignClientAuthenticationAssertion
Signed the client assertion
|
||
|
2021-02-05 03:22:53 |
SUCCESS
|
AddClientAssertionToPAREndpointParameters
Added client assertion to request
|
||
|
2021-02-05 03:22:53 |
|
CallPAREndpoint
HTTP request
|
||||||||||
|
2021-02-05 03:22:54 |
RESPONSE
|
CallPAREndpoint
HTTP response
|
||||||||
|
2021-02-05 03:22:54 | SUCCESS |
CallPAREndpoint
Storing pushed_authorization_endpoint_response_http_status 201
|
|
2021-02-05 03:22:54 | SUCCESS |
CallPAREndpoint
Parsed pushed authorization endpoint response
|
||||
|
2021-02-05 03:22:54 | SUCCESS |
CheckIfPAREndpointResponseError
pushed authorization endpoint correct response.
|
|
2021-02-05 03:22:54 | SUCCESS |
CheckForRequestUriValue
Found valid request_uri
|
||
|
2021-02-05 03:22:54 | SUCCESS |
CheckForPARResponseExpiresIn
Found expires_in
|
||
|
2021-02-05 03:22:54 |
SUCCESS
|
ExtractRequestUriFromPARResponse
Extracted the request_uri: B71C412DCCB2961F04224DA2D49A7873CE7F5C7AC815F0430CB2306A2FF63C01
|
|
2021-02-05 03:22:54 | SUCCESS |
EnsureMinimumRequestUriEntropy
Calculated shannon entropy seems sufficient
|
||||
|
2021-02-05 03:22:54 | SUCCESS |
BuildRequestObjectByReferenceRedirectToAuthorizationEndpoint
Sending to authorization endpoint
|
||
|
2021-02-05 03:22:54 |
REDIRECT
|
fapi-rw-id2-user-rejects-authentication
Redirecting to authorization endpoint
|
||
|
2021-02-05 03:24:09 |
INCOMING
|
fapi-rw-id2-user-rejects-authentication
Incoming HTTP request to test instance WA9jcvQpeyMFQE3
|
||||||||||||||
|
2021-02-05 03:24:09 |
SUCCESS
|
CreateRandomImplicitSubmitUrl
Created random implicit submission URL
|
||
|
2021-02-05 03:24:09 |
OUTGOING
|
fapi-rw-id2-user-rejects-authentication
Response to HTTP request to test instance WA9jcvQpeyMFQE3
|
||||
|
2021-02-05 03:24:11 |
INCOMING
|
fapi-rw-id2-user-rejects-authentication
Incoming HTTP request to test instance WA9jcvQpeyMFQE3
|
||||||||||||||
|
2021-02-05 03:24:11 |
OUTGOING
|
fapi-rw-id2-user-rejects-authentication
Response to HTTP request to test instance WA9jcvQpeyMFQE3
|
||||||||
|
2021-02-05 03:24:11 |
|
ExtractImplicitHashToCallbackResponse
Extracted response from URL fragment
|
||
|
2021-02-05 03:24:11 |
SUCCESS
|
ExtractImplicitHashToCallbackResponse
Extracted the hash values
|
||||||
|
2021-02-05 03:24:11 |
REDIRECT-IN
|
fapi-rw-id2-user-rejects-authentication
Authorization endpoint response captured
|
||||||||||
|
Second client: Verify authorization endpoint response |
2021-02-05 03:24:11 | SUCCESS |
RejectAuthCodeInUrlQuery
Authorization code is not present in URL query returned from authorization endpoint
|
|
2021-02-05 03:24:11 | SUCCESS |
RejectErrorInUrlQuery
'error' is not present in URL query returned from authorization endpoint
|
|
2021-02-05 03:24:11 |
SUCCESS
|
CheckStateInAuthorizationResponse
State in response correctly returned
|
||
|
2021-02-05 03:24:11 | SUCCESS |
EnsureErrorFromAuthorizationEndpointResponse
Authorization endpoint returned an error
|
||||||
|
2021-02-05 03:24:11 | SUCCESS |
CheckForUnexpectedParametersInErrorResponseFromAuthorizationEndpoint
error response includes only expected parameters
|
||||||
|
2021-02-05 03:24:11 | SUCCESS |
ExpectAccessDeniedErrorFromAuthorizationEndpointDueToUserRejectingRequest
error parameter is correctly 'access_denied'
|
|
2021-02-05 03:24:11 |
SUCCESS
|
CheckMatchingCallbackParameters
Callback parameters successfully verified
|
||||
|
2021-02-05 03:24:11 |
FINISHED
|
fapi-rw-id2-user-rejects-authentication
Test has run to completion
|
||
|
2021-02-05 03:24:30 |
|
TEST-RUNNER
Alias has now been claimed by another test
|
||||
|