Authenticate with discourse with Weibo.
透過微博登入Discourse。
开始接入
。网站域名
可填寫根網域名稱或具體網域名稱。如圖所示。 (驗證所需的標籤可在Discourse 設定中插入,驗證後即可刪除;存取Discourse 管理面板- 內容- 頁面頂部)网站信息
的基本信息
一欄,取得key
和secret
,將其填入Discourse 設定中。 在app.yml
的
hooks:
after_code:
- exec:
cd: $home/plugins
cmd:
- mkdir -p plugins
- git clone https://github.com/discourse/docker_manager.git
最後一行- git clone https://github.com/discourse/docker_manager.git
後面加上:
- git clone https://github.com/fantasticfears/weibo-login.git
Run rake plugin:install repo=https://github.com/fantasticfears/weibo-login
in your discourse directory
In development mode, run rake assets:clean
In production, recompile your assets: rake assets:precompile
在您Discourse 目錄中執行rake plugin:install repo=https://github.com/fantasticfears/weibo-login
在開發者模式下,執行rake assets:clean
在生產模式下,重編譯assets rake assets:precompile
Go to Site Settings's login category, fill in the client id and client secret.
進入網站設定的登入分類,填入client id 和client serect。
Visit topic on Discourse Meta or GitHub Issues.
造訪中文論壇的主題或GitHub Issues。
Current version: 0.3.0
0.3.0: 修正沒有正確保存uid 的bug。