Passkeys: Add publicKey to response (#2782)

Passkeys: Add publicKey to response
This commit is contained in:
Sami Vänttinen 2025-11-29 16:33:02 +02:00 committed by GitHub
parent 43d0dc528f
commit fdbd077852
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

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 ? publicKey.response?.publicKey : null,
getPublicKeyAlgorithm: () => publicKey.response?.publicKeyAlgorithm,
getTransports: () => [ 'internal' ]
};