Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

the OmniAuth strategy for authenticating to QQ connect

tag: v0.1.0

Fetching latest commit…

Octocat-spinner-32-eaf2f5

Cannot retrieve the latest commit at this time

Octocat-spinner-32 lib
Octocat-spinner-32 .gitignore add strategy file March 06, 2012
Octocat-spinner-32 Gemfile add strategy file March 06, 2012
Octocat-spinner-32 LICENSE add strategy file March 06, 2012
Octocat-spinner-32 README.md
Octocat-spinner-32 Rakefile add strategy file March 06, 2012
Octocat-spinner-32 omniauth-qq-connect.gemspec add strategy file March 06, 2012
README.md

Omniauth::Qq::Connect

This is the OmniAuth strategy for authenticating to QQ connect. To use it, you'll need to sign up for an OAuth2 Application Key and Secret on the QQ Open SNS Page.

Installation

Add this line to your application's Gemfile:

gem 'omniauth-qq-connect'

And then execute:

$ bundle

Or install it yourself as:

$ gem install omniauth-qq-connect

Usage

use OmniAuth::Builder do
  provider :qq_connect, ENV['QQ_CONNECT_APP_KEY'], ENV['QQ_CONNECT_APP_SECRET']
end

Notice you only allow send the auth request from host(w/o port) list of application.

Contributing

  1. Fork it
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Added some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create new Pull Request
Something went wrong with that request. Please try again.