Skip to content

the OmniAuth strategy for authenticating to QQ connect

License

Notifications You must be signed in to change notification settings

ywencn/omniauth-qq-connect

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

the OmniAuth strategy for authenticating to QQ connect

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published