fido2-middleware
Install
$ npm i fido2-middleware
Usage
const express = ;const bodyParser = ;const cookieParser = ;const cookieSession = ;const fido2middleware = ;const crypto = ;const app = ; app;app;app;app;
Configuration
Fido2-middleware reads configuration files in the ./config
directory for the running process, typically the application root.
Place the following files in the config directory:
{
"fido2-middlewareConfig": {
"fido2lib": {
"timeout": 60000,
"rpId": "localhost",
"challengeSize": 32
},
"origin": "https://localhost:3000",
"factor": "either"
}
}
Example
$ cd example
$ npm install
$ npm start
Access to https://localhost:3000/
.
Contributors ✨
Thanks goes to these wonderful people (emoji key):
shiv3 📖 |
This project follows the all-contributors specification. Contributions of any kind welcome!