From 18b694bbfdaabdb27410d6d546b0ebc3d6196728 Mon Sep 17 00:00:00 2001 From: MayaTheShy Date: Sun, 9 Nov 2025 19:49:19 -0500 Subject: [PATCH] feat: update token URL construction to use /server path instead of /api/v1 --- src/OverteAuth.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/OverteAuth.cpp b/src/OverteAuth.cpp index 9c35b98..0bb0943 100644 --- a/src/OverteAuth.cpp +++ b/src/OverteAuth.cpp @@ -329,9 +329,9 @@ bool OverteAuth::login(const std::string& username, const std::string& password, std::string tokenUrl = m_metaverseUrl; if (tokenUrl.back() == '/') tokenUrl.pop_back(); - // Overte uses /api/v1/oauth/token endpoint - if (tokenUrl.find("/api/v1") == std::string::npos) { - tokenUrl += "/api/v1"; + // Overte uses /server/oauth/token endpoint + if (tokenUrl.find("/server") == std::string::npos) { + tokenUrl += "/server"; } tokenUrl += "/oauth/token";