omniauth-geekpark 1.0.2 → 1.0.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/omniauth/strategies/wechat.rb +2 -2
- data/lib/omniauth-geekpark/helper.rb +1 -1
- data/lib/omniauth-geekpark/version.rb +1 -1
- 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: 484872d3d03863a03bc5f43d937425f472c1c433
|
4
|
+
data.tar.gz: e9825002eaaddf0db70ac2bd042c183fe27e5167
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a7cfa51d0998b6add02cd6bdf006eea1329995032e7c08f8cc1273813874376e887ca63c38f8fef49a610566077630cbdb3a23ad5a2fe81cc31423eac2d509c9
|
7
|
+
data.tar.gz: 2bb0944037864d082bae7fcf65a1e9089cdc7206ffcce0180c90bfb82eaa40876e525e302394c425d9b17b152544f23aa0898c5190fa7761ea51927b73a77536
|
@@ -3,7 +3,7 @@ module OmniAuth
|
|
3
3
|
class WeChat < OmniAuth::Strategies::OAuth2
|
4
4
|
option :client_options, {
|
5
5
|
site: 'https://api.weixin.qq.com',
|
6
|
-
authorize_url: 'https://open.weixin.qq.com/connect/
|
6
|
+
authorize_url: 'https://open.weixin.qq.com/connect/oauth2/authorize',
|
7
7
|
token_url: 'https://api.weixin.qq.com/sns/oauth2/access_token',
|
8
8
|
}
|
9
9
|
|
@@ -42,7 +42,7 @@ module OmniAuth
|
|
42
42
|
appid: options.client_id,
|
43
43
|
redirect_uri: callback_url,
|
44
44
|
response_type: 'code',
|
45
|
-
scope:
|
45
|
+
scope: 'snsapi_userinfo',
|
46
46
|
})
|
47
47
|
if OmniAuth.config.test_mode
|
48
48
|
@env ||= {}
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: omniauth-geekpark
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- HaoYunfei
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: exe
|
11
11
|
cert_chain: []
|
12
|
-
date: 2016-05-
|
12
|
+
date: 2016-05-27 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: omniauth
|