Simple Node.js project demonstrates usage PlusAuth financial clients in a FAPI conformant way
Explore the PlusAuth Financial NodeJS Application docs »
It is a simple Node.js project demonstrating how to use PlusAuth financial clients in a FAPI conformant way.
Before running the project, you must first follow these steps:
- Create a PlusAuth account and a tenant at https://dashboard.plusauth.com
- Generate JWKS with running
npm install && node generate_jwks.js - Navigate to the
Clientstab and create a client of typeFintech Service - On the JWKS section, copy the content of
es256_public.jsonthat is generated at the second step. - After saving the client, go to the details page of it and set the following fields as:
- Redirect Uris: http://localhost:3000/auth/callback
- Post Logout Redirect Uris: http://localhost:3000/auth/logout/callback
Finally, write down your Client ID for server configuration.
First, install dependencies:
$ npm install
# or with yarn
$ yarn installAfter that, all you need to do is configure the application. Rename .env.example file as just.env.
Then configure the .env file using your Client ID and your PlusAuth issuer url
Now you can start the server:
$ npm run start
// or with yarn
$ yarn startThe example will be running at http://localhost:3000/
This project is licensed under the MIT license. See the LICENSE file for more info.
PlusAuth helps individuals, teams, and organizations to implement authorization and authentication systems in a secure, flexible and easy way.