Code sample for helping TPPs and ASPSP using the ForgeRock Open Banking reference implementation platform.
License: CDDLv1.0 \ License URL : http://forgerock.org/cddlv1-0/
You need to get the code locally for the git project repo. For this, you need to
You will need to create some new hostnames for the application.
127.0.0.1 tpp.sample.ob.forgerock.financial redirect.tpp.sample.ob.forgerock.financial tpp.ob.forgerock.financial
ForgeRock directory manage keys for you and expose the jwkms, a service for generated JWTs.
What you need to do:
We implemented a script which will allow you to generate keys, ready to go, that you can import to Open Banking directory. What you need to do:
generate-keys/Makefile
-- forgerock-openbanking-sample-tpp/src/main/resources/application.yml
(be careful, in some places, you need to lower case the software id)forgerock-openbanking-sample-tpp/src/main/resources/ob/ssa.jwt
Now you are ready to generate some new keys:make all
and follow the instructions of the scriptforgerock-openbanking-sample-tpp/src/main/resources/application.yml
You should be ready to run the application now.
mvn clean install
./forgerock-openbanking-sample-tpp/target/forgerock-openbanking-sample-tpp-1.1.1-SNAPSHOT.jar
curl -X GET \
https://tpp.ob.forgerock.financial:7777/open-banking/v1.1//helloworld/
you should have as a response:
Hello World!
In the project, you will find a folder called postman
. In there, you will find a postman collection and an environment that you can import in your postman application.
You will find the hello world
request in it.
A suggested order of execution:
You can modify this project to match a behaviour you are doing with your own TPP. It's the recommended way if you want to raise an issue to the ForgeRock team: