PSD2 TPP Demo App
This repository contains a Node.js Express application demonstrating a PSD2 Third Party Provider (TPP). The application is meant for testing purposes and integration example for PSD2 interfaces.
For more information, see https://op-developer.fi.
- Install Node.js
- Install VS Code for development
- Install Typescript runner for development
- Optionally install Jest plugin for VS Code
npm install -g jest npm install -g ts-node npm install -g typescript npm install -g aws-cdk
Clone the repository and install dependencies
Generated a HTTPS certificate for localhost development as OAuth flow always redirects to a HTTPS address only
- Register and generate PSD2 certificates for MTLS and SSA signing
Place certificates to
- Configure required secrets
You can configure secrets to
fargate-deployment/bin/psd2-tpp-demo-conf.example.ts depending whether you run the service locally or in AWS.
- Build and run the project
# Example npm run build && APP_ENVIRONMENT=psd2-sandbox npm start
https://localhost:8181 to check everything is running correctly.
You can add the server certificate to your trusted certs or you need to ignore the browser warning.
Dockerfile for build definitions and
fargate-deployment for deployment instructions.
Deployment for localhost and AWS have to have slightly different configuration since the OAuth callback url is different.