Code Monkey home page Code Monkey logo

douban-login's Introduction

Douban login plugin for Discourse / Discourse 豆瓣登录插件

Authenticate with discourse with Douban.

通过豆瓣登录 Discourse。

Register Client Key & Secert / 申请豆瓣接入

  1. 登录豆瓣开发者中心,注册填写相关信息。
  2. 点击我的应用,再点击创建新应用
  3. 填写相关信息。网站域名可填写根域名或者具体域名。如图所示。(验证所需要的标签可在 Discourse 设置中插入,验证后即可删除;访问 Discourse 管理面板 - 内容 - 页面顶部)
  4. 在申请到的后台找到刚申请到的引用,概览中即可以获得keysecret,将其填入Discourse 设置中。

Installation / 安装

Run rake plugin:install repo=https://github.com/fantasticfears/douban-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/douban-login

在开发者模式下,运行 rake assets:clean

在生产模式下,重编译 assets rake assets:precompile

Usage / 使用

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

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

Issue / 问题

Visit topic on Discourse Meta or GitHub Issues.

访问Discourse Meta上的主题GitHub Issues

Changelog

Current version: 0.1.0

douban-login's People

Contributors

erickguan avatar

Watchers

James Cloos avatar smart avatar

Forkers

zgd136

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.