Test Name | fapi1-advanced-final-brazil-dcr-no-mtls |
---|---|
Variant | client_auth_type=mtls, fapi_auth_request_method=by_value, fapi_profile=openbanking_brazil, fapi_response_mode=plain_response |
Test ID | xKj4G4zapGfkYm6 https://www.certification.openid.net/log-detail.html?public=true&log=xKj4G4zapGfkYm6 |
Created | 2021-11-04T19:22:25.886405Z |
Description | OAuthBB - Banco do Brasil SA |
Test Version | 4.1.37 |
Test Owner | 9234267 https://gitlab.com |
Plan ID | M4uLuCVYX6cBD https://www.certification.openid.net/plan-detail.html?public=true&plan=M4uLuCVYX6cBD |
Exported From | https://www.certification.openid.net |
Exported By | 9234267 https://gitlab.com |
Suite Version | 4.1.37 |
Exported | 2021-11-09 17:36:47 (UTC) |
Status: FINISHED Result: PASSED |
SUCCESS 40 FAILURE 0 WARNING 0 REVIEW 0 INFO 2 |
2021-11-04 19:22:26 |
INFO
|
TEST-RUNNER
Test instance xKj4G4zapGfkYm6 created
|
||||||||||||||
|
2021-11-04 19:22:26 |
SUCCESS
|
CreateRedirectUri
Created redirect URI
|
||
|
2021-11-04 19:22:26 |
|
GetDynamicServerConfiguration
HTTP request
|
||||||||
|
2021-11-04 19:22:26 |
RESPONSE
|
GetDynamicServerConfiguration
HTTP response
|
||||||||
|
2021-11-04 19:22:26 |
|
GetDynamicServerConfiguration
Downloaded server configuration
|
||
|
2021-11-04 19:22:26 |
SUCCESS
|
GetDynamicServerConfiguration
Successfully parsed server configuration
|
||||||||||||||||||||||||||||||||||||||||||||||
|
2021-11-04 19:22:26 | SUCCESS |
AddMTLSEndpointAliasesToEnvironment
Added mtls_endpoint_aliases to environment
|
|
2021-11-04 19:22:26 |
SUCCESS
|
CheckServerConfiguration
Found required server configuration keys
|
||
|
2021-11-04 19:22:26 |
|
FetchServerKeys
Fetching server key
|
||
|
2021-11-04 19:22:26 |
|
FetchServerKeys
HTTP request
|
||||||||
|
2021-11-04 19:22:27 |
RESPONSE
|
FetchServerKeys
HTTP response
|
||||||||
|
2021-11-04 19:22:27 |
|
FetchServerKeys
Found JWK set string
|
||
|
2021-11-04 19:22:27 |
SUCCESS
|
FetchServerKeys
Found server JWK set
|
||
|
2021-11-04 19:22:27 |
SUCCESS
|
CheckServerKeysIsValid
Server JWKs is valid
|
||
|
2021-11-04 19:22:27 | SUCCESS |
ValidateServerJWKs
Valid server JWKs: keys are valid JSON, contain the required fields and are correctly encoded using unpadded base64url
|
|
2021-11-04 19:22:27 | SUCCESS |
CheckForKeyIdInServerJWKs
All keys contain kids
|
|
2021-11-04 19:22:27 | SUCCESS |
EnsureServerJwksDoesNotContainPrivateOrSymmetricKeys
Jwks does not contain any private or symmetric keys
|
|
2021-11-04 19:22:27 | SUCCESS |
FAPIEnsureMinimumServerKeyLength
Validated minimum key lengths for server_jwks
|
||
|
2021-11-04 19:22:27 |
SUCCESS
|
ValidateMTLSCertificatesHeader
MTLS certificates header is valid
|
|
2021-11-04 19:22:27 |
SUCCESS
|
ExtractMTLSCertificatesFromConfiguration
Mutual TLS authentication credentials loaded
|
||||||
|
2021-11-04 19:22:27 |
SUCCESS
|
ExtractJWKSDirectFromClientConfiguration
Extracted client JWK
|
||||
|
2021-11-04 19:22:27 | SUCCESS |
CheckDistinctKeyIdValueInClientJWKs
Distinct 'kid' value in all keys of client_jwks
|
||
|
Obtain access token for directory and retrieve a software statement |
2021-11-04 19:22:27 |
SUCCESS
|
ExtractDirectoryConfiguration
Extracted directory configuration parameters
|
||||
|
2021-11-04 19:22:27 | SUCCESS |
FAPIBrazilCheckDirectoryDiscoveryUrl
Directory Discovery URL matches the Brazil directory.
|
||
|
2021-11-04 19:22:27 | SUCCESS |
FAPIBrazilCheckDirectoryApiBase
Directory API base matches the Brazil directory.
|
||
|
2021-11-04 19:22:27 |
|
GetDynamicServerConfiguration
HTTP request
|
||||||||||
|
2021-11-04 19:22:27 |
RESPONSE
|
GetDynamicServerConfiguration
HTTP response
|
||||||||
|
2021-11-04 19:22:27 |
|
GetDynamicServerConfiguration
Downloaded server configuration
|
||
|
2021-11-04 19:22:27 |
SUCCESS
|
GetDynamicServerConfiguration
Successfully parsed server configuration
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
2021-11-04 19:22:27 | SUCCESS |
AddMTLSEndpointAliasesToEnvironment
Added mtls_endpoint_aliases to environment
|
|
2021-11-04 19:22:27 |
|
CreateTokenEndpointRequestForClientCredentialsGrant
Leaving off 'scope' parameter from token request
|
|
2021-11-04 19:22:27 |
SUCCESS
|
CreateTokenEndpointRequestForClientCredentialsGrant
|
||
|
2021-11-04 19:22:27 |
SUCCESS
|
SetDirectorySoftwareScopeOnTokenEndpointRequest
Set scope parameter to 'directory:software'
|
||||
|
2021-11-04 19:22:27 |
|
AddClientIdToTokenEndpointRequest
|
||||||
|
2021-11-04 19:22:27 |
|
CallTokenEndpoint
HTTP request
|
||||||||||
|
2021-11-04 19:22:28 |
RESPONSE
|
CallTokenEndpoint
HTTP response
|
||||||||
|
2021-11-04 19:22:28 |
|
CallTokenEndpoint
Token endpoint response
|
||
|
2021-11-04 19:22:28 |
SUCCESS
|
CallTokenEndpoint
Parsed token endpoint response
|
||||||||
|
2021-11-04 19:22:28 |
SUCCESS
|
CheckIfTokenEndpointResponseError
No error from token endpoint
|
|
2021-11-04 19:22:28 |
SUCCESS
|
CheckForAccessTokenValue
Found an access token
|
||
|
2021-11-04 19:22:28 |
SUCCESS
|
ExtractAccessTokenFromTokenResponse
Extracted the access token
|
||||
|
2021-11-04 19:22:28 | SUCCESS |
AddMTLSEndpointAliasesToEnvironment
Added mtls_endpoint_aliases to environment
|
|
2021-11-04 19:22:28 |
SUCCESS
|
FAPIBrazilExtractClientMTLSCertificateSubject
Extracted subject from MTLS certificate
|
||||||
|
2021-11-04 19:22:28 |
|
FAPIBrazilCallDirectorySoftwareStatementEndpointWithBearerToken
HTTP request
|
||||||||||
|
2021-11-04 19:22:28 |
RESPONSE
|
FAPIBrazilCallDirectorySoftwareStatementEndpointWithBearerToken
HTTP response
|
||||||||
|
2021-11-04 19:22:28 |
|
FAPIBrazilCallDirectorySoftwareStatementEndpointWithBearerToken
software statement endpoint response
|
2021-11-04 19:22:28 |
SUCCESS
|
FAPIBrazilCallDirectorySoftwareStatementEndpointWithBearerToken
Parsed assertion endpoint response
|
||||||
|
Perform Dynamic Client Registration |
2021-11-04 19:22:28 |
|
StoreOriginalClientConfiguration
Created original_client_config object from the client configuration.
|
||||||||
|
2021-11-04 19:22:28 |
|
ExtractClientNameFromStoredConfig
Extracted client_name from stored client configuration.
|
||
|
2021-11-04 19:22:28 | SUCCESS |
FAPIBrazilExtractJwksUriFromSoftwareStatement
Extracted JWKS URI from software statement
|
||
|
2021-11-04 19:22:28 |
|
CreateEmptyDynamicRegistrationRequest
Created empty dynamic registration request
|
|
2021-11-04 19:22:28 |
|
AddAuthorizationCodeGrantTypeToDynamicRegistrationRequest
Added 'authorization_code' to 'grant_types'
|
||
|
2021-11-04 19:22:28 |
|
AddImplicitGrantTypeToDynamicRegistrationRequest
Added 'implicit' to 'grant_types'
|
||
|
2021-11-04 19:22:28 |
|
AddRefreshTokenGrantTypeToDynamicRegistrationRequest
Added 'refresh_token' to 'grant_types'
|
||
|
2021-11-04 19:22:29 |
|
AddClientCredentialsGrantTypeToDynamicRegistrationRequest
Added 'client_credentials' to 'grant_types'
|
||
|
2021-11-04 19:22:29 |
|
AddTlsClientAuthSubjectDnToDynamicRegistrationRequest
Added tls_client_auth_subject_dn to dynamic registration request
|
||
|
2021-11-04 19:22:29 |
|
AddJwksUriToDynamicRegistrationRequest
Added jwks_uri to dynamic registration request
|
||
|
2021-11-04 19:22:29 |
|
AddTokenEndpointAuthMethodToDynamicRegistrationRequestFromEnvironment
Added token endpoint auth method to dynamic registration request
|
||
|
2021-11-04 19:22:29 |
|
SetResponseTypeCodeIdTokenInDynamicRegistrationRequest
Added response_type 'code id_token' to dynamic registration request
|
||
|
2021-11-04 19:22:29 |
|
FapiBrazilVerifyRedirectUriContainedInSoftwareStatement
Required redirect_uri is present in the software statement
|
||||
|
2021-11-04 19:22:29 |
|
AddRedirectUriToDynamicRegistrationRequest
Added redirect_uris array to dynamic registration request
|
||
|
2021-11-04 19:22:29 |
|
AddSoftwareStatementToDynamicRegistrationRequest
Added software_statement to dynamic registration request
|
||
|
Call dynamic client registration endpoint with no/bad certificate |
2021-11-04 19:22:29 |
|
CallDynamicRegistrationEndpointAllowingTLSFailure
HTTP request
|
||||||||
|
2021-11-04 19:22:29 |
SUCCESS
|
CallDynamicRegistrationEndpointAllowingTLSFailure
Call to dynamic registration endpoint failed due to a TLS issue
|
||||||||||||
|
Call dynamic client registration endpoint with correct certificate |
2021-11-04 19:22:29 |
|
CallDynamicRegistrationEndpoint
HTTP request
|
||||||||||
|
2021-11-04 19:22:32 |
RESPONSE
|
CallDynamicRegistrationEndpoint
HTTP response
|
||||||||
|
2021-11-04 19:22:32 |
|
CallDynamicRegistrationEndpoint
Parsed registration endpoint response
|
||||||||||
|
2021-11-04 19:22:32 | SUCCESS |
EnsureContentTypeJson
endpoint_response Content-Type: header is application/json
|
|
2021-11-04 19:22:32 | SUCCESS |
EnsureHttpStatusCodeIs201
dynamic registration endpoint returned the expected http status
|
||||
|
2021-11-04 19:22:32 | SUCCESS |
CheckNoErrorFromDynamicRegistrationEndpoint
Dynamic registration endpoint did not return an error.
|
|
2021-11-04 19:22:32 | SUCCESS |
ExtractDynamicRegistrationResponse
Extracted client from dynamic registration response
|
||
|
2021-11-04 19:22:32 | SUCCESS |
ExtractClientManagementCredentials
Extracted dynamic registration management credentials
|
||||
|
2021-11-04 19:22:32 | SUCCESS |
ClientManagementEndpointAndAccessTokenRequired
Client management endpoint and access token were provided by the authorization server.
|
||||
|
2021-11-04 19:22:32 | SUCCESS |
CheckScopesFromDynamicRegistrationEndpointContainRequiredScopes
'scope' in dynamic registration response contains the scopes specified in the test configuration.
|
||||
|
2021-11-04 19:22:32 |
|
CopyScopeFromDynamicRegistrationTemplateToClientConfiguration
Copied scope from original_client_config to client configuration
|
||
|
2021-11-04 19:22:32 |
|
CopyOrgJwksFromDynamicRegistrationTemplateToClientConfiguration
Copied org_jwks from original_client_config to client configuration
|
||
|
2021-11-04 19:22:32 |
|
fapi1-advanced-final-brazil-dcr-no-mtls
Setup Done
|
|
Call client configuration endpoint with no/bad certificate |
2021-11-04 19:22:32 |
|
CallClientConfigurationEndpointAllowingTLSFailure
HTTP request
|
||||||||
|
2021-11-04 19:22:32 | SUCCESS |
CallClientConfigurationEndpointAllowingTLSFailure
Call to client configuration endpoint https://oauth-mtls.homologa.of.bb.com.br/investimentosbb/dcr/v1/register/eyJpZCI6ImU3ZWY4NjUtZTc1OS00MGVjLWFjIiwiY29kaWdvUHVibGljYWRvciI6MCwiY29kaWdvU29mdHdhcmUiOjI0NjY3LCJzZXF1ZW5jaWFsSW5zdGFsYWNhbyI6MX0 failed due to a TLS issue
|
||||||||||||
|
2021-11-04 19:22:32 |
|
UnregisterDynamicallyRegisteredClientExpectingFailure
HTTP request
|
||||||||
|
2021-11-04 19:22:33 | SUCCESS |
UnregisterDynamicallyRegisteredClientExpectingFailure
Call to registration_client_uri failed due to a TLS issue as expected
|
||||||||||||
|
Deregister client |
2021-11-04 19:22:33 |
|
UnregisterDynamicallyRegisteredClient
HTTP request
|
||||||||||
|
2021-11-04 19:22:35 |
RESPONSE
|
UnregisterDynamicallyRegisteredClient
HTTP response
|
||||||||
|
2021-11-04 19:22:35 | SUCCESS |
UnregisterDynamicallyRegisteredClient
Client successfully unregistered
|
|
2021-11-04 19:22:35 |
FINISHED
|
fapi1-advanced-final-brazil-dcr-no-mtls
Test has run to completion
|
||
|
Unregister dynamically registered client |
2021-11-04 19:22:35 |
INFO
|
UnregisterDynamicallyRegisteredClient
Skipped evaluation due to missing required string: registration_client_uri
|
||
|