This site contains the documentation that is relevant to older WSO2 product versions and offerings.
For the latest WSO2 documentation, visit https://wso2.com/documentation/.
Dynamic Client Registration v3.2
Before you begin:
Deploy the Dynamic Client Registration v3.2 API.
According to the OBIE, the Account Servicing Payment Service Providers (ASPSPs) need to make sure that the TPPs can be registered in a seamless and ideally, a fully automated process. In order to avoid any obstacles that may occur, the OBIE requires the ASPSPs to provide the TPP responses real-time once the registration is processed. The Dynamic Client Registration (DCR) endpoint is capable of dynamically registering the clients with the ASPSP when the client sends a registration request with its metadata. This results in a registration response that includes a client identifier and the client metadata values registered for the client.
You can find the REST API documentation for Dynamic Client Registration v3.2 here.
This document explains how to utilize Dynamic Client Registration with WSO2 Open Banking.
Configuring dynamic client registration
Follow the steps below to configure the DCR API v3.2 in WSO2 Open Banking.
Uploading certificate to the client trust store
The ASPSP can upload the OB root and issuer certificates found in the below-mentioned locations to the client trust store of both WSO2 API Manager (WSO2 OB APIM)
and Key Manager (WSO2 OB KM)
.
In sandbox environment, upload certificates from https://openbanking.atlassian.net/wiki/spaces/DZ/pages/252018873/OB+Root+and+Issuing+Certificates+for+Sandbox
In production environment, upload certificates from https://openbanking.atlassian.net/wiki/spaces/DZ/pages/80544075/OB+Root+and+Issuing+Certificates+for+Production
The client trust stores are located in the WSO2 OB APIM and WSO2 OB KM servers in the following locations respectively:
<WSO2_OB_APIM>/repository/resources/security/client-truststore.jks
<WSO2_OB_KM>/repository/resources/security/client-truststore.jks
Use the following commands to add the certificate to the client trust store:
keytool -import -alias tpproot -file <OB_ROOT_CERT> -keystore client-truststore.jks -storepass wso2carbon
keytool -import -alias tppissuer -file <OB_ISSUING_CERT> -keystore client-truststore.jks -storepass wso2carbon
Updating open-banking.xml
Open the <WSO2_OB_APIM_HOME>/repository/conf/finance/open-banking.xml
file.
Set the <UseSoftwareIdAsApplicationName>
property under the <DCR>
property to true.
Setting this property to true ensures that the SoftwareId
in Software Statement Assertion is used as the application name.
<DCR> <UseSoftwareIdAsApplicationName>true</UseSoftwareIdAsApplicationName> </DCR>
Updating identity.xml
To display the DCR endpoint in OpenID Connect Discovery (https://<WSO2_OB_KM_HOST>:8243/.well-known/openid-configuration
) :
- Open the
<WSO2_OB_KM_HOME>/repository/conf/identity/identity.xml
file. Update the value of the
<OAuth2DCREPUrl>
property with the DCR endpoint.
<OAuth2DCREPUrl>${carbon.protocol}://localhost:8243/open-banking/v3.2/register</OAuth2DCREPUrl>
Updating api-manager.xml
To store any properties retrieved from the SSA, add the server-level configuration to the <OB_AM_HOME>/repository/conf/api-manager.xml
file as explained here . Ideally, place the following <ApplicationConfiguration>
at the end of the file within the <APIManager>
element.
For example, if you want to store software_client_id
retrieved from the SSA created in the sandbox environment, the property name should look like: software_client_id_sandbox
. Similarly, to store the software_client_id
retrieved from the SSA created in a production environment, the property name should be: software_client_id_production
. Make sure you add these properties as false, as required.
In addition to these, include software_jwks_endpoint
in the SSA. This is required to obtain an application access token.
This is available only as a WUM update and is effective from November 13, 2019 (11-13-2019). For more information on updating WSO2 Open Banking, see Updating WSO2 Products .
To enable viewing both softwareClientName and softwareClientID in the API Store when UseSoftwareIdAsApplicationName
is enabled, add the following configurations to the <WSO2_OB_APIM_HOME>/repository/conf/api-manager.xml
file under < ApplicationConfiguration>
within the < APIManager>
element:
<Attribute required="false"> <Name>software_client_name_sandbox</Name> <Description>Software Client Name of the sandbox</Description> </Attribute> <Attribute required="false"> <Name>software_client_name_production</Name> <Description>Software Client Name of the production</Description> </Attribute>
Once you follow the above instructions, notice the additional column Name , which displays softwareClientName
as follows:
Configuring application deletion workflow
- Sign in to the API Manager Management Console at
https://<WSO2_OB_APIM_HOST>:9443/carbon
, using the super admin credentials. - On the Main tab, click Resources > Browse.
- Locate the
/_system/governance/apimgt/applicationdata/workflow-extensions.xml
registry file. - Click
workflow-extensions.xml
to edit the file. Under the Content section, click Edit as text.
Update the A
pplicationDeletion executor
value as follows:<ApplicationDeletion executor="com.wso2.finance.app.deletion.impl.ApplicationDeletionWorkflow"/>
- Click Save Content.
Registering an application
If your application has one or more Callback URLs that exceed the default sizes, increase the column sizes of the CALLBACK_URL
columns.
The Callback URLs are stored in the database as follows:
Database | Table | Column | Default Size |
---|---|---|---|
openbank_apimgtdb | AM_APPLICATION | CALLBACK_URL | varchar 512 |
openbank_apimgtdb | IDN_OAUTH_CONSUMER_APPS | CALLBACK_URL | varchar 1024 |
To get the public transport and signing certificates, enrol the TPP in the Open Banking Directory and upload the Certificate Signing Request (CSR).
The API allows the TPP to request the ASPSP to register a new client. The process is as follows:
The TPP sends a registration request,
This is a POST request including an SSA (Software Statement Assertion) as a claim in the payload.
The SSA is sent as a signed JWT, which is obtained from the Open Banking Directory. This contains the client metadata.
The software statement (SSA) should be obtained from the Open Banking Directory by the TPP. The SSA is a signed JWT issued by the Open Banking directory.
The automated DCR process is carried out by calling a synapse API in the gateway. The registration request relies on Mutual TLS authentication for TPP authentication.
An example request sent to the DCR registration endpoint is shown below:curl -X POST \ https://<WSO2_OB_APIM_HOST>:8243/open-banking/v3.2/register \ -H 'Content-Type: application/jwt' \ --cert <TRANSPORT_PUBLIC_KEY_FILE_PATH> --key <TRANSPORT_PRIVATE_KEY_FILE_PATH> \ -d eyJ0eXAiOiJKV1QiLCJhbGciOiJQUzI1NiIsImtpZCI6IkR3TUtkV01tajdQV2ludm9xZlF5WFZ6eVo2USJ9.eyJpc3MiOiI5YjV1c0RwYk50bXhEY1R6czdHektwIiwiaWF0IjoxNjAxOTgyMDQyLCJleHAiOjE2MDcyNTI0NDIsImp0aSI6IjE2MDE5ODIwNDYiLCJhdWQiOiJodHRwczovL2xvY2FsaG9zdDo4MjQzL3Rva2VuIiwic2NvcGUiOiJhY2NvdW50cyBwYXltZW50cyIsInRva2VuX2VuZHBvaW50X2F1dGhfbWV0aG9kIjoicHJpdmF0ZV9rZXlfand0IiwiZ3JhbnRfdHlwZXMiOlsiYXV0aG9yaXphdGlvbl9jb2RlIiwicmVmcmVzaF90b2tlbiJdLCJyZXNwb25zZV90eXBlcyI6WyJjb2Rl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Hg4tHO9itXSVJvvzn8oAaYXXQrxfk4N1CojV3zk1bkhy6In3Q
The payload is a signed JWT payload. To sign it, use the signing certificate issued by the Open Banking Directory. The
kid
parameter of the header should match the values in thekid
of the signing certificate provided by the Open Banking Directory.The payload contains an SSA.
- The ASPSP validates the SSA based on the specifications provided in the Open Banking OpenID Dynamic Client (OIDC) Registration specification.
The ASPSP registers the client application using the metadata sent in the SSA.
If client creation is successful, the ASPSP responds with a JSON payload that describes the client that was created. The TPP can then use the client to access resources on the ASPSP's resource server.
If client creation is unsuccessful, the ASPSP responds with an error payload.
A sample response is given below:
{ "client_id":"kbLnJJ_uQL2Ye68uaCRbPIJOR4Ua", "client_id_issued_at":1601991722, "redirect_uris":[ "https://wso2.com" ], "grant_types":[ "authorization_code", "refresh_token" ], "application_type":"web", "id_token_signed_response_alg":"PS256", "token_endpoint_auth_signing_alg":"PS256", "request_object_signing_alg":"PS256", "scope":"accounts payments", "software_id":"9b5usDpbNtmxDcTzs7GzKp", "client_secret":"4nvgJQ0eSffFTtlLrfp0DqIfoLsa", "client_secret_expires_at":0, "token_endpoint_auth_method":"private_key_jwt", "response_types":[ "code id_token" ], "software_statement":"eyJhbGciOiJQUzI1NiIsImtpZCI6Ikh6YTl2NWJnREpjT25oY1VaN0JNd2JTTF80TlYwZ1NGdklqYVNYZEMtMWM9IiwidHlwIjoiSldUIn0.eyJpc3MiOiJPcGVuQmFua2luZyBMdGQiLCJpYXQiOjE1OTIzNjQ1NjgsImp0aSI6IjNkMWIzNTk1ZWZhYzRlMzYiLCJzb2Z0d2FyZV9lbnZpcm9ubWVudCI6InNhbmRib3giLCJzb2Z0d2FyZV9tb2RlIjoiVGVzdCIsInNvZnR3YXJlX2lkIjoiOWI1dXNEcGJOdG14RGNUenM3R3pLcCIsInNvZnR3YXJlX2NsaWVudF9pZCI6IjliNXVzRHBiTnRteERjVHpzN0d6S3AiLCJzb2Z0d2FyZV9jbGllbnRfbmFtZSI6IldTTzIgT3BlbiBCYW5raW5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1boksbFDK3RPIEe5PiODvX8vlWB8iUGy7PGzZ0ikXBD0lx9p1AJEyYF3x1pCjsSH8tJC5E5CG0xZLQPPkT3A_SpjiUh5ElNdNcmTPow2LVSxP9QusN4vWpEMUNd9pw" }
Generate a Client Credentials grant access token for the application using the following command:
Retrieving an application
The API allows the TPP to retrieve the details for a client that has already been registered. The request relies on Mutual TLS authentication and application access token ( Client Credentials grant type) for TPP authentication.
The request has one path parameter named
ClientId
. It specifies the
ClientId
of the application that the TPP wants to retrieve details.
- If the request is successful and the identifier(
ClientId
) matches the client to whom the Client Credentials grant access token was issued, the ASPSP returns details of the requested client - If the
ClientId
is unknown, the ASPSP responds with anUnauthorized
status code and immediately revokes the access token
Given below is a sample request sent to the retrieving endpoint:
Updating an application
The API allows the TPP to request the ASPSP to modify one or more attributes related to an existing client. The request relies on Mutual TLS authentication and application access token (Client Credentials grant type) for TPP authentication.
The request has one path parameter named
ClientId
. It specifies the
ClientId
of the application that the TPP wants to modify. The TPP submits a JWS payload that describes the characteristics of the client to be modified. This must include all the claims, including the ones that will not be modified.
- If the client is successfully modified, the ASPSP responds with a JSON payload that describes the client that was created.
If the
ClientId
is unknown, the ASPSP responds with anUnauthorized
status code and immediately revokes the access token.If client modification is unsuccessful, the ASPSP responds with an error payload.
Deleting an application
The API allows the TPP to request the ASPSP to delete an existing client. The request relies on Mutual TLS authentication and application access token (Client Credentials grant type) for TPP authentication.
The request has one path parameter named ClientId
. It specifies the ClientId
of the application that the TPP wants to delete.
- If the request is successful and the
ClientId
matches the client to whom the Client Credentials grant access token was issued, the ASPSP must delete the client and invalidate long lived access tokens that were issued to the client - If the ClientId is unknown, the ASPSP responds with an Unauthorized status code and immediately revokes the access token
You can find a sample request sent to the retrieving endpoint below.
If the deletion is successful you will get a 204 No Content
response.