From de568d446beba423c0e4787ec22401fcdeb76394 Mon Sep 17 00:00:00 2001 From: Asher Date: Tue, 4 Aug 2020 15:01:18 -0500 Subject: [PATCH] Add cookie domain debug logs To help debug login issues. --- src/node/http.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/node/http.ts b/src/node/http.ts index bcd464bd..5c8346f7 100644 --- a/src/node/http.ts +++ b/src/node/http.ts @@ -868,6 +868,7 @@ export class HttpServer { // isn't setting the host header to match the access domain. host === "localhost" ) { + logger.debug("no valid cookie doman", field("host", host)) return undefined } @@ -877,6 +878,7 @@ export class HttpServer { } }) + logger.debug("got cookie doman", field("host", host)) return host ? `Domain=${host}` : undefined }