diff --git a/apps/web/src/app/oss-routing.module.ts b/apps/web/src/app/oss-routing.module.ts index 8a2270113a9..f9dc47596d6 100644 --- a/apps/web/src/app/oss-routing.module.ts +++ b/apps/web/src/app/oss-routing.module.ts @@ -38,6 +38,7 @@ import { TwoFactorAuthGuard, NewDeviceVerificationComponent, DeviceVerificationIcon, + DebugComponent, } from "@bitwarden/auth/angular"; import { FeatureFlag } from "@bitwarden/common/enums/feature-flag.enum"; import { AnonLayoutWrapperComponent, AnonLayoutWrapperData, Icons } from "@bitwarden/components"; @@ -215,6 +216,21 @@ const routes: Routes = [ }, ], }, + { + path: "auth-debug", + data: { + pageTitle: { + key: "logInToBitwarden", + }, + pageIcon: VaultIcon, + } satisfies RouteDataProperties & AnonLayoutWrapperData, + children: [ + { + path: "", + component: DebugComponent, + }, + ], + }, { path: "login", canActivate: [unauthGuardFn()], diff --git a/apps/web/webpack.config.js b/apps/web/webpack.config.js index 77403914e9a..e02963d0eab 100644 --- a/apps/web/webpack.config.js +++ b/apps/web/webpack.config.js @@ -282,6 +282,7 @@ const devServer = 'self' ${envConfig.dev.wsConnectSrc ?? ""} wss://notifications.bitwarden.com + ws://localhost:9002 https://notifications.bitwarden.com https://cdn.bitwarden.net https://api.pwnedpasswords.com