diff options
Diffstat (limited to 'example/index.js')
-rw-r--r-- | example/index.js | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/example/index.js b/example/index.js index af0c65a..8fe64a3 100644 --- a/example/index.js +++ b/example/index.js @@ -43,7 +43,9 @@ app.get('/generate-attestation-options', (req, res) => { app.post('/verify-attestation', (req, res) => { const { body } = req; - console.log('verifying:', body); + const verification = verifyAttestationResponse(body, `https://${origin}`); + + res.send({ verified: verification.verified }); }); app.post('/verify-registration', (req, res) => { |