feat(app): add passkey popup bridge for password managers (#2957)

This commit is contained in:
Hampus authored and GitHub committed 2026-09-25 17:43:19 +02:00
1 parent 838bbdb5ec
commit ff62bc89a4
51 files changed
+5429 -2681

No files matched your search

@@ -51,6 +51,7 @@ import {
randomBase64Url,
sha256Hex,
} from '@app/features/app/domain_migration/DomainMigrationCrypto';
import {resolvePasskeyBridgeOpenerOrigin} from '@app/features/auth/utils/PasskeyBridgeProtocol';
import type {SoundType} from '@app/features/notification/utils/SoundUtils';
import {getProtectedLocalStorage, getProtectedSessionStorage} from '@app/features/platform/state/ProtectedWebStorage';
import {Logger} from '@app/features/platform/utils/AppLogger';
@@ -592,7 +593,7 @@ export async function runDomainMigrationPreMount(): Promise<boolean> {
return false;
}
const side = resolveDomainMigrationSide(window.location.origin);
if (side === null) {
if (side === null || resolvePasskeyBridgeOpenerOrigin(window.location.origin, window.location.pathname) !== null) {
return false;
}
try {