diff options
author | Matthew Miller <matthew@millerti.me> | 2020-05-25 09:56:07 -0700 |
---|---|---|
committer | Matthew Miller <matthew@millerti.me> | 2020-05-25 09:56:07 -0700 |
commit | 0f20642ff63ad166199a6ed952af264f5046a387 (patch) | |
tree | b7562ef2be567b53b95c91c7797577eae86f3b6c /example/index.js | |
parent | 25263d25851f9b51e2dddf6896096eedde3c9753 (diff) |
Tweak rpID and origin in example
Diffstat (limited to 'example/index.js')
-rw-r--r-- | example/index.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/example/index.js b/example/index.js index 5deeedf..243da2f 100644 --- a/example/index.js +++ b/example/index.js @@ -28,8 +28,8 @@ app.use(express.json()); * RP ID represents the "scope" of websites on which a authenticator should be usable. The Origin * represents the expected URL from which an attestation or assertion occurs. */ -const rpID = 'yourdomain.com'; -const origin = `https://dev.${rpID}`; +const rpID = 'dev.dontneeda.pw'; +const origin = `https://${rpID}`; /** * A new, random value needs to be generated every time an attestation or an assertion is performed! * The server needs to temporarily remember this value for verification, so don't lose it until |