Skip to content

amokduke/spcp-auth-1

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SingPass Authentication using MockPass

Working example using MockPass, a mock SingPass/CorpPass server and spcp-auth-client.

QuickStart

# Install dependencies
npm i --prefix=mockpass
npm i

# Starts MockPass
npm start --prefix mockpass

# Starts Client
npm run dev

# Go to http://localhost:5000/private
# See Hello World in browser.

VS Code Debugging

Compount Launch Configurations can be used to start debug sesssions for Client and MockPass in parallel.

Breakpoints can be set in mockpass\node_modules\@opengovsg\mockpass\lib\express\spcp.js understand SingPass authentication flow.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 100.0%