We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 34feb49 commit d25af9cCopy full SHA for d25af9c
client/src/sync_signals.ts
@@ -69,6 +69,15 @@ declare var PublicKeyCredential: PublicKeyCredentialConstructor;
69
);
70
}
71
72
+ // If we are on localhost, skip signaling all accepted credentials as this may
73
+ // remove credentials from other applications also using localhost
74
+ if (window.location.hostname === "localhost") {
75
+ console.log(
76
+ "[WebAuthn] Skipping PublicKeyCredential.signalAllAcceptedCredentials since we are on localhost, this may affect other applications.",
77
+ );
78
+ return;
79
+ }
80
+
81
// Signal all accepted credentials
82
if (
83
typeof PublicKeyCredential === "undefined" ||
0 commit comments