Test Name | fapi-rw-id2-ensure-matching-key-in-authorization-request |
---|---|
Variant | client_auth_type=mtls, fapi_auth_request_method=by_value, fapi_profile=plain_fapi, fapi_response_mode=plain_response |
Test ID | byuq5CatQ7x3sgi https://www.certification.openid.net/log-detail.html?public=true&log=byuq5CatQ7x3sgi |
Created | 2021-04-30T09:53:03.554841Z |
Description | FAPI-RW-ID2: Keycloak test with mtls client authentication (RequestObject:ES256/IDToken:ES256) |
Test Version | 4.1.10 |
Test Owner | 116472850575083055508 https://accounts.google.com |
Plan ID | GkrosYdbQ1Zzh https://www.certification.openid.net/plan-detail.html?public=true&plan=GkrosYdbQ1Zzh |
Exported From | https://www.certification.openid.net |
Exported By | 116472850575083055508 https://accounts.google.com |
Suite Version | 4.1.10 |
Exported | 2021-04-30 10:03:21 (UTC) |
Status: FINISHED Result: REVIEW |
SUCCESS 46 FAILURE 0 WARNING 0 REVIEW 1 INFO 2 |
2021-04-30 09:53:03 |
INFO
|
TEST-RUNNER
Test instance byuq5CatQ7x3sgi created
|
||||||||||||||
|
2021-04-30 09:53:03 |
SUCCESS
|
CreateRedirectUri
Created redirect URI
|
||
|
2021-04-30 09:53:03 |
|
GetDynamicServerConfiguration
HTTP request
|
||||||||
|
2021-04-30 09:53:04 |
RESPONSE
|
GetDynamicServerConfiguration
HTTP response
|
||||||||
|
2021-04-30 09:53:04 |
|
GetDynamicServerConfiguration
Downloaded server configuration
|
||
|
2021-04-30 09:53:04 |
SUCCESS
|
GetDynamicServerConfiguration
Successfully parsed server configuration
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
2021-04-30 09:53:04 | INFO |
AddMTLSEndpointAliasesToEnvironment
The mtls_endpoint_aliases is not present in the server configuration
|
||
|
2021-04-30 09:53:04 |
SUCCESS
|
CheckServerConfiguration
Found required server configuration keys
|
||
|
2021-04-30 09:53:04 |
SUCCESS
|
ExtractTLSTestValuesFromServerConfiguration
Extracted TLS information from authorization server configuration
|
||||||||
|
2021-04-30 09:53:04 |
|
FetchServerKeys
Fetching server key
|
||
|
2021-04-30 09:53:04 |
|
FetchServerKeys
HTTP request
|
||||||||
|
2021-04-30 09:53:04 |
RESPONSE
|
FetchServerKeys
HTTP response
|
||||||||
|
2021-04-30 09:53:04 |
|
FetchServerKeys
Found JWK set string
|
||
|
2021-04-30 09:53:04 |
SUCCESS
|
FetchServerKeys
Found server JWK set
|
||
|
2021-04-30 09:53:04 |
SUCCESS
|
CheckServerKeysIsValid
Server JWKs is valid
|
||
|
2021-04-30 09:53:04 | SUCCESS |
ValidateServerJWKs
Valid server JWKs: keys are valid JSON, contain the required fields and are correctly encoded using unpadded base64url
|
|
2021-04-30 09:53:04 | SUCCESS |
CheckForKeyIdInServerJWKs
All keys contain kids
|
|
2021-04-30 09:53:04 | SUCCESS |
EnsureServerJwksDoesNotContainPrivateOrSymmetricKeys
Jwks does not contain any private or symmetric keys
|
|
2021-04-30 09:53:04 | SUCCESS |
FAPIEnsureMinimumServerKeyLength
Validated minimum key lengths for server_jwks
|
||
|
2021-04-30 09:53:04 |
SUCCESS
|
GetStaticClientConfiguration
Found a static client object
|
||||||
|
2021-04-30 09:53:04 |
|
ValidateMTLSCertificatesHeader
No certificate authority found for MTLS
|
|
2021-04-30 09:53:04 |
SUCCESS
|
ValidateMTLSCertificatesHeader
MTLS certificates header is valid
|
|
2021-04-30 09:53:04 |
|
ExtractMTLSCertificatesFromConfiguration
No certificate authority found for MTLS
|
|
2021-04-30 09:53:04 |
SUCCESS
|
ExtractMTLSCertificatesFromConfiguration
Mutual TLS authentication credentials loaded
|
||||
|
2021-04-30 09:53:04 | 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-04-30 09:53:04 |
SUCCESS
|
ExtractJWKsFromStaticClientConfiguration
Extracted client JWK
|
||||
|
2021-04-30 09:53:04 | SUCCESS |
CheckForKeyIdInClientJWKs
All keys contain kids
|
|
2021-04-30 09:53:04 | SUCCESS |
CheckDistinctKeyIdValueInClientJWKs
Distinct 'kid' value in all keys of client_jwks
|
||
|
2021-04-30 09:53:04 | SUCCESS |
FAPICheckKeyAlgInClientJWKs
Found a key with alg PS256 or ES256
|
|
2021-04-30 09:53:04 | SUCCESS |
FAPIEnsureMinimumClientKeyLength
Validated minimum key lengths for client_jwks
|
||
|
2021-04-30 09:53:04 |
SUCCESS
|
ValidateMTLSCertificatesAsX509
Mutual TLS authentication cert validated as X.509
|
|
Verify configuration of second client |
2021-04-30 09:53:04 |
SUCCESS
|
GetStaticClient2Configuration
Found a static second client object
|
||||||
|
2021-04-30 09:53:04 |
|
ValidateMTLSCertificates2Header
No certificate authority found for MTLS
|
|
2021-04-30 09:53:04 |
SUCCESS
|
ValidateMTLSCertificates2Header
MTLS certificates header is valid
|
|
2021-04-30 09:53:04 |
|
ExtractMTLSCertificates2FromConfiguration
No certificate authority found for MTLS
|
|
2021-04-30 09:53:04 |
SUCCESS
|
ExtractMTLSCertificates2FromConfiguration
Mutual TLS authentication credentials loaded
|
||||
|
2021-04-30 09:53:04 | 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-04-30 09:53:04 |
SUCCESS
|
ExtractJWKsFromStaticClientConfiguration
Extracted client JWK
|
||||
|
2021-04-30 09:53:04 | SUCCESS |
CheckForKeyIdInClientJWKs
All keys contain kids
|
|
2021-04-30 09:53:04 | SUCCESS |
CheckDistinctKeyIdValueInClientJWKs
Distinct 'kid' value in all keys of client_jwks
|
||
|
2021-04-30 09:53:04 | SUCCESS |
FAPICheckKeyAlgInClientJWKs
Found a key with alg PS256 or ES256
|
|
2021-04-30 09:53:04 | SUCCESS |
FAPIEnsureMinimumClientKeyLength
Validated minimum key lengths for client_jwks
|
||
|
2021-04-30 09:53:04 |
SUCCESS
|
ValidateMTLSCertificatesAsX509
Mutual TLS authentication cert validated as X.509
|
|
2021-04-30 09:53:04 |
SUCCESS
|
GetResourceEndpointConfiguration
Found a resource endpoint object
|
||||
|
2021-04-30 09:53:04 |
SUCCESS
|
SetProtectedResourceUrlToSingleResourceEndpoint
Set protected resource URL
|
||
|
2021-04-30 09:53:04 |
SUCCESS
|
ExtractTLSTestValuesFromResourceConfiguration
Extracted TLS information from resource endpoint
|
||
|
2021-04-30 09:53:04 |
SUCCESS
|
ExtractTLSTestValuesFromOBResourceConfiguration
Extracted TLS information from resource endpoint
|
||||
|
2021-04-30 09:53:04 |
|
fapi-rw-id2-ensure-matching-key-in-authorization-request
Setup Done
|
|
Make request to authorization endpoint |
2021-04-30 09:53:04 |
SUCCESS
|
CreateAuthorizationEndpointRequestFromClientInformation
Created authorization endpoint request
|
||||||
|
2021-04-30 09:53:04 |
SUCCESS
|
AddAcrClaimToAuthorizationEndpointRequest
Added acr claim to authorization_endpoint_request
|
||
|
2021-04-30 09:53:04 |
|
CreateRandomStateValue
Created state value
|
||||
|
2021-04-30 09:53:04 |
SUCCESS
|
AddStateToAuthorizationEndpointRequest
Added state parameter to request
|
||||||||||
|
2021-04-30 09:53:04 |
|
CreateRandomNonceValue
Created nonce value
|
||||
|
2021-04-30 09:53:04 |
SUCCESS
|
AddNonceToAuthorizationEndpointRequest
Added nonce parameter to request
|
||||||||||||
|
2021-04-30 09:53:04 |
SUCCESS
|
SetAuthorizationEndpointRequestResponseTypeToCodeIdtoken
Added response_type parameter to request
|
||||||||||||||
|
Sign request object containing client_id for client 1 using JWK for client 2 |
2021-04-30 09:53:04 |
SUCCESS
|
ConvertAuthorizationEndpointRequestToRequestObject
Created request object claims
|
||
|
2021-04-30 09:53:04 | SUCCESS |
AddExpToRequestObject
Added exp to request object claims
|
||
|
2021-04-30 09:53:04 | SUCCESS |
AddAudToRequestObject
Added aud to request object claims
|
||
|
2021-04-30 09:53:04 | SUCCESS |
AddIssToRequestObject
Added iss to request object claims
|
||
|
2021-04-30 09:53:04 | SUCCESS |
AddClientIdToRequestObject
Added client_id to request object claims
|
||
|
2021-04-30 09:53:04 |
SUCCESS
|
SignRequestObject
Signed the request object
|
||||||||
|
2021-04-30 09:53:04 |
SUCCESS
|
BuildRequestObjectByValueRedirectToAuthorizationEndpoint
Sending to authorization endpoint
|
||
|
2021-04-30 09:53:04 |
REDIRECT
|
fapi-rw-id2-ensure-matching-key-in-authorization-request
Redirecting to authorization endpoint
|
||
|
2021-04-30 09:53:04 | REVIEW IMAGE |
ExpectRequestObjectUnverifiableErrorPage
Show request error page
|
||||
|
2021-04-30 09:54:07 |
FINISHED
|
fapi-rw-id2-ensure-matching-key-in-authorization-request
Test has run to completion
|
||
|
2021-04-30 09:54:39 |
|
TEST-RUNNER
Alias has now been claimed by another test
|
||||
|