From 21c9b911ef17cddfb580852492c44a7761ba7cbf Mon Sep 17 00:00:00 2001 From: ValueOn AG Date: Mon, 16 Feb 2026 23:55:06 +0100 Subject: [PATCH] debug: log and return credentialsReceived flag in test-auth response Co-authored-by: Cursor --- src/server/httpServer.ts | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/src/server/httpServer.ts b/src/server/httpServer.ts index aa8e972..1eafb73 100644 --- a/src/server/httpServer.ts +++ b/src/server/httpServer.ts @@ -148,9 +148,15 @@ export class HttpServer { return; } - logger.info(`Starting auth detection tests for: ${meetingUrl}`); + const hasEmail = !!botAccountEmail; + const hasPassword = !!botAccountPassword; + logger.info(`Starting auth detection tests for: ${meetingUrl} (credentials: email=${hasEmail}, password=${hasPassword})`); + const results = await runAuthTests(meetingUrl, botAccountEmail, botAccountPassword); + // Attach credential debug info so UI can show it + (results as any).credentialsReceived = { hasEmail, hasPassword }; + res.json(results); } catch (error) { logger.error('Error running auth tests:', error);