通过 c++ 桌面应用程序登录用户

You’ll need to implementing DiscourseConnect - Official Single-Sign-On for Discourse (sso) in your app.