summaryrefslogtreecommitdiffhomepage
path: root/example/index.js
diff options
context:
space:
mode:
authorMatthew Miller <matthew@millerti.me>2020-07-05 00:11:23 -0700
committerMatthew Miller <matthew@millerti.me>2020-07-05 00:11:23 -0700
commit2c355d2d2fdf1784ae2083e576ed890c04b66c35 (patch)
tree0de3c4e9b4710874c38fcc2fcbb1711af7ccd7f5 /example/index.js
parent95832c71c429ec9a66103c06057fc04262f64091 (diff)
Comment out MetadataService in example
Diffstat (limited to 'example/index.js')
-rw-r--r--example/index.js11
1 files changed, 6 insertions, 5 deletions
diff --git a/example/index.js b/example/index.js
index 8514622..d5b683c 100644
--- a/example/index.js
+++ b/example/index.js
@@ -19,13 +19,14 @@ const {
generateAssertionOptions,
verifyAssertionResponse,
// Support for FIDO MDS
- MetadataService,
+ // MetadataService,
} = require('@simplewebauthn/server');
/**
- * Initialize MetadataService to enable support for the FIDO Metadata Service. Metadata enables
- * a greater degree of certainty that the devices interacting with this server are what they claim
- * to be according to their manufacturer.
+ * Initialize MetadataService to enable support for the FIDO Metadata Service (MDS).
+ *
+ * Metadata enables a greater degree of certainty that the devices interacting with this server are
+ * what they claim to be according to their manufacturer.
*
* Use of MetadataService is _not_ required to use @simplewebauthn/server. If you do choose to use
* it, you'll need to set the following environment variables (.env files are supported):
@@ -36,7 +37,7 @@ const {
* See https://mds2.fidoalliance.org/tokens/ to register for a free access token. When they ask for
* an Organization Name, "Self" works just fine.
*/
-MetadataService.initialize();
+// MetadataService.initialize();
const app = express();
const host = '0.0.0.0';