Fix a regression issue orca couldn't login into BBL cloud (#13407)

* Add ticket-based OAuth flow for third-party login in HttpServer

* Fix legacy plugin login
This commit is contained in:
SoftFever authored and GitHub committed 2026-04-30 16:12:08 +08:00
1 parent dae0694e90
commit d78ad8c44e
14 files changed
+162 -8

No files matched your search

+6
View File
@@ -781,6 +781,12 @@ int NetworkAgent::get_my_profile(std::string token, unsigned int* http_code, std
return -1;
}
int NetworkAgent::get_my_token(std::string ticket, unsigned int* http_code, std::string* http_body)
{
if (m_cloud_agent) return m_cloud_agent->get_my_token(ticket, http_code, http_body);
return -1;
}
int NetworkAgent::track_enable(bool enable)
{
this->enable_track = enable;