Skip to content

Latest commit

 

History

History
52 lines (25 loc) · 1.34 KB

File metadata and controls

52 lines (25 loc) · 1.34 KB

Relying Party UI

This file contains instructions to configure and start Relying Party UI to demonstrate relying party frontend integration with Singpass Login API.

Pre-requisites

  • node server as API service (Refer Appendix section)

Additional Pre-requisites for developement mode deployment:

Setup

  1. Clone the repository and checkout to main branch

Webapp Setup

Config Update

  • Update/Add config in config.js file located at singpass_relying_party/relying_party_ui/src/app/config/config.js

  • Update server port in package.json file.

Local deployment

Follow below steps to run the app in production mode simulation.

  • After initial setup navigate to root directory of Relying party webapp and install node modules dependencies by executing below command.

    npm install

  • Refer above config update section and update configs if needed.

  • To start the Relying party webapp execute below command.Webapp will start on default port 4200 which can be accessed with https://xxxx:4200/

    npm start

Appendix

  • Generate SSL certificates

    https://letsencrypt.org/

  • Check if the SSL certificate chain from your origin server is complete.To check use this.

    https://www.ssllabs.com/ssltest/