Authenticate with discourse with Weibo.
Log in to Discourse via Weibo.
开始接入
.网站域名
can be filled in with the root domain name or a specific domain name. As shown in the picture. (The tags required for verification can be inserted in the Discourse settings and can be deleted after verification; visit the Discourse admin panel - Content - top of the page)基本信息
column of网站信息
in the background you applied for, obtain key
and secret
, and fill them in the Discourse settings. in app.yml
hooks:
after_code:
- exec:
cd: $home/plugins
cmd:
- mkdir -p plugins
- git clone https://github.com/discourse/docker_manager.git
The last line - 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
Run rake plugin:install repo=https://github.com/fantasticfears/weibo-login
in your Discourse directory
In developer mode, run rake assets:clean
In production mode, recompile assets rake assets:precompile
Go to Site Settings's login category, fill in the client id and client secret.
Enter the login category of the site settings and fill in the client id and client serect.
Visit topic on Discourse Meta or GitHub Issues.
Visit the Chinese forum thread or GitHub Issues.
Current version: 0.3.0
0.3.0: Fixed the bug of not saving uid correctly.