Passkeys: Add publicKey to response

This commit is contained in:
varjolintu 2025-11-29 10:29:20 +02:00
parent 74dbb0d8e8
commit 71b52fe28d

View file

@ -77,7 +77,7 @@
attestationObject: kpxcBase64ToArrayBuffer(publicKey.response.attestationObject),
clientDataJSON: kpxcBase64ToArrayBuffer(publicKey.response.clientDataJSON),
getAuthenticatorData: () => kpxcBase64ToArrayBuffer(publicKey.response?.authenticatorData),
getPublicKey: () => null,
getPublicKey: () => publicKey.response?.publicKey,
getPublicKeyAlgorithm: () => publicKey.response?.publicKeyAlgorithm,
getTransports: () => [ 'internal' ]
};