From e3de8a720d1df444d7940fdea33a6b22b5fd2868 Mon Sep 17 00:00:00 2001 From: MayaTheShy Date: Sun, 9 Nov 2025 19:49:42 -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 8b90cd4..501c761 100644 --- a/src/OverteAuth.cpp +++ b/src/OverteAuth.cpp @@ -399,9 +399,9 @@ bool OverteAuth::refreshAccessToken() { 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";