8
0
Fork 0

convert the user handle to an arrayBuffer

because of format errors in case of given handle (usually concerns platform authenticators only)
Dieser Commit ist enthalten in:
Daniel Seifert 2023-02-14 16:27:29 +01:00
Ursprung 462bb34447
Commit 291c99e4e5
Signiert von: DanielS
GPG-Schlüssel-ID: 8A7C4C6ED1915C6F
1 geänderte Dateien mit 1 neuen und 1 gelöschten Zeilen

Datei anzeigen

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