Looking for a Discourse plugin that integrates with 彩虹 aggregation login

AI-generated summary

zhaishis1 is seeking help to develop a Discourse plugin that integrates with 彩虹聚合登录 (Caihong Aggregation Login), which supports OAuth2.0-based quick login via 17 third-party platforms including QQ, WeChat, and Alipay. The system returns user data such as uid, nickname, and avatar in JSON over HTTP with UTF-8 encoding. The core login flow involves four steps: (1) request a login redirect URL (with QR code for WeChat/Alipay) using appid and appkey; (2) redirect users to that URL; (3) after login, the service callback delivers an Authorization Code to redirect_uri; (4) exchange the code for detailed user info. Additionally, a ‘query’ interface allows re-fetching user data later using social_uid. Documentation is available at: https://u.daib.cn/doc.php.

I hope someone can help me develop this plugin. Thank you very much! Development documentation: 开发文档 - 黎洛云聚合平台-全球领先的社会化聚合登录系统.

Summary of Caihong Aggregation Login Development Documentation

Category Core Information

Core Introduction - Definition: Supports quick login via 17 third-party accounts (e.g., QQ, WeChat, Alipay), complies with the OAuth2.0 authentication mechanism, and can obtain user/authorization information such as uid, nickname, and avatar. - Protocol Rules: HTTP transmission, JSON data format, UTF-8 character encoding.

Core Process (4 Steps) 1. Call the specified URL with parameters like appid and appkey to get the login redirect URL (WeChat/Alipay additionally return a QR code scanning URL). 2. Redirect to the obtained login URL. 3. After successful login, automatically callback to the specified redirect_uri with an Authorization Code. 4. Call the interface with the Authorization Code to obtain detailed user information.

Supplementary Interface Later, the “query” interface can be used to retrieve user information again using social_uid (unique user identifier).

1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.