Test Name | fapi1-advanced-final-client-test-encrypted-idtoken |
---|---|
Variant | client_auth_type=private_key_jwt, fapi_jarm_type=oidc, fapi_auth_request_method=by_value, fapi_profile=plain_fapi, fapi_response_mode=plain_response |
Test ID | L0C41jDRMb8B6Qq https://www.certification.openid.net/log-detail.html?public=true&log=L0C41jDRMb8B6Qq |
Created | 2021-10-22T15:34:58.275498Z |
Description | openid-client v5.x FAPI1 Adv. private_key_jwt RP |
Test Version | 4.1.34 |
Test Owner | 117741858675383745996 https://accounts.google.com |
Plan ID | VsHCoijUnlaAo https://www.certification.openid.net/plan-detail.html?public=true&plan=VsHCoijUnlaAo |
Exported From | https://www.certification.openid.net |
Exported By | 117741858675383745996 https://accounts.google.com |
Suite Version | 4.1.34 |
Exported | 2021-10-22 16:32:09 (UTC) |
Status: FINISHED Result: PASSED |
SUCCESS 85 FAILURE 0 WARNING 0 REVIEW 0 INFO 6 |
2021-10-22 15:34:58 |
INFO
|
TEST-RUNNER
Test instance L0C41jDRMb8B6Qq created
|
||||||||||||||
|
2021-10-22 15:34:58 |
SUCCESS
|
GenerateServerConfigurationMTLS
Created server configuration
|
||||||
|
2021-10-22 15:34:58 |
SUCCESS
|
LoadServerJWKs
Parsed public and private JWK sets
|
||||||
|
2021-10-22 15:34:58 | SUCCESS |
ValidateServerJWKs
Valid server JWKs: keys are valid JSON, contain the required fields and are correctly encoded using unpadded base64url
|
|
2021-10-22 15:34:58 |
SUCCESS
|
ExtractServerSigningAlg
Successfully extracted algorithm
|
||
|
2021-10-22 15:34:58 |
|
SetTokenEndpointAuthMethodsSupportedToPrivateKeyJWTOnly
Changed token_endpoint_auth_methods_supported to private_key_jwt only in server configuration
|
||
|
2021-10-22 15:34:58 | SUCCESS |
AddResponseTypeCodeIdTokenToServerConfiguration
Added code id_token as response type supported
|
||
|
2021-10-22 15:34:58 |
SUCCESS
|
FAPIAddTokenEndpointAuthSigningAlgValuesSupportedToServer
Set token_endpoint_auth_signing_alg_values_supported
|
||
|
2021-10-22 15:34:58 |
SUCCESS
|
CheckServerConfiguration
Found required server configuration keys
|
||
|
2021-10-22 15:34:58 | SUCCESS |
FAPIEnsureMinimumServerKeyLength
Validated minimum key lengths for server_jwks
|
||
|
2021-10-22 15:34:58 |
SUCCESS
|
LoadUserInfo
Added user information
|
||
|
Verify configuration of first client |
2021-10-22 15:34:58 |
SUCCESS
|
GetStaticClientConfiguration
Found a static client object
|
||||||||||
|
2021-10-22 15:34:58 | SUCCESS |
ValidateClientJWKsPublicPart
Valid client JWKs: keys are valid JSON, contain the required fields and are correctly encoded using unpadded base64url
|
|
2021-10-22 15:34:58 |
SUCCESS
|
ExtractJWKsFromStaticClientConfiguration
Extracted client JWK
|
||||
|
2021-10-22 15:34:58 | SUCCESS |
CheckDistinctKeyIdValueInClientJWKs
Distinct 'kid' value in all keys of client_jwks
|
||
|
2021-10-22 15:34:58 |
SUCCESS
|
EnsureClientJwksDoesNotContainPrivateOrSymmetricKeys
Jwks does not contain any private or symmetric keys
|
|
2021-10-22 15:34:58 | SUCCESS |
FAPIEnsureMinimumClientKeyLength
Validated minimum key lengths for client_jwks
|
||
|
Verify configuration of second client |
2021-10-22 15:34:58 |
SUCCESS
|
GetStaticClient2Configuration
Found a static second client object
|
||||||||||||
|
2021-10-22 15:34:58 | SUCCESS |
ValidateClientJWKsPublicPart
Valid client JWKs: keys are valid JSON, contain the required fields and are correctly encoded using unpadded base64url
|
|
2021-10-22 15:34:58 |
SUCCESS
|
ExtractJWKsFromStaticClientConfiguration
Extracted client JWK
|
||||
|
2021-10-22 15:34:58 | SUCCESS |
CheckDistinctKeyIdValueInClientJWKs
Distinct 'kid' value in all keys of client_jwks
|
||
|
2021-10-22 15:34:58 |
SUCCESS
|
EnsureClientJwksDoesNotContainPrivateOrSymmetricKeys
Jwks does not contain any private or symmetric keys
|
|
2021-10-22 15:34:58 | SUCCESS |
FAPIEnsureMinimumClientKeyLength
Validated minimum key lengths for client_jwks
|
||
|
2021-10-22 15:34:58 | SUCCESS |
EnsureIdTokenEncryptedResponseAlgIsNotRSA1_5
Id token encryption algorithm is not RSA1_5
|
||
|
2021-10-22 15:34:58 | SUCCESS |
FAPIEnsureClientJwksContainsAnEncryptionKey
Found an encryption key in client jwks
|
||||
|
2021-10-22 15:34:58 | SUCCESS |
EnsureIdTokenEncryptedResponseAlgIsSetIfEncIsSet
id_token_encrypted_response_alg is set
|
||||
|
2021-10-22 15:34:58 |
|
fapi1-advanced-final-client-test-encrypted-idtoken
Setup Done
|
|
2021-10-22 15:34:59 |
INCOMING
|
fapi1-advanced-final-client-test-encrypted-idtoken
Incoming HTTP request to test instance L0C41jDRMb8B6Qq
|
||||||||||||||
|
2021-10-22 15:34:59 | SUCCESS |
EnsureIncomingTls12WithSecureCipherOrTls13
TLS 1.2 in use and cipher is one recommended by BCP195
|
||||
|
2021-10-22 15:34:59 |
OUTGOING
|
fapi1-advanced-final-client-test-encrypted-idtoken
Response to HTTP request to test instance L0C41jDRMb8B6Qq
|
||||||||
|
2021-10-22 15:34:59 |
INCOMING
|
fapi1-advanced-final-client-test-encrypted-idtoken
Incoming HTTP request to test instance L0C41jDRMb8B6Qq
|
||||||||||||||
|
2021-10-22 15:34:59 | SUCCESS |
EnsureIncomingTls12WithSecureCipherOrTls13
TLS 1.2 in use and cipher is one recommended by BCP195
|
||||
|
Authorization endpoint |
2021-10-22 15:34:59 | SUCCESS |
ExtractRequestObject
Parsed request object
|
||
|
2021-10-22 15:34:59 | INFO |
ValidateEncryptedRequestObjectHasKid
Skipped evaluation due to missing required element: authorization_request_object jwe_header
|
||||||
|
2021-10-22 15:34:59 |
SUCCESS
|
CreateEffectiveAuthorizationRequestParameters
Merged http request parameters with request object claims
|
||
|
2021-10-22 15:34:59 | SUCCESS |
FAPIValidateRequestObjectSigningAlg
Request object was signed with a permitted algorithm
|
||
|
2021-10-22 15:34:59 | SUCCESS |
FAPIValidateRequestObjectIdTokenACRClaims
Acr value in request object is as expected
|
||
|
2021-10-22 15:34:59 | SUCCESS |
FAPIValidateRequestObjectExp
Request object contains a valid exp claim, expiry time
|
||
|
2021-10-22 15:34:59 | SUCCESS |
FAPI1AdvancedValidateRequestObjectNBFClaim
nbf claim is valid
|
||||
|
2021-10-22 15:34:59 |
|
ValidateRequestObjectClaims
Request object does not contain a max_age claim
|
|
2021-10-22 15:34:59 |
SUCCESS
|
ValidateRequestObjectClaims
Request object claims passed all validation checks
|
|
2021-10-22 15:34:59 | SUCCESS |
EnsureNumericRequestObjectClaimsAreNotNull
None of the claims expected to have numeric values, have null values
|
||
|
2021-10-22 15:34:59 | SUCCESS |
EnsureRequestObjectDoesNotContainRequestOrRequestUri
Request object does not contain request or request_uri
|
|
2021-10-22 15:34:59 | SUCCESS |
EnsureRequestObjectDoesNotContainSubWithClientId
Request object does not contain Client Id in sub
|
|
2021-10-22 15:34:59 | SUCCESS |
ValidateRequestObjectSignature
Request object signature validated using a key in the client's JWKS and using the client's registered request_object_signing_alg
|
||||||
|
2021-10-22 15:34:59 |
SUCCESS
|
EnsureMatchingRedirectUriInRequestObject
Redirect URI matched
|
||
|
2021-10-22 15:34:59 | SUCCESS |
EnsureRequiredAuthorizationRequestParametersMatchRequestObject
Required http request parameters match request object claims
|
||||
|
2021-10-22 15:34:59 | SUCCESS |
EnsureOptionalAuthorizationRequestParametersMatchRequestObject
All http request parameters and request object claims match
|
|
2021-10-22 15:34:59 | SUCCESS |
EnsureAuthorizationHttpRequestContainsOpenIDScope
Found 'openid' in scope http request parameter
|
||||
|
2021-10-22 15:34:59 |
SUCCESS
|
ExtractRequestedScopes
Requested scopes
|
||
|
2021-10-22 15:34:59 |
SUCCESS
|
EnsureRequestedScopeIsEqualToConfiguredScope
Requested scopes match configured scopes
|
||
|
2021-10-22 15:34:59 | SUCCESS |
EnsureResponseTypeIsCodeIdToken
Response type is expected value
|
||
|
2021-10-22 15:34:59 | SUCCESS |
EnsureOpenIDInScopeRequest
Found 'openid' scope in request
|
||||
|
2021-10-22 15:34:59 | SUCCESS |
EnsureMatchingClientId
Client ID matched
|
||
|
2021-10-22 15:34:59 |
SUCCESS
|
CreateAuthorizationCode
Created authorization code
|
||
|
2021-10-22 15:34:59 | SUCCESS |
ExtractNonceFromAuthorizationRequest
Extracted nonce
|
||
|
2021-10-22 15:34:59 | SUCCESS |
CalculateCHash
Successful c_hash encoding
|
||
|
2021-10-22 15:34:59 | SUCCESS |
CalculateSHash
Successful s_hash encoding
|
||
|
2021-10-22 15:34:59 |
SUCCESS
|
GenerateIdTokenClaims
Created ID Token Claims
|
||||||||||||
|
2021-10-22 15:34:59 | SUCCESS |
AddCHashToIdTokenClaims
Added c_hash to ID token claims
|
||||
|
2021-10-22 15:34:59 | SUCCESS |
AddSHashToIdTokenClaims
Added s_hash to ID token claims
|
||||
|
2021-10-22 15:34:59 | INFO |
AddAtHashToIdTokenClaims
Skipped evaluation due to missing required string: at_hash
|
||
|
2021-10-22 15:34:59 | SUCCESS |
AddACRClaimToIdTokenClaims
Added acr value to id_token_claims
|
||||
|
2021-10-22 15:34:59 |
SUCCESS
|
SignIdToken
Signed the ID token
|
||
|
2021-10-22 15:34:59 |
|
EncryptIdToken
Encrypted the id token
|
||||||
|
2021-10-22 15:34:59 |
SUCCESS
|
CreateAuthorizationEndpointResponseParams
Added authorization_endpoint_response_params to environment
|
||
|
2021-10-22 15:34:59 | SUCCESS |
AddCodeToAuthorizationEndpointResponseParams
Added code to authorization endpoint response params
|
||
|
2021-10-22 15:34:59 | SUCCESS |
AddIdTokenToAuthorizationEndpointResponseParams
Added id_token to authorization endpoint response params
|
||
|
2021-10-22 15:34:59 |
|
SendAuthorizationResponseWithResponseModeFragment
Redirecting back to client
|
||
|
2021-10-22 15:34:59 |
OUTGOING
|
fapi1-advanced-final-client-test-encrypted-idtoken
Response to HTTP request to test instance L0C41jDRMb8B6Qq
|
||||
|
2021-10-22 15:35:00 |
INCOMING
|
fapi1-advanced-final-client-test-encrypted-idtoken
Incoming HTTP request to test instance L0C41jDRMb8B6Qq
|
||||||||||||||
|
2021-10-22 15:35:00 | SUCCESS |
EnsureIncomingTls12WithSecureCipherOrTls13
TLS 1.2 in use and cipher is one recommended by BCP195
|
||||
|
2021-10-22 15:35:00 |
OUTGOING
|
fapi1-advanced-final-client-test-encrypted-idtoken
Response to HTTP request to test instance L0C41jDRMb8B6Qq
|
||||||||
|
2021-10-22 15:35:01 |
INCOMING
|
fapi1-advanced-final-client-test-encrypted-idtoken
Incoming HTTP request to test instance L0C41jDRMb8B6Qq
|
||||||||||||||
|
2021-10-22 15:35:01 | SUCCESS |
EnsureIncomingTls12WithSecureCipherOrTls13
TLS 1.2 in use and cipher is one recommended by BCP195
|
||||
|
Token endpoint |
2021-10-22 15:35:01 |
SUCCESS
|
ExtractClientCertificateFromTokenEndpointRequestHeaders
Extracted client certificate
|
||
|
2021-10-22 15:35:01 | SUCCESS |
CheckForClientCertificate
Found client certificate
|
|
2021-10-22 15:35:01 |
SUCCESS
|
EnsureClientCertificateMatches
Presented certificate matches registered certificate
|
||
|
2021-10-22 15:35:01 | SUCCESS |
ExtractClientAssertion
Parsed client assertion
|
||
|
2021-10-22 15:35:01 |
|
EnsureClientAssertionSignatureAlgorithmMatchesRegistered
token_endpoint_auth_signing_alg is not set for the client, any supported algorithm can be used
|
|
2021-10-22 15:35:01 | SUCCESS |
ValidateClientAssertionSignature
client_assertion signature validated
|
||
|
2021-10-22 15:35:01 | SUCCESS |
EnsureClientAssertionTypeIsJwt
Found JWT assertion type
|
||
|
2021-10-22 15:35:01 | SUCCESS |
ValidateClientAssertionClaims
Client Assertion passed all validation checks
|
|
2021-10-22 15:35:01 |
SUCCESS
|
ValidateAuthorizationCode
Found authorization code
|
||
|
2021-10-22 15:35:01 |
SUCCESS
|
ValidateRedirectUri
Found redirect uri
|
||
|
2021-10-22 15:35:01 |
SUCCESS
|
GenerateBearerAccessToken
Generated access token
|
||
|
2021-10-22 15:35:01 | SUCCESS |
CalculateAtHash
Successful at_hash encoding
|
||
|
2021-10-22 15:35:01 |
|
CreateRefreshToken
Created refresh token
|
||
|
2021-10-22 15:35:01 |
SUCCESS
|
GenerateIdTokenClaims
Created ID Token Claims
|
||||||||||||
|
2021-10-22 15:35:01 | SUCCESS |
AddAtHashToIdTokenClaims
Added at_hash to ID token claims
|
||||
|
2021-10-22 15:35:01 | SUCCESS |
AddACRClaimToIdTokenClaims
Added acr value to id_token_claims
|
||||
|
2021-10-22 15:35:01 |
SUCCESS
|
SignIdToken
Signed the ID token
|
||
|
2021-10-22 15:35:01 |
|
EncryptIdToken
Encrypted the id token
|
||||||
|
2021-10-22 15:35:01 |
SUCCESS
|
CreateTokenEndpointResponse
Created token endpoint response
|
||||||||||
|
2021-10-22 15:35:01 |
OUTGOING
|
fapi1-advanced-final-client-test-encrypted-idtoken
Response to HTTP request to test instance L0C41jDRMb8B6Qq
|
||||||||
|
2021-10-22 15:35:01 |
INCOMING
|
fapi1-advanced-final-client-test-encrypted-idtoken
Incoming HTTP request to test instance L0C41jDRMb8B6Qq
|
||||||||||||||
|
2021-10-22 15:35:01 | SUCCESS |
EnsureIncomingTls12WithSecureCipherOrTls13
TLS 1.2 in use and cipher is one recommended by BCP195
|
||||
|
Accounts endpoint |
2021-10-22 15:35:01 |
SUCCESS
|
ExtractClientCertificateFromTokenEndpointRequestHeaders
Extracted client certificate
|
||
|
2021-10-22 15:35:01 | SUCCESS |
CheckForClientCertificate
Found client certificate
|
|
2021-10-22 15:35:01 |
SUCCESS
|
EnsureClientCertificateMatches
Presented certificate matches registered certificate
|
||
|
2021-10-22 15:35:01 | SUCCESS |
EnsureBearerAccessTokenNotInParams
Client correctly did not send access token in query parameters or form body
|
|
2021-10-22 15:35:01 | SUCCESS |
ExtractBearerAccessTokenFromHeader
Found access token on incoming request
|
||
|
2021-10-22 15:35:01 |
SUCCESS
|
RequireBearerAccessToken
Found access token in request
|
||
|
2021-10-22 15:35:01 | INFO |
ExtractFapiDateHeader
Skipped evaluation due to missing required element: incoming_request headers.x-fapi-auth-date
|
||||||
|
2021-10-22 15:35:01 | INFO |
ExtractFapiIpAddressHeader
Skipped evaluation due to missing required element: incoming_request headers.x-fapi-customer-ip-address
|
||||||
|
2021-10-22 15:35:01 | INFO |
ExtractFapiInteractionIdHeader
Skipped evaluation due to missing required element: incoming_request headers.x-fapi-interaction-id
|
||||||
|
2021-10-22 15:35:01 | SUCCESS |
CreateFapiInteractionIdIfNeeded
Created new FAPI interaction ID
|
||
|
2021-10-22 15:35:01 |
SUCCESS
|
CreateFAPIAccountEndpointResponse
Created account response object
|
||||
|
2021-10-22 15:35:01 |
|
ClearAccessTokenFromRequest
Condition ran but did not log anything
|
|
2021-10-22 15:35:01 |
OUTGOING
|
fapi1-advanced-final-client-test-encrypted-idtoken
Response to HTTP request to test instance L0C41jDRMb8B6Qq
|
||||||||
|
2021-10-22 15:35:01 |
FINISHED
|
fapi1-advanced-final-client-test-encrypted-idtoken
Test has run to completion
|
||
|
2021-10-22 15:35:02 |
|
TEST-RUNNER
Alias has now been claimed by another test
|
||||
|