Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
a OmniAuth strategy for sina weibo OAuth2
branch: master

This branch is even with suupic:master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
lib
spec
.gitignore
.rspec
Gemfile
README.md
Rakefile
omniauth-weibo2.gemspec

README.md

OmniAuth Weibo2

Note: This gem is designed to work with weibo.com, include double strategies weibo and weibo2, weibo is based-on omniauth-oauth, and weibo2 is based-on omniauth-oauth2

Getting Started

This is an example that you might put into a Rails initializer at config/initializers/omniauth.rb:

Rails.application.config.middleware.use OmniAuth::Builder do
  provider :weibo, "APP_KEY", "APP_SECRET"
  provider :weibo2, "APP_KEY", "APP_SECRET"
end

Resources

The Weibo Wiki

Something went wrong with that request. Please try again.