Skip to content

Commit

Permalink
fix #1776: Assertion of allowed credentials ID is always false
Browse files Browse the repository at this point in the history
  • Loading branch information
zcgandcomp committed Nov 20, 2024
1 parent fbf7f6e commit 12e24ea
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -280,7 +280,7 @@ private Map<String, Object> prepareAdditionalData(
final Map<String, Object> additionalData = new LinkedHashMap<>();
additionalData.put(ATTR_ACTIVATION_ID, authenticatorDetail.getActivationId());
additionalData.put(ATTR_APPLICATION_ID, authenticatorDetail.getApplicationId());
additionalData.put(ATTR_CREDENTIAL_ID, authenticatorData.getAttestedCredentialData().getCredentialId());
additionalData.put(ATTR_CREDENTIAL_ID, authenticatorDetail.getCredentialId());
additionalData.put(ATTR_AUTH_FACTOR, supportedSignatureType(authenticatorDetail, authenticatorData.getFlags().isUserVerified()));
additionalData.put(ATTR_ORIGIN, clientDataJSON.getOrigin());
additionalData.put(ATTR_TOP_ORIGIN, clientDataJSON.getTopOrigin());
Expand Down

0 comments on commit 12e24ea

Please sign in to comment.