Giter Club home page Giter Club logo

wechat_qrconnect's Introduction

Wechat qrconnect plugin for Discourse / Discourse 微信二维码登陆验证插件

Authenticate with discourse with wechat qrconnect.

通过 微信二维码 互联登陆 Discourse。

为高效运维论坛编写

论坛地址: http://discuss.greatops.net/

Register website application / 创建网站应用

  1. 登录 Wechat QRconnect,注册填写相关信息。
  2. 进入管理中心,点击网站应用,点击创建网站应用
  3. 根据向导完成注册。

Note: 目前微信只受理公司申请,也即需要提供有营业执照等

Installation / 安装

与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/mooosu/wechat_qrconnect

或者对于已经部署过的系统可以使用下面命令

rake plugin:install repo=https://github.com/mooosu/wechat_qrconnect.git
rake assets:precompile

重启Rails。

Usage / 使用

Go to Site Settings's login category, fill in the client id and client secret.

进入站点设置的登录分类,填写 client id 和 client serect。

Changelog

Current version: 0.1.0

wechat_qrconnect's People

Contributors

littlebabyshit avatar ceshirencourses avatar zhaoia avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.