This is an automated email from the ASF dual-hosted git repository. lahirujayathilake pushed a commit to branch auth-endpoints-web in repository https://gitbox.apache.org/repos/asf/airavata-custos.git
commit 318d8c895704be70f528aacd63a08eaa57e6bad8 Author: lahiruj <[email protected]> AuthorDate: Wed Jun 17 16:16:35 2026 -0400 Repair playwright env for OIDC-only schema --- web/playwright.config.ts | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/web/playwright.config.ts b/web/playwright.config.ts index a863ccd35..7ee2446c1 100644 --- a/web/playwright.config.ts +++ b/web/playwright.config.ts @@ -28,10 +28,14 @@ export default defineConfig({ timeout: 120_000, env: { PORT: String(port), - PORTAL_AUTH_MODE: "dev", NEXT_PUBLIC_PORTAL_USE_MSW: "true", - NEXTAUTH_SECRET: "dev-secret-do-not-use-in-prod", + // 32-char filler so the schema accepts boot; MSW intercepts every + // /api/v1 call, so OIDC values are placeholders the IdP never sees. + NEXTAUTH_SECRET: "test-secret-test-secret-test-secret", NEXTAUTH_URL: baseURL, + OIDC_ISSUER_URL: "https://issuer.test", + OIDC_CLIENT_ID: "test-client", + OIDC_CLIENT_SECRET: "test-secret", }, }, });
