Skip to content

FIDO2 Demo Server for Node.js using @s1r-J/fido2server-lib npm module.

License

Notifications You must be signed in to change notification settings

s1r-J/fido2-demoserver

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

fido2-demoserver

FIDO2 Demo Server for Node.js using @s1r-J/fido2server-lib npm module.

Install

Assume you have already installed Node.js.

  1. Clone this repository.
$ git clone https://github.com/s1r-J/fido2-demoserver.git
  1. To use HTTPS, install mkcert and create private key and certificate. If you have HTTPS development environment, it can be used.

  2. Store private key PEM(default localhost-key.pem) and certificate PEM(default localhost.pem) in ssl folder.

  3. Copy from .env.sample file to .env file.

  4. npm install

Usage

  1. npm start
  2. Wait a moment, access https://localhost:3000 in web browser.

index

In this condition, you can also use self-conformance test tools.

Note: Windows Hello maybe not works properly using https://localhost:3000. Use other actual domain.

Customize

Environment variable is in .env file.

Hostname and Port

If you want to change hostname or port, change HOSTNAME or PORT in .env file. In that state, for passing self-conformance test replace metadata service data file.

To get metadata service data, using npm run mds. For MDS version 2 fidomds/mds2-<random value>.json is created and for MDS version3 fidomds/mds3-<random value>.json.

License

Apache-2.0

About

FIDO2 Demo Server for Node.js using @s1r-J/fido2server-lib npm module.

Topics

Resources

License

Stars

Watchers

Forks