Coder Social home page Coder Social logo

pingidentity / open-banking-client-registration-tool Goto Github PK

View Code? Open in Web Editor NEW
2.0 7.0 1.0 11 KB

simple command line tools that demonstrates how TPPs can register an OAuth client with an ASPSP using Open Banking dynamic client registration

License: Other

Java 100.00%

open-banking-client-registration-tool's Introduction

Open Banking Client Registration Tool

This is a simple Java command line tool that demonstrates how to issue and send client registration requests to ASPSPs. The tool does the following:

  • authenticates against the Open Banking directory to obtain an OAuth Access Token
  • calls the Open Banking software statement API to obtain a new software statement (with the token just obtained)
  • generates a client registration request JWT that embeds the software statement
  • submits the request JWT to the ASPSP

Usage

To run the tool:

  • ensure that a software statement has been created using the Open Banking Directory Frontend and that a signing key and network certificate are associated to the software statement (as explained [here] (https://www.pingidentity.com/en/company/blog/posts/2018/enable-open-banking-dynamic-client-registration-with-ping-identity.html))
  • download and unzip the source code from GitHub or clone the source
  • change the following parameters in the src/main/resources/configuration.properties file:
    • ob.signingKeyId the signing key ID obtained from the Open Banking Directory Frontend
    • ob.softwareStatementId the software statement ID obtained from the Open Banking Directory Frontend
    • ob.organization the organization ID obtained from the Open Banking Directory Frontend
    • aspsp.redirectUri the redirect URI of the TPP app, this must match the redirect URI configured in the OB directory
    • aspsp.audience the audience expected from the ASPSP
    • aspsp.registrationEndpoint the registration endpoint of the ASPSP
    • aspsp.networkCertPassword the password used to protect the p12 network certificate
  • the remaining parameters can be left unmodified for the MIT environment
  • replace the signing key and the network certificates with yours:
    • signing key: replace the file src/main/resources/dynamic_client_reg_signing.key with your signing private key
    • network certificate: replace the file src/main/resources/dynamic_client_reg_network.p12 with your TPP certificate
  • run the following command from the root of the project:
mvn compile exec:java -Dexec.mainClass="com.pingidentity.openbanking.ClientRegistrationTool"

open-banking-client-registration-tool's People

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.