diff options
author | Matthew Miller <matthew@millerti.me> | 2020-05-27 23:05:18 -0700 |
---|---|---|
committer | Matthew Miller <matthew@millerti.me> | 2020-06-07 15:35:28 -0700 |
commit | 681b2016581c8165df48de87fb4932ea88d5e9a9 (patch) | |
tree | 6e4721b856811dd4e4eb359d4cbaa6f2e209209e /example/index.js | |
parent | 3c284547f1fd4ccd1e2dfb96a8eec719a0470571 (diff) |
Add dedicated Express app to test FIDO conformance
Diffstat (limited to 'example/index.js')
-rw-r--r-- | example/index.js | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/example/index.js b/example/index.js index 3d78a9b..f8d7cc7 100644 --- a/example/index.js +++ b/example/index.js @@ -9,6 +9,8 @@ const fs = require('fs'); const express = require('express'); +const FIDOConformanceRoutes = require('./fido-conformance'); + const { // Registration ("Attestation") generateAttestationOptions, @@ -259,6 +261,8 @@ app.post('/verify-assertion', (req, res) => { res.send({ verified }); }); +app.use('/fido', FIDOConformanceRoutes); + https .createServer( { |