From 38635702e4df8500e1ba1d69712bc3fba2ac37ba Mon Sep 17 00:00:00 2001 From: MayaTheShy Date: Sun, 16 Nov 2025 19:56:35 -0500 Subject: [PATCH] Add debug logging for authentication status in sendDomainConnectRequest --- src/OverteClient.cpp | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/OverteClient.cpp b/src/OverteClient.cpp index a04fe07..139a89b 100644 --- a/src/OverteClient.cpp +++ b/src/OverteClient.cpp @@ -1437,6 +1437,14 @@ void OverteClient::sendDomainConnectRequest() { std::string metaverseUsername = ""; std::vector usernameSignature; + // Debug authentication status + std::cout << "[OverteClient] Debug: m_auth = " << (m_auth ? "set" : "null") << std::endl; + if (m_auth) { + std::cout << "[OverteClient] Debug: hasKeypair = " << (m_auth->hasKeypair() ? "yes" : "no") << std::endl; + std::cout << "[OverteClient] Debug: username = " << m_auth->getUsername() << std::endl; + std::cout << "[OverteClient] Debug: connectionToken = " << m_connectionToken << std::endl; + } + // If we have authentication: // - First request: send username WITHOUT signature (connectionToken empty) // - Second request (after receiving token): send username WITH signature