summaryrefslogtreecommitdiffhomepage
path: root/packages/browser/src/methods/startAttestation.test.ts
diff options
context:
space:
mode:
authorMatthew Miller <matthew@millerti.me>2021-04-15 21:37:46 -0700
committerMatthew Miller <matthew@millerti.me>2021-04-15 21:37:46 -0700
commit1a4c8ab2ab4bcb27b83b2be6d8d0fddaaa56ba50 (patch)
tree947b86bcaf959b17b134e966b8bd979992d0f5c3 /packages/browser/src/methods/startAttestation.test.ts
parent032e8cb32467c140e945dd71b868828b9fb4a259 (diff)
Convert assertion userHandle back to UTF-8 string
This is the opposite of how `user.id` is converted to an ArrayBuffer prior to being passed into `navigator.credentials.create()`, so when this value is returned to the RP in an assertion it will now look like the string value originally specified in attestation options, instead of the base64url-encoded version of that string “for some reason”.
Diffstat (limited to 'packages/browser/src/methods/startAttestation.test.ts')
0 files changed, 0 insertions, 0 deletions