Dynamic Client Registration

This page explains how to onboard API consumers using the Dynamic Client Registration API.

Before you begin...

  1. Open the <IS_HOME>/repository/conf/deployment.toml file.

  2. Configure the JWKS endpoints by following the sample given below. These endpoints are used for validating the SSA signature.

    [open_banking.dcr]
    jwks_url_sandbox = "https://keystore.openbankingtest.org.uk/0015800001HQQrZAAX/0015800001HQQrZAAX.jwks"
    jwks_url_production = "https://keystore.openbankingtest.org.uk/0015800001HQQrZAAX/0015800001HQQrZAAX.jwks"

  3. Restart the Identity Server.

  4. If you are using WSO2 API Manager at U2 level 4.0.0.102 or above, disable the Resident Key Manager:

    1. Open the <APIM_HOME>/repository/conf/deployment.toml file.
    2. Disable [apim.key_manager] configurations by commenting them out:

      #[apim.key_manager]
      #service_url = "https://localhost:9446${carbon.context}services/"
      #type = "WSO2-IS"
      #key_manager_client_impl = "org.wso2.carbon.apimgt.impl.AMDefaultKeyManagerImpl"
      #username = "$ref{super_admin.username}"
      #password = "$ref{super_admin.password}"
      #pool.init_idle_capacity = 50
      #pool.max_idle = 100
      #key_validation_handler_type = "default"
      #key_validation_handler_type = "custom"
      #key_validation_handler_impl = "org.wso2.carbon.apimgt.keymgt.handlers.DefaultKeyValidationHandler"
  5. If you are using WSO2 API Manager 4.2.0, you need to change the API Manager REST API version from V2 to V3.

    1. Open the <APIM_HOME>/repository/conf/deployment.toml file.
    2. Locate the [open_banking.dcr.apim_rest_endpoints] tag. By default, the configuration is commented out.
    3. Uncomment the configuration and update as shown below:

      [open_banking.dcr.apim_rest_endpoints]
      app_creation = "api/am/devportal/v3/applications"
      key_generation = "api/am/devportal/v3/applications/application-id/map-keys"
      api_retrieve = "api/am/devportal/v3/apis"
      api_subscribe = "api/am/devportal/v3/subscriptions/multiple"
      retrieve_subscribe="api/am/devportal/v3/subscriptions"
  6. Restart the API Manager.

Step 1: Deploy the Dynamic Client Registration(DCR) API

  1. Sign in to the API Publisher Portal at https://localhost:9443/publisher as [email protected] who has creator/publisher permissions. privileges.

  2. In the homepage, go to REST API and select Import Open API.

  3. Select OpenAPI File/Archive. select_API

  4. Click Browse File to Upload and select the <APIM_HOME>/<OB_APIM_ACCELERATOR_HOME>/repository/resources/apis/ DynamicClientRegistration/dcr-swagger.yaml file.

  5. Click Next.

  6. Set the value for Endpoint as follows:

    https://localhost:9446/api/openbanking/dynamic-client-registration
    set_endpoint

  7. Click Create.

  8. Select Subscriptions from the left menu pane and set the business plan to Unlimited: Allows unlimited requests. select_subscriptions

  9. Click Save.

  10. Go to Deployments using the left menu pane and select Default Hybrid API Gateway. deploy_api_gateway

  11. Click Deploy.

12.Go to Overview using the left menu pane.

select_overview

13.Click Publish.

publish_api

14.The deployed DCR API is now available in the Developer Portal at https://localhost:9443/devportal.

15.Upload the root and issuer certificates in OBIE (Sandbox certificates/ Production certificates) to the client trust stores in <APIM_HOME>/repository/resources/security/client-truststore.jks and <IS_HOME>/repository/resources/security/client-truststore.jks using the following command:

keytool -import -alias <alias> -file <certificate_location> -storetype JKS -keystore <truststore_location> -storepass wso2carbon

16.Restart the Identity Server and API Manager instances.

Step 2: Configure IS as Key Manager

  1. Sign in to the Admin Portal of API Manager at https://localhost:9443/admin.
  2. Go to Key Managers on the left main menu. add_Key_Manager
  3. Click Add New Key Manager and configure Key Manager.

    Click here to see the full list of configurations...
    Configuration Description Value
    Name The name of the authorization server. OBKM
    Display Name A name to display on the UI. OBKM
    Description The name of the authorization server. (Optional)
    Key Manager Type The type of the Key Manager to be selected. Select ObKeyManager
    Well-known-url The well-known URL of the authorization server (Key Manager). https://<IS_HOST>:9446/oauth2/token/.well-known/openid-configuration
    Issuer The issuer that consumes or validates access tokens. https://<IS_HOST>:9446/oauth2/token
    Key Manager Endpoints
    Client Registration Endpoint The endpoint that verifies the identity and obtain profile information of the end-user based on the authentication performed by an authorization server. https://<IS_HOST>:9446/keymanager-operations/dcr/register
    Introspection Endpoint The endpoint that allows authorized protected resources to query the authorization server to determine the set of metadata for a given token that was presented to them by an OAuth Client. https://<IS_HOST>:9446/oauth2/introspect
    Token Endpoint The endpoint that issues the access tokens. https://<IS_HOST>:9446/oauth2/token
    Revoke Endpoint The endpoint that revokes the access tokens. https://<IS_HOST>:9446/oauth2/revoke
    Userinfo Endpoint The endpoint that allows clients to verify the identity of the end-user based on the authentication performed by an authorization server, as well as to obtain basic profile information about the end-user. https://<IS_HOST>:9446/oauth2/userinfo?schema=openid
    Authorize Endpoint The endpoint used to obtain an authorization grant from the resource owner via the user-agent redirection. https://<IS_HOST>:9446/oauth2/authorize
    Scope Management Endpoint The endpoint used to manage the scopes. https://<IS_HOST>:9446/api/identity/oauth2/v1.0/scopes
    Connector Configurations
    Username The username of an admin user who is authorized to connect to the authorization server.
    Password The password corresponding to the latter mentioned admin user who is authorized to connect to the authorization server.
    Claim URIs
    Consumer Key Claim URI The claim URI for the consumer key. (Optional)
    Scopes Claim URI The claim URI for the scopes (Optional)
    Grant Types The supported grant types. Add multiple grant types by adding a grant type press Enter. Add the client_credentials, authorization_code, refresh_token, and urn:ietf:params:oauth:grant-type:jwt-bearer grant types. (Mandatory)
    Certificates
    PEM Either copy and paste the certificate in PEM format or upload the PEM file. (Optional)
    JWKS The JSON Web Key Set (JWKS) endpoint is a read-only endpoint. This URL returns the Identity Server's public key set in JSON web key set format. This contains the signing key(s) the Relying Party (RP) uses to validate signatures from the Identity Server. https://<IS_HOST>:9446/oauth2/jwks
    Advanced Configurations
    Token Generation This enables token generation via the authorization server. (Mandatory)
    Out Of Band Provisioning This enables the provisioning of Auth clients that have been created without the use of the Developer Portal, such as previously created Auth clients. (Mandatory)
    Oauth App Creation This enables the creation of Auth clients. (Mandatory)
    Token Validation Method The method used to validate the JWT signature.
    Self Validate JWT The kid value is used to validate the JWT token signature. If the kid value is not present, gateway_certificate_alias will be used. (Mandatory)
    Use introspect The JWKS endpoint is used to validate the JWT token signature. -
    Token Handling Options This provides a way to validate the token for this particular authorization server. This is mandatory if the Token Validation Method is introspect. (Optional)
    REFERENCE The tokens that match a specific regular expression (regEx) are validated. e.g., [0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-5][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12} (Optional)
    JWT The tokens that match a specific JWT are validated. Select this icon
    CUSTOM The tokens that match a custom pattern are validated. (Optional)
    Claim Mappings Local and remote claim mapping. (Optional)
  4. Go to the list of Key Managers and select Resident Key Manager. select_Resident_KM

  5. Locate Connector Configurations and provide a username and a password for a user with super admin credentials.

  6. Click Update.

  7. Disable the Resident Key Manager.

Disable_Resident_KM

Step 3: Register an application

The API allows the API consumer to request the bank to register a new application. The process is as follows:

  • The API consumer sends a registration request including a Software Statement Assertion (SSA) as a claim in the payload. This SSA contains API consumer's metadata. A sample request looks as follows:

For the Transport Layer Security purposes in this sample flow, you can use the attached private key and public certificate.

curl -X POST https://localhost:8243/open-banking/0.1/register \
 -H 'Content-Type: application/jwt' \
 --cert <TRANSPORT_PUBLIC_CERT_FILE_PATH> --key <TRANSPORT_PRIVATE_KEY_FILE_PATH> \
 -d 'eyJ0eXAiOiJKV1QiLCJhbGciOiJQUzI1NiIsImtpZCI6ImgzWkNGMFZyemdYZ25IQ3FiSGJLWHp6ZmpUZyJ9.eyJpc3MiOiJTNnUySGU0anl3dnl5cFQ3ZkdZRXhMU3lwUVlhIiwiaWF0IjoxNjk0MDc1NzEzLCJleHAiOjIxNDc0ODM2NDYsImp0aSI6IjM3NzQ3Y2QxYzEwNTQ1Njk5Zjc1NGFkZjI4YjczZTMyIiwiYXVkIjoiaHR0cHM6Ly9zZWN1cmUuYXBpLmRhdGFob2xkZXIuY29tL2lzc3VlciIsInJlZGlyZWN0X3VyaXMiOlsiaHR0cHM6Ly93d3cubW9ja2NvbXBhbnkuY29tL3JlZGlyZWN0cy9yZWRpcmVjdDEiXSwidG9rZW5fZW5kcG9pbnRfYXV0aF9zaWduaW5nX2FsZyI6IlBTMjU2IiwidG9rZW5fZW5kcG9pbnRfYXV0aF9tZXRob2QiOiJwcml2YXRlX2tleV9qd3QiLC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bVZHUzZ5bEJNeGNNZG5jYTZSZS1QUWNFTTBGUkJnIn0.RcSgoPRVRZe2Pfzbi_MMlbhYTCSsRrXBrA7w6f32HbkDLUJUJ9Kbdja0G8deh_Muh49KvBaN5nss2uE4V1DRPStO2Vxf7E6SmDgNFVy6eF8SitnWAm-cYv7G4ezE0o7yTRBBQHB4i3gIZr8Zj9luj4hDBCb0iUU9Pjd5h5BKcQuEyiYJBRtrJl03F2U1KNuxPH9Ee4aXBqC_PNILb7qNO-Vb5cN-FTR8oDbOuL4muT0mY-HW-tzNKrYjtnTDaTS_FTeZCEyhd1UJDWx7mIeqM75lphbQbQYCCChAXCGy-QNewWp9_zFgXeptOiBNbE_yPqZ-r7chLZAXcjpvAZC90w' 

The payload is a signed JWT.

Click here to see the decoded format of the payload...
{
  "typ": "JWT",
  "alg": "PS256",
  "kid": "h3ZCF0VrzgXgnHCqbHbKXzzfjTg"
}

{
  "iss": "S6u2He4jywvyypT7fGYExLSypQYa",
  "iat": 1694075713,
  "exp": 2147483646,
  "jti": "37747cd1c10545699f754adf28b73e31",
  "aud": "https://secure.api.dataholder.com/issuer",
  "redirect_uris": [
    "https://www.mockcompany.com/redirects/redirect1"
  ],
  "token_endpoint_auth_signing_alg": "PS256",
  "token_endpoint_auth_method": "private_key_jwt",
  "grant_types": [
     "client_credentials",
     "authorization_code",
     "refresh_token",
     "urn:ietf:params:oauth:grant-type:jwt-bearer"
  ],
  "response_types": [
     "code id_token"
  ],
  "application_type": "web",
  "id_token_signed_response_alg": "PS256",
  "id_token_encrypted_response_alg": "RSA-OAEP",
  "id_token_encrypted_response_enc": "A256GCM",
  "request_object_signing_alg": "PS256",
  "scope": "openid accounts payments",
  "software_statement": "eyJhbGciOiJQUzI1NiIsImtpZCI6ImgzWkNGMFZyemdYZ25IQ3FiSGJLWHp6ZmpUZyIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJPcGVuQmFua2luZyBMdGQiLCJpYXQiOjE2OTQwNzU3MTMsImp0aSI6Ij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W9FN3J2UXNaRU9WLmp3a3MiLCJzb2Z0d2FyZV9wb2xpY3lfdXJpIjoiaHR0cHM6Ly93c28yLmNvbSIsInNvZnR3YXJlX3Rvc191cmkiOiJodHRwczovL3dzbzIuY29tIiwic29mdHdhcmVfb25fYmVoYWxmX29mX29yZyI6IldTTzIgT3BlbiBCYW5raW5nIn0.S23OePFDgyQJkfPDgMxs2BRgMZxbmKuRSDSOXCgqYmvKLbSPV1XJIprcGNog-iyLrQGOAmnDoYUQ5luSbbo1qB5C-qArkwY36FeSA3r4ZSIUXG0Ft_T-Et2swm6VSHWGJkgiWpShBIx5ARGmHTen352DxJEMtTpcp5-Ey2orfbPLlNFYnMxHXyf_kBUOEUZLmSPylVkiKPZnwbzSXz6VTvyb2CxTmr5bKf0d4gIp5J8y_lUo05Szq4bc0S_x-l8QxJna8QdnIOYr_FgCTN5-esVJV_T8Pyf2gHYLI01zTZE5BacCjeSxYW4JCJ1OTKQ7iz27cTJLtWd_e2gXnz0LgQ"
}

<signature>
Click here to see the decoded format of an SSA...
{
  "alg": "PS256",
  "kid": "h3ZCF0VrzgXgnHCqbHbKXzzfjTg",
  "typ": "JWT"
}

{
  "iss": "OpenBanking Ltd",
  "iat": 1694075713,
  "jti": "36b5dfe0205c4060",
  "software_environment": "sandbox",
  "software_mode": "Test",
  "software_id": "S6u2He4jywvyypT7fGYExLSypQYa",
  "software_client_id": "S6u2He4jywvyypT7fGYExLSypQYa",
  "software_client_name": "WSO2 Open Banking TPP2 (Sandbox)",
  "software_client_description": "WSO2 Open Banking TPP2 for testing",
  "software_version": 1.5,
  "software_client_uri": "https://www.mockcompany.com/redirects/redirect1",
  "software_redirect_uris": [
     "https://www.mockcompany.com/redirects/redirect1"
  ],
  "software_roles": [
     "PISP",
     "AISP",
     "CBPII"
  ],
  "organisation_competent_authority_claims": {
     "authority_id": "OBGBR",
     "registration_id": "Unknown0015800001HQQrZAAX",
     "status": "Active",
     "authorisations": [
        {
           "member_state": "GB",
           "roles": [
              "PISP",
              "AISP",
              "CBPII"
        ]
        },
        {
        "member_state": "IE",
        "roles": [
           "PISP",
           "CBPII",
           "AISP"
        ]
        },
        {
        "member_state": "NL",
        "roles": [
           "PISP",
           "AISP",
           "CBPII"
        ]
        }
     ]
  },
  "software_logo_uri": "https://wso2.com/wso2.jpg",
  "org_status": "Active",
  "org_id": "0015800001HQQrZAAX",
  "org_name": "WSO2 (UK) LIMITED",
  "org_contacts": [
     {
        "name": "Technical",
        "email": "[email protected]",
        "phone": "+94000000000",
        "type": "Technical"
     },
     {
        "name": "Business",
        "email": "[email protected]",
        "phone": "+94000000000",
        "type": "Business"
     }
  ],
  "org_jwks_endpoint": "https://keystore.openbankingtest.org.uk/0015800001HQQrZAAX/0015800001HQQrZAAX.jwks",
  "org_jwks_revoked_endpoint": "https://keystore.openbankingtest.org.uk/0015800001HQQrZAAX/revoked/0015800001HQQrZAAX.jwks",
  "software_jwks_endpoint": "https://keystore.openbankingtest.org.uk/0015800001HQQrZAAX/oQ4KoaavpOuoE7rvQsZEOV.jwks",
  "software_jwks_revoked_endpoint": "https://keystore.openbankingtest.org.uk/0015800001HQQrZAAX/revoked/oQ4KoaavpOuoE7rvQsZEOV.jwks",
  "software_policy_uri": "https://wso2.com",
  "software_tos_uri": "https://wso2.com",
  "software_on_behalf_of_org": "WSO2 Open Banking"
}

<signature>

Note

If you change the payload, use the following certificates to sign the JWT and SSA:

  • The bank registers the application using the metadata sent in the SSA.

  • If an application is successfully created, the bank responds with a JSON payload describing the API consumer that the application was created. The API consumer can then use the identifier (Client ID) to access customers' financial data on the bank's resource server. A sample response is given below:

    {
       "client_id":"S6u2He4jywvyypT7fGYExLSypQYa",
       "client_id_issued_at":"1694075713",
       "redirect_uris":[
          "https://www.mockcompany.com/redirects/redirect1"
          ],
          "grant_types":[
             "client_credentials",
             "authorization_code",
             "refresh_token",
             "urn:ietf:params:oauth:grant-type:jwt-bearer"
          ],
          "response_types":[
             "code id_token"
          ],
          "application_type":"web",
          "id_token_signed_response_alg":"PS256",
          "request_object_signing_alg":"PS256",
          "scope":"openid accounts payments",
          "software_id":"oQ4KoaavpOuoE7rvQsZEOV3",
          "token_endpoint_auth_method":"private_key_jwt",
          "software_statement":"eyJhbGciOiJQUzI1NiIsImtpZCI6ImgzWkNGMFZyemdYZ25IQ3FiSGJLWHp6ZmpUZyIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJPcGVuQmFua2luZyBMdGQiLCJpYXQiOjE2OTQwNzU3MTMsImp0aSI6IjM2YjVkZmUwMjA1YzQwNjAiLCJzb2Z0d2FyZV9lbnZpcm9ubWVudCI6InNhbmRib3giLCJzb2Z0d2FyZV9tb2RlIjoiVGVzdCIsInNvZnR3YXJlX2lkIjoiUzZ1MkhlNGp5d3Z5eXBUN2ZHWUV4TFN5cFFZYSIsInNvZnR3YXJlX2NsaWVudF9pZCI6IlM2dTJIZTRqeXd2eXlwVDdmR1lFeExTeXBRWWEiLCJzb2Z0d2FyZV9jbGllbnRfbmFtZSI6IldTTzIgT3BlbiBCYW5raW5nIFRQUDIgKFNhbmRib3gpIiwic29mdHdhcmVfY2xpZW50X2Rlc2NyaXB0aW9uIjoiV1NPMiBPcGVuIEJhbmtpbmcgVFBQMiBmb3IgdGVzdGluZyIsInNvZnR3YXJlX3ZlcnNpb24iOjEuNSwic29mdHdhcmVfY2xpZW50X3VyaSI6Imh0dHBzOi8vd3d3Lm1vY2tjb21wYW55LmNvbS9yZWRpcmVjdHMvcmVkaXJlY3QxIiwic29mdHdhcmVfcmVkaXJlY3RfdXJpcyI6WyJodHRwczovL3d3dy5tb2NrY29tcGFueS5jb20vcmVkaXJlY3RzL3JlZGlyZWN0MSJdLCJzb2Z0d2FyZV9yb2xlcyI6WyJQSVNQIiwiQUlTUCIsIkNCUElJIl0sIm9yZ2FuaXNhdGlvbl9jb21wZXRlbnRfYXV0aG9yaXR5X2NsYWltcyI6eyJhdXRob3JpdHlfaWQiOiJPQkdCUiIsInJlZ2lzdHJhdGlvbl9pZCI6Il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