Skip to content

Privacy-first password manager with built-in email aliasing. Fully encrypted and self-hostable.

Add passkey unlock delay (#1473)

Leendert de Borstac1ea56315c9
diff --git a/apps/server/AliasVault.Client/Auth/Pages/Unlock.razor b/apps/server/AliasVault.Client/Auth/Pages/Unlock.razor
index 9f5d38d50..0b052eb2e 100644
--- a/apps/server/AliasVault.Client/Auth/Pages/Unlock.razor
+++ b/apps/server/AliasVault.Client/Auth/Pages/Unlock.razor
@@ -133,6 +133,10 @@ else
// Try to unlock with WebAuthn if enabled and not explicitly skipped
if (ShowWebAuthnButton && !SkipWebAuthn)
{
+ // Add delay to ensure the AliasVault browser extension interceptor doesn't filter
+ // this as an "automatic request". The extension blocks WebAuthn requests within
+ // 1 second of page load to prevent interference with sites that auto-trigger passkeys.
+ await Task.Delay(1100);
await UnlockWithWebAuthn();
}