https://github.com/singpass/demo-app
https://github.com/singpass/demo-app
Last synced: 5 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/singpass/demo-app
- Owner: singpass
- Created: 2024-09-06T03:18:14.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2025-12-19T06:19:05.000Z (6 months ago)
- Last Synced: 2025-12-21T13:40:19.842Z (5 months ago)
- Size: 2.07 MB
- Stars: 20
- Watchers: 0
- Forks: 14
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Demo App
This repository provides examples of how you might integrate with Singpass (an OIDC provider) as an OIDC client.
Currently, we have only one example using NodeJS. A Java example is in the works.
## Running the Demo App Locally
To run the demo app for your preferred language locally, please refer to the instructions below.
### NodeJS
Install [NodeJS and npm](https://docs.npmjs.com/downloading-and-installing-node-js-and-npm) and run:
```shell
cd examples/nodejs
npm install
npm start
```
## Using the Demo App
Once your demo app is running, visit http://localhost:3080.

Click the "log in with Singpass" button. On the Singpass login page, select "password login". You may use the staging example credentials below:
```
Singpass ID : S7790795E
Password : T4!vY9@xL7$p
```
After successfully authenticating, you will be redirected to the demo app. If all went well, a UUID returned by the Singpass API will be shown.
