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:
@ -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
|
||||||
|
Reference in New Issue
Block a user