omniauth-weibo-oauth2 0.3.2 → 0.4.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/omniauth-weibo-oauth2/version.rb +1 -1
- data/lib/omniauth/strategies/weibo.rb +1 -4
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2447724a9eb14cae153f4df299a230ac70a6b5c8
|
4
|
+
data.tar.gz: a043480c8c10a7a9d33e1b58501801aa5bc0da3d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a86e6ca738c3bbb9aa84b47d7bb672b64497cb8d48a32fd1fd4e900bac60dcaa10225da9cc42dbe9601c2761a687e39067772c21f4fb0e6f11603c2b4479e7d1
|
7
|
+
data.tar.gz: 3db001dc2e88b7b5396942d95f2905123bd4e8b713cbdb0abed5995b23a7e86d42a04687ab5f7a160680513b0074afd33c148900cb46377eb9c5270e30fab23a
|
@@ -56,12 +56,9 @@ module OmniAuth
|
|
56
56
|
#
|
57
57
|
def authorize_params
|
58
58
|
super.tap do |params|
|
59
|
-
%w[display with_offical_account
|
59
|
+
%w[display with_offical_account forcelogin].each do |v|
|
60
60
|
if request.params[v]
|
61
61
|
params[v.to_sym] = request.params[v]
|
62
|
-
|
63
|
-
# to support omniauth-oauth2's auto csrf protection
|
64
|
-
session['omniauth.state'] = params[:state] if v == 'state'
|
65
62
|
end
|
66
63
|
end
|
67
64
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: omniauth-weibo-oauth2
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.4.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Bin He
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-
|
11
|
+
date: 2014-12-23 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: omniauth
|