line / line-fido2-server

FIDO2(WebAuthn) server officially certified by FIDO Alliance and Relying Party examples.
Apache License 2.0
515 stars 94 forks source link

Add aaguid as a member of Assertion response to distinguish authenticator #15

Closed kj84park closed 2 years ago

kj84park commented 2 years ago

What is this PR for?

Overview or reasons

Regarding #12

Tasks

Result

Success

public class VerifyCredentialResult implements ServerAPIResult {
    private ServerResponse serverResponse;
    private String aaguid;
    private String userId;
    private boolean userVerified;
    private boolean userPresent;
}

ASSERTION_SIGNATURE_VERIFICATION_FAIL Exception

... "body":{"serverResponse":{"description":"AAGUId: adce0002-35bc-c60a-648b-0b25f1f05503","internalError":"ASSERTION_SIGNATURE_VERIFICATION_FAIL","internalErrorCode":56,"internalErrorCodeDescription":null}}