AuthenticatorAttestationResponse
JSON contains additional property attestation
#296
Labels
bug
Something isn't working
When serializing an
AuthenticatorAttestationResponse
with Jackson, an additional propertyattestation
is present. This causes anUnrecognizedPropertyException
when trying to deserialize that json back into anAuthenticatorAttestationResponse
. The problem seems to be caused by a missing@JsonIgnore
on the getterAuthenticatorAttestationResponse::getAttestation()
.The following code
first prints
and then throws
This has been tested with
com.yubico:webauthn-server-core:2.4.1
,com.fasterxml.jackson.core:jackson-core:2.15.0
and Temurin-17.0.6+10. TheAuthenticatorAttestationResponse
object was created by the following codeThe text was updated successfully, but these errors were encountered: