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.
Add this line to your application's Gemfile:
And then execute:
Or install it yourself as:
$ gem install omniauth-qq-connect
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.
- Fork it
- Create your feature branch (
git checkout -b my-new-feature)
- Commit your changes (
git commit -am 'Added some feature')
- Push to the branch (
git push origin my-new-feature)
- Create new Pull Request