diff --git a/devfront/playwright.config.ts b/devfront/playwright.config.ts index 1910fa4c..c4ad1449 100644 --- a/devfront/playwright.config.ts +++ b/devfront/playwright.config.ts @@ -63,8 +63,8 @@ export default defineConfig({ ? undefined : { command: process.env.CI - ? "npm run build && npm run preview -- --port 5174" - : "npm run dev -- --port 5174", + ? "VITE_OIDC_AUTHORITY=http://localhost:5000/oidc npm run build && npm run preview -- --port 5174" + : "VITE_OIDC_AUTHORITY=http://localhost:5000/oidc npm run dev -- --port 5174", url: baseURL, reuseExistingServer: !process.env.CI, }, diff --git a/devfront/src/features/auth/AuthGuard.tsx b/devfront/src/features/auth/AuthGuard.tsx index e204b150..a0791fba 100644 --- a/devfront/src/features/auth/AuthGuard.tsx +++ b/devfront/src/features/auth/AuthGuard.tsx @@ -16,6 +16,7 @@ export default function AuthGuard() {

{auth.error.message}