The demo application meant to illustrate how to integrate your application with MyInfo APIs.
For the demo application to run, you will need to install Node and NPM.
Follow the instructions given by the links below depending on your OS.
Run the following command in the folder you unzipped the application:
npm install
Execute the following command to start the application:
Test with Payload Encryption & PKI Digital Signature
npm start
Or, test without Payload Encryption & PKI Digital Signature
npm run sandbox
Access the Application on Your Browser You should be able to access the sample application via the following URL or click here:
http://localhost:3001
Click RETRIEVE MYINFO and select the test user ID from the Mock Pass.
Note: refer to the Personas on the NDI Developer and Partner Portal for the test accounts to be used.
This demo application is using the myinfo-connector-v4-nodejs library. MyInfo Connector aims to simplify consumer's integration effort by providing an easy to use Javascript library to integrate into your application.
Change the logging level for debugging within the library.
Edit the ./config/config.js
, change the DEBUG_LEVEL
value to debug
.
IMPORTANT NOTE: debug mode should never be turned on in production
You may contact our support for any other technical issues, and we will respond to you within 5 working days.