Skip to content

A web application to do a demonstration of passwordless and 2FA using FIDO2 on the clean-starter framework

License

Notifications You must be signed in to change notification settings

PhuongLe/webauthn-sample

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

WebAuthN sample

This is a web application to do demonstration of the passwordless and 2FA authentication using FIDO2 on clean-starter framework.

Requirements

Setup

  1. Start Clean-starter project, working a back-end service, aka playing relying party role. Setup guideline can be found at here.
  2. On clean starter, configure authentication options on lib/infrastructure/config/authnConfig.json
    {
    "enablePasswordless": true,
    "enable2FAWithFido2": true
    }
  3. Start webauthn-sample npm start

Demonstrations

There are 2 demo pages as follows

  1. passwordless-demo: This authentication is to demonstrate that users can be authenticated without UPN. To enable this option, setting "enablePasswordless" must be set to True.
  2. 2fa-demo: This authentication is to demonstrate that users will be authenticated with an external authenticator right after being authenticated with UPN credentials. To enable this option, setting "enable2FAWithFido2" must be set to True.

References

  1. Thanks to Wallix, this project used his library to call the WebAuthN APIs

About

A web application to do a demonstration of passwordless and 2FA using FIDO2 on the clean-starter framework

Topics

Resources

License

Stars

Watchers

Forks