convert the user handle to an arrayBuffer

because of format errors in case of given handle (usually concerns platform authenticators only)
This commit is contained in:
Daniel Seifert 2023-02-14 16:27:29 +01:00
bovenliggende 462bb34447
commit 291c99e4e5
Getekend door: DanielS
GPG sleutel-ID: 8A7C4C6ED1915C6F
1 gewijzigde bestanden met toevoegingen van 1 en 1 verwijderingen

Bestand weergeven

@ -179,7 +179,7 @@ const requestCredentials = (publicKey) => {
response: {
authenticatorData: base64ArrayBuffer(authenticateInfo.response.authenticatorData),
signature: base64ArrayBuffer(authenticateInfo.response.signature),
userHandle: authenticateInfo.response.userHandle,
userHandle: base64ArrayBuffer(authenticateInfo.response.userHandle),
clientDataJSON: base64ArrayBuffer(authenticateInfo.response.clientDataJSON)
},
type: authenticateInfo.type