8000 GitHub - amokduke/spcp-auth-1 · GitHub
[go: up one dir, main page]

Skip to content
forked from deskoh/spcp-auth

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

 
 

Latest commit

 

History

4 Commits

Folders and files

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

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages

0