diff --git a/apps/desktop/src/app/app-routing.module.ts b/apps/desktop/src/app/app-routing.module.ts index 536a6b95779..3b4d5994e8b 100644 --- a/apps/desktop/src/app/app-routing.module.ts +++ b/apps/desktop/src/app/app-routing.module.ts @@ -49,7 +49,6 @@ import { VaultIcons, } from "@bitwarden/vault"; -import { Fido2PlaceholderComponent } from "../app/components/fido2placeholder.component"; import { AccessibilityCookieComponent } from "../auth/accessibility-cookie.component"; import { maxAccountsGuardFn } from "../auth/guards/max-accounts.guard"; import { RemovePasswordComponent } from "../auth/remove-password.component"; @@ -181,15 +180,11 @@ const routes: Routes = [ canActivate: [authGuard], }, { - path: "passkeys", - component: Fido2PlaceholderComponent, - }, - { - path: "passkeys", + path: "fido2-assertion", component: Fido2VaultComponent, }, { - path: "create-passkey", + path: "fido2-creation", component: Fido2CreateComponent, }, { diff --git a/apps/desktop/src/autofill/services/desktop-fido2-user-interface.service.ts b/apps/desktop/src/autofill/services/desktop-fido2-user-interface.service.ts index 3c8233ebb68..337bf0d5ae8 100644 --- a/apps/desktop/src/autofill/services/desktop-fido2-user-interface.service.ts +++ b/apps/desktop/src/autofill/services/desktop-fido2-user-interface.service.ts @@ -139,7 +139,7 @@ export class DesktopFido2UserInterfaceSession implements Fido2UserInterfaceSessi // make the cipherIds available to the UI. this.availableCipherIdsSubject.next(cipherIds); - await this.showUi("/passkeys", this.windowObject.windowXy); + await this.showUi("/fido2-assertion", this.windowObject.windowXy); const chosenCipherResponse = await this.waitForUiChosenCipher(); @@ -224,7 +224,7 @@ export class DesktopFido2UserInterfaceSession implements Fido2UserInterfaceSessi this.rpId.next(rpId); try { - await this.showUi("/create-passkey", this.windowObject.windowXy); + await this.showUi("/fido2-creation", this.windowObject.windowXy); // Wait for the UI to wrap up const confirmation = await this.waitForUiNewCredentialConfirmation();