opened 03:09AM - 02 Oct 23 UTC
closed 07:34PM - 12 Jan 24 UTC
1Password passkey implementation intercepts webauthn call and replace it with it…s own implementation in 1Password Chrome extension.
The below line in https://github.com/aws-samples/amazon-cognito-passwordless-auth/blob/1023e1ef4d2f7eb6b0943315822cecf57f0591d8/client/fido2.ts#L105 causes `Uncaught TypeError: Illegal invocation`. which results in `Illegal invocation` shown in the UI when registering fido2 credential.
```
debug?.("Created credential:", {
credential,
getTransports: response.getTransports?.(),
getAuthenticatorData: response.getAuthenticatorData?.(),
getPublicKey: response.getPublicKey?.(),
getPublicKeyAlgorithm: response.getPublicKeyAlgorithm?.(),
});
```