Test Name | fapi1-advanced-final-brazil-dcr-invalid-jwks-uri |
---|---|
Variant | client_auth_type=private_key_jwt, fapi_auth_request_method=by_value, fapi_profile=openinsurance_brazil, fapi_response_mode=plain_response |
Test ID | JBEovvCS3Ljg7WZ https://www.certification.openid.net/log-detail.html?public=true&log=JBEovvCS3Ljg7WZ |
Created | 2022-12-20T21:58:10.223369Z |
Description | Previsul OpenFinance |
Test Version | 5.0.7 |
Test Owner | 102205215015010102313 https://accounts.google.com |
Plan ID | gj1STuZOMVN4z https://www.certification.openid.net/plan-detail.html?public=true&plan=gj1STuZOMVN4z |
Exported From | https://www.certification.openid.net |
Exported By | 102205215015010102313 https://accounts.google.com |
Suite Version | 5.0.7 |
Exported | 2022-12-22 20:51:19 (UTC) |
Status: FINISHED Result: PASSED |
SUCCESS 32 FAILURE 0 WARNING 0 REVIEW 0 INFO 2 |
2022-12-20 21:58:10 |
INFO
|
TEST-RUNNER
Test instance JBEovvCS3Ljg7WZ created
|
||||||||||||||
|
2022-12-20 21:58:10 |
SUCCESS
|
CreateRedirectUri
Created redirect URI
|
||
|
2022-12-20 21:58:10 |
|
GetDynamicServerConfiguration
HTTP request
|
||||||||
|
2022-12-20 21:58:10 |
RESPONSE
|
GetDynamicServerConfiguration
HTTP response
|
||||||||
|
2022-12-20 21:58:10 |
SUCCESS
|
GetDynamicServerConfiguration
Successfully parsed server configuration
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
2022-12-20 21:58:10 | SUCCESS |
AddMTLSEndpointAliasesToEnvironment
Added mtls_endpoint_aliases to environment
|
|
2022-12-20 21:58:10 |
SUCCESS
|
CheckServerConfiguration
Found required server configuration keys
|
||
|
2022-12-20 21:58:10 |
|
FetchServerKeys
Fetching server key
|
||
|
2022-12-20 21:58:10 |
|
FetchServerKeys
HTTP request
|
||||||||
|
2022-12-20 21:58:10 |
RESPONSE
|
FetchServerKeys
HTTP response
|
||||||||
|
2022-12-20 21:58:10 |
|
FetchServerKeys
Found JWK set string
|
||
|
2022-12-20 21:58:10 |
SUCCESS
|
FetchServerKeys
Found server JWK set
|
||
|
2022-12-20 21:58:10 |
SUCCESS
|
CheckServerKeysIsValid
Server JWKs is valid
|
||
|
2022-12-20 21:58:10 | SUCCESS |
ValidateServerJWKs
Valid server JWKs: keys are valid JSON, contain the required fields and are correctly encoded using unpadded base64url
|
|
2022-12-20 21:58:10 | SUCCESS |
CheckForKeyIdInServerJWKs
All keys contain kids
|
|
2022-12-20 21:58:10 | SUCCESS |
EnsureServerJwksDoesNotContainPrivateOrSymmetricKeys
Jwks does not contain any private or symmetric keys
|
|
2022-12-20 21:58:10 | SUCCESS |
FAPIEnsureMinimumServerKeyLength
Validated minimum key lengths for server_jwks
|
||
|
2022-12-20 21:58:10 |
SUCCESS
|
ValidateMTLSCertificatesHeader
MTLS certificates header is valid
|
|
2022-12-20 21:58:10 |
SUCCESS
|
ExtractMTLSCertificatesFromConfiguration
Mutual TLS authentication credentials loaded
|
||||||
|
2022-12-20 21:58:10 |
SUCCESS
|
ExtractJWKSDirectFromClientConfiguration
Extracted client JWK
|
||||
|
2022-12-20 21:58:10 | SUCCESS |
CheckDistinctKeyIdValueInClientJWKs
Distinct 'kid' value in all keys of client_jwks
|
||
|
Obtain access token for directory and retrieve a software statement |
2022-12-20 21:58:10 |
SUCCESS
|
ExtractDirectoryConfiguration
Extracted directory configuration parameters
|
||||
|
2022-12-20 21:58:10 | SUCCESS |
FAPIBrazilOpenInsuranceCheckDirectoryDiscoveryUrl
Directory Discovery URL matches the Brazil directory.
|
||
|
2022-12-20 21:58:10 | SUCCESS |
FAPIBrazilOpenInsuranceCheckDirectoryApiBase
Directory API base matches the Brazil directory.
|
||
|
2022-12-20 21:58:10 |
|
GetDynamicServerConfiguration
HTTP request
|
||||||||||
|
2022-12-20 21:58:10 |
RESPONSE
|
GetDynamicServerConfiguration
HTTP response
|
||||||||
|
2022-12-20 21:58:10 |
SUCCESS
|
GetDynamicServerConfiguration
Successfully parsed server configuration
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
2022-12-20 21:58:10 | SUCCESS |
AddMTLSEndpointAliasesToEnvironment
Added mtls_endpoint_aliases to environment
|
|
2022-12-20 21:58:10 |
|
CreateTokenEndpointRequestForClientCredentialsGrant
Leaving off 'scope' parameter from token request
|
|
2022-12-20 21:58:10 |
SUCCESS
|
CreateTokenEndpointRequestForClientCredentialsGrant
Created token endpoint request
|
||
|
2022-12-20 21:58:10 |
SUCCESS
|
SetDirectorySoftwareScopeOnTokenEndpointRequest
Set scope parameter to 'directory:software'
|
||||
|
2022-12-20 21:58:10 |
|
AddClientIdToTokenEndpointRequest
|
||||||
|
2022-12-20 21:58:10 |
|
CallTokenEndpoint
HTTP request
|
||||||||||
|
2022-12-20 21:58:11 |
RESPONSE
|
CallTokenEndpoint
HTTP response
|
||||||||
|
2022-12-20 21:58:11 |
SUCCESS
|
CallTokenEndpoint
Parsed token endpoint response
|
||||||||
|
2022-12-20 21:58:11 |
SUCCESS
|
CheckIfTokenEndpointResponseError
No error from token endpoint
|
|
2022-12-20 21:58:11 |
SUCCESS
|
CheckForAccessTokenValue
Found an access token
|
||
|
2022-12-20 21:58:11 |
SUCCESS
|
ExtractAccessTokenFromTokenResponse
Extracted the access token
|
||||
|
2022-12-20 21:58:11 | SUCCESS |
AddMTLSEndpointAliasesToEnvironment
Added mtls_endpoint_aliases to environment
|
|
2022-12-20 21:58:11 |
SUCCESS
|
FAPIBrazilExtractClientMTLSCertificateSubject
Extracted subject from MTLS certificate
|
||||||||
|
2022-12-20 21:58:11 |
|
FAPIBrazilCallDirectorySoftwareStatementEndpointWithBearerToken
HTTP request
|
||||||||||
|
2022-12-20 21:58:12 |
RESPONSE
|
FAPIBrazilCallDirectorySoftwareStatementEndpointWithBearerToken
HTTP response
|
||||||||
|
2022-12-20 21:58:12 |
|
FAPIBrazilCallDirectorySoftwareStatementEndpointWithBearerToken
software statement endpoint response
|
||
|
2022-12-20 21:58:12 |
SUCCESS
|
FAPIBrazilCallDirectorySoftwareStatementEndpointWithBearerToken
Parsed assertion endpoint response
|
||||||
|
Perform Dynamic Client Registration |
2022-12-20 21:58:12 |
|
StoreOriginalClientConfiguration
Created original_client_config object from the client configuration.
|
||||||||
|
2022-12-20 21:58:12 |
|
ExtractClientNameFromStoredConfig
Extracted client_name from stored client configuration.
|
||
|
2022-12-20 21:58:12 |
SUCCESS
|
CreateJwksUri
Created JWKs URI
|
||
|
2022-12-20 21:58:12 |
|
CreateEmptyDynamicRegistrationRequest
Created empty dynamic registration request
|
|
2022-12-20 21:58:12 |
|
AddAuthorizationCodeGrantTypeToDynamicRegistrationRequest
Added 'authorization_code' to 'grant_types'
|
||
|
2022-12-20 21:58:12 |
|
AddImplicitGrantTypeToDynamicRegistrationRequest
Added 'implicit' to 'grant_types'
|
||
|
2022-12-20 21:58:12 |
|
AddRefreshTokenGrantTypeToDynamicRegistrationRequest
Added 'refresh_token' to 'grant_types'
|
||
|
2022-12-20 21:58:12 |
|
AddClientCredentialsGrantTypeToDynamicRegistrationRequest
Added 'client_credentials' to 'grant_types'
|
||
|
2022-12-20 21:58:12 |
|
AddJwksUriToDynamicRegistrationRequest
Added jwks_uri to dynamic registration request
|
||
|
2022-12-20 21:58:12 |
|
AddTokenEndpointAuthMethodToDynamicRegistrationRequestFromEnvironment
Added token endpoint auth method to dynamic registration request
|
||
|
2022-12-20 21:58:12 |
|
SetResponseTypeCodeIdTokenInDynamicRegistrationRequest
Added response_type 'code id_token' to dynamic registration request
|
||
|
2022-12-20 21:58:12 |
|
FapiBrazilVerifyRedirectUriContainedInSoftwareStatement
Required redirect_uri is present in the software statement
|
||||
|
2022-12-20 21:58:12 |
|
AddRedirectUriToDynamicRegistrationRequest
Added redirect_uris array to dynamic registration request
|
||
|
2022-12-20 21:58:12 |
|
AddSoftwareStatementToDynamicRegistrationRequest
Added software_statement to dynamic registration request
|
||
|
2022-12-20 21:58:12 |
|
CallDynamicRegistrationEndpoint
HTTP request
|
||||||||||
|
2022-12-20 21:58:12 |
RESPONSE
|
CallDynamicRegistrationEndpoint
HTTP response
|
||||||||
|
2022-12-20 21:58:12 |
|
CallDynamicRegistrationEndpoint
Parsed registration endpoint response
|
||||||||||
|
2022-12-20 21:58:12 | SUCCESS |
EnsureContentTypeJson
endpoint_response Content-Type: header is application/json
|
|
2022-12-20 21:58:12 | SUCCESS |
EnsureHttpStatusCodeIs400
dynamic registration endpoint returned the expected http status
|
||||
|
2022-12-20 21:58:12 | SUCCESS |
CheckErrorFromDynamicRegistrationEndpointIsInvalidClientMetadata
Dynamic registration endpoint returned 'error'
|
||||
|
2022-12-20 21:58:12 |
|
fapi1-advanced-final-brazil-dcr-invalid-jwks-uri
Setup Done
|
|
2022-12-20 21:58:12 |
FINISHED
|
fapi1-advanced-final-brazil-dcr-invalid-jwks-uri
Test has run to completion
|
||
|
Unregister dynamically registered client |
2022-12-20 21:58:12 |
INFO
|
UnregisterDynamicallyRegisteredClient
Skipped evaluation due to missing required object: client
|
||||
|
2022-12-20 21:58:14 |
|
TEST-RUNNER
Alias has now been claimed by another test
|
||||
|