Repository navigation
Releases: keeptrue/sforum-connect
Releases · keeptrue/sforum-connect
Release list
v1.0.0
[1.0.0] - 2026-10-28
Added
- SForum identity provider adapter (
sforum.connect.auth) for Authorization Code + PKCE S256
against a configurable SForum site (defaulthttps://bbs.dalao.me). - Token exchange speaks the SForum public-unsafe contract: a JSON body plus the
csrf_cookie
andX-Csrf-Tokendouble submit obtained from/api/oauth/csrf. - Login, registration, and account-linking operations;
provider.probewith the site's
/api/oauth/docsand an authorize-endpoint fallback for older providers. - Settings document with
base_url,client_id, andclient_secret; the base URL is prefilled
with the official site and normalized (trailing slashes, pasted/api/oauth, path prefixes). - Bounded, redirect-free HTTP client; access tokens are dropped after identity proof; every
public error carries a stable reason and a redacted message. - Brand assets built from the official SForum logo mark, plus CI/release pipelines and
scripts/prepare-package.sh.
安装
- 下载与服务器平台匹配的压缩包(
linux_amd64/linux_arm64/darwin_arm64/darwin_amd64),校验sha256sum -c SHA256SUMS。 - 装到 SForum:后台「插件管理 → 安装插件」上传 zip;或解压到某个外部源根的
plugins/sforum.connect/。 - 后台启用 SForum Connect,按宿主提示完成一次 exact-artifact 信任确认。
- 在远端 SForum 站点(默认 https://bbs.dalao.me)的「设置 → OAuth 应用」创建应用,回调填「登录方式」页显示的回调 URL。
- 回到「登录方式」填 client_id/client_secret,运行探测,再开启登录、注册与账号绑定。
每个压缩包内的清单摘要与其中可执行文件一一对应,跨平台包不可混用。
兼容性
使用宿主 Protocol V2(sforum.host@2)、Manifest V3 与 identity.runtime@1,需要 SForum >=3.0.0。
远端需要 SForum OAuth2 Provider;旧版本没有 /api/oauth/docs 时探测会走兜底路径。