summaryrefslogtreecommitdiffhomepage
path: root/packages/server/src/helpers/decodeClientDataJSON.test.ts
diff options
context:
space:
mode:
authorMatthew Miller <matthew@millerti.me>2020-06-07 18:50:07 -0700
committerMatthew Miller <matthew@millerti.me>2020-06-07 18:50:07 -0700
commitf552434d312ceccd2c75d9bbb406bb587a156a52 (patch)
tree77c24a8347026c551356617751b65853be40ea1f /packages/server/src/helpers/decodeClientDataJSON.test.ts
parent4164372c441192c9f92c59e9c86a5001752dc7ef (diff)
Stop decoding challenge in clientDataJSON
Diffstat (limited to 'packages/server/src/helpers/decodeClientDataJSON.test.ts')
-rw-r--r--packages/server/src/helpers/decodeClientDataJSON.test.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/server/src/helpers/decodeClientDataJSON.test.ts b/packages/server/src/helpers/decodeClientDataJSON.test.ts
index b1a7940..b51f7ce 100644
--- a/packages/server/src/helpers/decodeClientDataJSON.test.ts
+++ b/packages/server/src/helpers/decodeClientDataJSON.test.ts
@@ -8,7 +8,7 @@ test('should convert base64url-encoded attestation clientDataJSON to JSON', () =
'Y6MzAwMCIsInR5cGUiOiJ3ZWJhdXRobi5jcmVhdGUifQ==',
),
).toEqual({
- challenge: 'Sgx7v43OLrWOoTydLgNZ2',
+ challenge: 'U2d4N3Y0M09McldPb1R5ZExnTloy',
clientExtensions: {},
hashAlgorithm: 'SHA-256',
origin: 'https://clover.millertime.dev:3000',