Git Product home page Git Product logo

qq_connect's Introduction

QQ connect plugin for Discourse / Discourse QQ 互联插件

Authenticate with discourse with qq connect.

通过 QQ 互联登陆 Discourse。

Register Client Key & Secert / 申请 QQ 接入

  1. 登录 QQ Connect,注册填写相关信息。
  2. 进入管理中心,点击创建应用,选择网站
  3. 填写相关信息。网站地址应填写论坛所处的位置。回调地址应填写根域名位置。如图所示。(验证所需要的标签可在 Discourse 设置中插入,验证后即可删除;访问 Discourse 管理面板 - 内容 - 页面顶部)
  4. 找到刚申请到的应用,在左上角找到idkey,分别填入 Discourse 设置中的 client_keyclient_secret

Installation / 安装

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/qq_connect.git

Usage / 使用

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

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

Issues / 问题

Visit topic on Discourse Meta or GitHub Issues.

访问中文论坛上的主题GitHub Issues

Changelog

Current version: 0.4.0

0.3.0: 修正没有正确保存 uid 的 bug。 0.4.0: 包含登录策略 gem,去掉下载外部 gem 的步骤。

qq_connect's People

Contributors

erickguan avatar

Watchers

James Cloos avatar flyeven 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.