Skip to content

Commit de568d4

Browse files
committed
Add cookie domain debug logs
To help debug login issues.
1 parent 7d02f34 commit de568d4

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/node/http.ts

+2
Original file line numberDiff line numberDiff line change
@@ -868,6 +868,7 @@ export class HttpServer {
868868
// isn't setting the host header to match the access domain.
869869
host === "localhost"
870870
) {
871+
logger.debug("no valid cookie doman", field("host", host))
871872
return undefined
872873
}
873874

@@ -877,6 +878,7 @@ export class HttpServer {
877878
}
878879
})
879880

881+
logger.debug("got cookie doman", field("host", host))
880882
return host ? `Domain=${host}` : undefined
881883
}
882884

0 commit comments

Comments
 (0)