Test Name | fapi1-advanced-final-brazildcr-client-delete |
---|---|
Variant | client_auth_type=private_key_jwt, fapi_auth_request_method=pushed, fapi_profile=openbanking_brazil, fapi_response_mode=plain_response |
Test ID | 3qrHha01llohjRd https://www.certification.openid.net/log-detail.html?public=true&log=3qrHha01llohjRd |
Created | 2021-10-28T23:27:15.904150Z |
Description | Opus Open Banking - Pefisa |
Test Version | 4.1.36 |
Test Owner | 104712854135929669197 https://accounts.google.com |
Plan ID | XabYyVvTldkZL https://www.certification.openid.net/plan-detail.html?public=true&plan=XabYyVvTldkZL |
Exported From | https://www.certification.openid.net |
Exported By | 104712854135929669197 https://accounts.google.com |
Suite Version | 4.1.36 |
Exported | 2021-10-29 17:44:33 (UTC) |
Status: FINISHED Result: PASSED |
SUCCESS 61 FAILURE 0 WARNING 0 REVIEW 0 INFO 2 |
2021-10-28 23:27:16 |
INFO
|
TEST-RUNNER
Test instance 3qrHha01llohjRd created
|
||||||||||||||
|
2021-10-28 23:27:16 |
SUCCESS
|
CreateRedirectUri
Created redirect URI
|
||
|
2021-10-28 23:27:16 |
|
GetDynamicServerConfiguration
HTTP request
|
||||||||
|
2021-10-28 23:27:17 |
RESPONSE
|
GetDynamicServerConfiguration
HTTP response
|
||||||||
|
2021-10-28 23:27:17 |
|
GetDynamicServerConfiguration
Downloaded server configuration
|
||
|
2021-10-28 23:27:17 |
SUCCESS
|
GetDynamicServerConfiguration
Successfully parsed server configuration
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
2021-10-28 23:27:17 | SUCCESS |
AddMTLSEndpointAliasesToEnvironment
Added mtls_endpoint_aliases to environment
|
|
2021-10-28 23:27:17 |
SUCCESS
|
CheckServerConfiguration
Found required server configuration keys
|
||
|
2021-10-28 23:27:17 |
|
FetchServerKeys
Fetching server key
|
||
|
2021-10-28 23:27:17 |
|
FetchServerKeys
HTTP request
|
||||||||
|
2021-10-28 23:27:17 |
RESPONSE
|
FetchServerKeys
HTTP response
|
||||||||
|
2021-10-28 23:27:17 |
|
FetchServerKeys
Found JWK set string
|
||
|
2021-10-28 23:27:17 |
SUCCESS
|
FetchServerKeys
Found server JWK set
|
||
|
2021-10-28 23:27:17 |
SUCCESS
|
CheckServerKeysIsValid
Server JWKs is valid
|
||
|
2021-10-28 23:27:17 | SUCCESS |
ValidateServerJWKs
Valid server JWKs: keys are valid JSON, contain the required fields and are correctly encoded using unpadded base64url
|
|
2021-10-28 23:27:17 | SUCCESS |
CheckForKeyIdInServerJWKs
All keys contain kids
|
|
2021-10-28 23:27:17 | SUCCESS |
EnsureServerJwksDoesNotContainPrivateOrSymmetricKeys
Jwks does not contain any private or symmetric keys
|
|
2021-10-28 23:27:17 | SUCCESS |
FAPIEnsureMinimumServerKeyLength
Validated minimum key lengths for server_jwks
|
||
|
2021-10-28 23:27:17 |
SUCCESS
|
ValidateMTLSCertificatesHeader
MTLS certificates header is valid
|
|
2021-10-28 23:27:17 |
SUCCESS
|
ExtractMTLSCertificatesFromConfiguration
Mutual TLS authentication credentials loaded
|
||||||
|
2021-10-28 23:27:17 |
SUCCESS
|
ExtractJWKSDirectFromClientConfiguration
Extracted client JWK
|
||||
|
2021-10-28 23:27:17 | SUCCESS |
CheckDistinctKeyIdValueInClientJWKs
Distinct 'kid' value in all keys of client_jwks
|
||
|
Obtain access token for directory and retrieve a software statement |
2021-10-28 23:27:17 |
SUCCESS
|
ExtractDirectoryConfiguration
Extracted directory configuration parameters
|
||||
|
2021-10-28 23:27:17 | SUCCESS |
FAPIBrazilCheckDirectoryDiscoveryUrl
Directory Discovery URL matches the Brazil directory.
|
||
|
2021-10-28 23:27:17 | SUCCESS |
FAPIBrazilCheckDirectoryApiBase
Directory API base matches the Brazil directory.
|
||
|
2021-10-28 23:27:17 |
|
GetDynamicServerConfiguration
HTTP request
|
||||||||||
|
2021-10-28 23:27:17 |
RESPONSE
|
GetDynamicServerConfiguration
HTTP response
|
||||||||
|
2021-10-28 23:27:17 |
|
GetDynamicServerConfiguration
Downloaded server configuration
|
||
|
2021-10-28 23:27:17 |
SUCCESS
|
GetDynamicServerConfiguration
Successfully parsed server configuration
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
2021-10-28 23:27:17 | SUCCESS |
AddMTLSEndpointAliasesToEnvironment
Added mtls_endpoint_aliases to environment
|
|
2021-10-28 23:27:17 |
|
CreateTokenEndpointRequestForClientCredentialsGrant
Leaving off 'scope' parameter from token request
|
|
2021-10-28 23:27:17 |
SUCCESS
|
CreateTokenEndpointRequestForClientCredentialsGrant
|
||
|
2021-10-28 23:27:17 |
SUCCESS
|
SetDirectorySoftwareScopeOnTokenEndpointRequest
Set scope parameter to 'directory:software'
|
||||
|
2021-10-28 23:27:17 |
|
AddClientIdToTokenEndpointRequest
|
||||||
|
2021-10-28 23:27:17 |
|
CallTokenEndpoint
HTTP request
|
||||||||||
|
2021-10-28 23:27:18 |
RESPONSE
|
CallTokenEndpoint
HTTP response
|
||||||||
|
2021-10-28 23:27:18 |
|
CallTokenEndpoint
Token endpoint response
|
||
|
2021-10-28 23:27:18 |
SUCCESS
|
CallTokenEndpoint
Parsed token endpoint response
|
||||||||
|
2021-10-28 23:27:18 |
SUCCESS
|
CheckIfTokenEndpointResponseError
No error from token endpoint
|
|
2021-10-28 23:27:18 |
SUCCESS
|
CheckForAccessTokenValue
Found an access token
|
||
|
2021-10-28 23:27:18 |
SUCCESS
|
ExtractAccessTokenFromTokenResponse
Extracted the access token
|
||||
|
2021-10-28 23:27:18 | SUCCESS |
AddMTLSEndpointAliasesToEnvironment
Added mtls_endpoint_aliases to environment
|
|
2021-10-28 23:27:18 |
SUCCESS
|
FAPIBrazilExtractClientMTLSCertificateSubject
Extracted subject from MTLS certificate
|
||||||
|
2021-10-28 23:27:18 |
|
FAPIBrazilCallDirectorySoftwareStatementEndpointWithBearerToken
HTTP request
|
||||||||||
|
2021-10-28 23:27:19 |
RESPONSE
|
FAPIBrazilCallDirectorySoftwareStatementEndpointWithBearerToken
HTTP response
|
||||||||
|
2021-10-28 23:27:19 |
|
FAPIBrazilCallDirectorySoftwareStatementEndpointWithBearerToken
software statement endpoint response
|
||
|
2021-10-28 23:27:19 |
SUCCESS
|
FAPIBrazilCallDirectorySoftwareStatementEndpointWithBearerToken
Parsed assertion endpoint response
|
||||||
|
Perform Dynamic Client Registration |
2021-10-28 23:27:19 |
|
StoreOriginalClientConfiguration
Created original_client_config object from the client configuration.
|
||||||||
|
2021-10-28 23:27:19 |
|
ExtractClientNameFromStoredConfig
Extracted client_name from stored client configuration.
|
||
|
2021-10-28 23:27:19 | SUCCESS |
FAPIBrazilExtractJwksUriFromSoftwareStatement
Extracted JWKS URI from software statement
|
||
|
2021-10-28 23:27:19 |
|
CreateEmptyDynamicRegistrationRequest
Created empty dynamic registration request
|
|
2021-10-28 23:27:19 |
|
AddAuthorizationCodeGrantTypeToDynamicRegistrationRequest
Added 'authorization_code' to 'grant_types'
|
||
|
2021-10-28 23:27:19 |
|
AddImplicitGrantTypeToDynamicRegistrationRequest
Added 'implicit' to 'grant_types'
|
||
|
2021-10-28 23:27:19 |
|
AddRefreshTokenGrantTypeToDynamicRegistrationRequest
Added 'refresh_token' to 'grant_types'
|
||
|
2021-10-28 23:27:19 |
|
AddClientCredentialsGrantTypeToDynamicRegistrationRequest
Added 'client_credentials' to 'grant_types'
|
||
|
2021-10-28 23:27:19 |
|
AddJwksUriToDynamicRegistrationRequest
Added jwks_uri to dynamic registration request
|
||
|
2021-10-28 23:27:19 |
|
AddTokenEndpointAuthMethodToDynamicRegistrationRequestFromEnvironment
Added token endpoint auth method to dynamic registration request
|
||
|
2021-10-28 23:27:19 |
|
SetResponseTypeCodeIdTokenInDynamicRegistrationRequest
Added response_type 'code id_token' to dynamic registration request
|
||
|
2021-10-28 23:27:19 |
|
FapiBrazilVerifyRedirectUriContainedInSoftwareStatement
Required redirect_uri is present in the software statement
|
||||
|
2021-10-28 23:27:19 |
|
AddRedirectUriToDynamicRegistrationRequest
Added redirect_uris array to dynamic registration request
|
||
|
2021-10-28 23:27:19 |
|
AddSoftwareStatementToDynamicRegistrationRequest
Added software_statement to dynamic registration request
|
||
|
2021-10-28 23:27:19 |
|
CallDynamicRegistrationEndpoint
HTTP request
|
||||||||||
|
2021-10-28 23:27:20 |
RESPONSE
|
CallDynamicRegistrationEndpoint
HTTP response
|
||||||||
|
2021-10-28 23:27:20 |
|
CallDynamicRegistrationEndpoint
Parsed registration endpoint response
|
||||||||||
|
2021-10-28 23:27:20 | SUCCESS |
EnsureContentTypeJson
endpoint_response Content-Type: header is application/json
|
|
2021-10-28 23:27:20 | SUCCESS |
EnsureHttpStatusCodeIs201
dynamic registration endpoint returned the expected http status
|
||||
|
2021-10-28 23:27:20 | SUCCESS |
CheckNoErrorFromDynamicRegistrationEndpoint
Dynamic registration endpoint did not return an error.
|
|
2021-10-28 23:27:20 | SUCCESS |
ExtractDynamicRegistrationResponse
Extracted client from dynamic registration response
|
||
|
2021-10-28 23:27:20 | SUCCESS |
ExtractClientManagementCredentials
Extracted dynamic registration management credentials
|
||||
|
2021-10-28 23:27:20 | SUCCESS |
ClientManagementEndpointAndAccessTokenRequired
Client management endpoint and access token were provided by the authorization server.
|
||||
|
2021-10-28 23:27:20 | SUCCESS |
CheckScopesFromDynamicRegistrationEndpointContainRequiredScopes
'scope' in dynamic registration response contains the scopes specified in the test configuration.
|
||||
|
2021-10-28 23:27:20 |
|
CopyScopeFromDynamicRegistrationTemplateToClientConfiguration
Copied scope from original_client_config to client configuration
|
||
|
2021-10-28 23:27:20 |
|
CopyOrgJwksFromDynamicRegistrationTemplateToClientConfiguration
Copied org_jwks from original_client_config to client configuration
|
||
|
2021-10-28 23:27:20 |
SUCCESS
|
GetResourceEndpointConfiguration
Found a resource endpoint object
|
||||||||||||
|
2021-10-28 23:27:20 |
SUCCESS
|
SetProtectedResourceUrlToSingleResourceEndpoint
Set protected resource URL
|
||
|
2021-10-28 23:27:20 |
SUCCESS
|
ExtractTLSTestValuesFromResourceConfiguration
Extracted TLS information from resource endpoint
|
||
|
2021-10-28 23:27:20 |
SUCCESS
|
ExtractTLSTestValuesFromOBResourceConfiguration
Extracted TLS information from resource endpoint
|
||||
|
2021-10-28 23:27:20 |
|
fapi1-advanced-final-brazildcr-client-delete
Setup Done
|
|
Verify that client_credentials grant can be used |
2021-10-28 23:27:20 |
SUCCESS
|
CreateTokenEndpointRequestForClientCredentialsGrant
|
||||
|
2021-10-28 23:27:20 |
SUCCESS
|
SetPaymentsScopeOnTokenEndpointRequest
Set scope parameter to 'payments'
|
||||
|
2021-10-28 23:27:20 |
SUCCESS
|
CreateClientAuthenticationAssertionClaims
Created client assertion claims
|
||||||||||||
|
2021-10-28 23:27:20 |
SUCCESS
|
SignClientAuthenticationAssertion
Signed the client assertion
|
||
|
2021-10-28 23:27:20 |
|
AddClientAssertionToTokenEndpointRequest
Added client assertion
|
||||||||
|
2021-10-28 23:27:20 |
|
CallTokenEndpointAndReturnFullResponse
HTTP request
|
||||||||||
|
2021-10-28 23:27:20 |
RESPONSE
|
CallTokenEndpointAndReturnFullResponse
HTTP response
|
||||||||
|
2021-10-28 23:27:20 |
SUCCESS
|
CallTokenEndpointAndReturnFullResponse
Parsed token endpoint response
|
||||||||
|
2021-10-28 23:27:20 |
SUCCESS
|
CheckTokenEndpointHttpStatus200
Token endpoint http status code was 200
|
|
2021-10-28 23:27:20 |
SUCCESS
|
CheckIfTokenEndpointResponseError
No error from token endpoint
|
|
2021-10-28 23:27:20 |
SUCCESS
|
CheckForAccessTokenValue
Found an access token
|
||
|
Deleting client then expecting GET / DELETE on configuration endpoint to fail |
2021-10-28 23:27:20 |
|
UnregisterDynamicallyRegisteredClient
HTTP request
|
||||||||||
|
2021-10-28 23:27:21 |
RESPONSE
|
UnregisterDynamicallyRegisteredClient
HTTP response
|
||||||||
|
2021-10-28 23:27:21 | SUCCESS |
UnregisterDynamicallyRegisteredClient
Client successfully unregistered
|
|
2021-10-28 23:27:21 |
|
CallClientConfigurationEndpoint
HTTP request
|
||||||||||
|
2021-10-28 23:27:21 |
RESPONSE
|
CallClientConfigurationEndpoint
HTTP response
|
||||||||
|
2021-10-28 23:27:21 | SUCCESS |
CallClientConfigurationEndpoint
Called registration_client_uri
|
||||||||||
|
2021-10-28 23:27:21 | SUCCESS |
EnsureHttpStatusCodeIs401
registration_client_uri endpoint returned the expected http status
|
||||
|
2021-10-28 23:27:21 |
SUCCESS
|
CheckNoClientIdFromClientConfigurationEndpoint
Client configuration endpoint did not return a client_id.
|
|
2021-10-28 23:27:21 |
|
UnregisterDynamicallyRegisteredClientExpectingFailure
HTTP request
|
||||||||||
|
2021-10-28 23:27:22 |
RESPONSE
|
UnregisterDynamicallyRegisteredClientExpectingFailure
HTTP response
|
||||||||
|
2021-10-28 23:27:22 | SUCCESS |
UnregisterDynamicallyRegisteredClientExpectingFailure
registration_client_uri returned 400 bad request or 401 unauthorized when called with a TLS issue
|
|
Verify that client_credentials grant fails now client has been deleted |
2021-10-28 23:27:22 |
SUCCESS
|
CreateTokenEndpointRequestForClientCredentialsGrant
|
||||
|
2021-10-28 23:27:22 |
SUCCESS
|
SetPaymentsScopeOnTokenEndpointRequest
Set scope parameter to 'payments'
|
||||
|
2021-10-28 23:27:22 |
SUCCESS
|
CreateClientAuthenticationAssertionClaims
Created client assertion claims
|
||||||||||||
|
2021-10-28 23:27:22 |
SUCCESS
|
SignClientAuthenticationAssertion
Signed the client assertion
|
||
|
2021-10-28 23:27:22 |
|
AddClientAssertionToTokenEndpointRequest
Added client assertion
|
||||||||
|
2021-10-28 23:27:22 |
|
CallTokenEndpointAndReturnFullResponse
HTTP request
|
||||||||||
|
2021-10-28 23:27:22 |
RESPONSE
|
CallTokenEndpointAndReturnFullResponse
HTTP response
|
||||||||
|
2021-10-28 23:27:22 |
SUCCESS
|
CallTokenEndpointAndReturnFullResponse
Parsed token endpoint response
|
||||
|
2021-10-28 23:27:22 |
SUCCESS
|
ValidateErrorFromTokenEndpointResponseError
Token endpoint response error returned valid 'error' field
|
||
|
2021-10-28 23:27:22 |
SUCCESS
|
CheckTokenEndpointHttpStatus400or401
Token endpoint http status code was 401
|
|
2021-10-28 23:27:22 |
SUCCESS
|
CheckErrorFromTokenEndpointResponseErrorInvalidClient
Token Endpoint response error returned expected 'error' of 'invalid_client'
|
||
|
2021-10-28 23:27:22 |
FINISHED
|
fapi1-advanced-final-brazildcr-client-delete
Test has run to completion
|
||
|
Unregister dynamically registered client |
2021-10-28 23:27:22 |
INFO
|
UnregisterDynamicallyRegisteredClient
Skipped evaluation due to missing required string: registration_client_uri
|
||
|
2021-10-28 23:27:25 |
|
TEST-RUNNER
Alias has now been claimed by another test
|
||||
|