Skip to content

Commit

Permalink
Merge pull request #1781 from /issues/1776-get-credentials-id-backpor…
Browse files Browse the repository at this point in the history
…t-1.8

fix #1776: Assertion of allowed credentials ID is always false (backport)
  • Loading branch information
banterCZ authored Nov 21, 2024
2 parents 698055c + af92f4c commit 4c5f474
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -282,7 +282,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 4c5f474

Please sign in to comment.