wechat-omniauth-web 0.0.2 → 0.0.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 2ecc073eef8a77752554d28309f7414294fb1bd2
4
- data.tar.gz: 6c56028d1a0e77e2ef8b3d96e3a553addd7a983f
3
+ metadata.gz: 270590a78f584d2aee94da10d0667754223701ed
4
+ data.tar.gz: 7e577723352414b09c560a5dbaadbc9e1f7f62db
5
5
  SHA512:
6
- metadata.gz: 20a3c40f8900e1646e8edb63873caa4dd255d7763dc588255692af1b249dbf781104ac320244d561105a8169c02d01e0a3720b654461c0809feaaac23b288956
7
- data.tar.gz: 979decf29207ba3b2d186d04efc1e5e379e93c630d66bd6e77115b636ded32999c8a3ad56bc24458715217c4b12ff4ec1d971f6ab35ef1bf2e876a6ae3de7291
6
+ metadata.gz: f6fe5c0777b9464b533e76f1a0b7919587da915edc6df286e058d4c6cf04d7528ebec3f1c3af4c7194ea1f57fc73f4719b9d32add7a9d75c145d184c33f7c5af
7
+ data.tar.gz: b7762be8c56b85b7ab849a81658728a3f1a349042bf398e3d309ce5a273e543b9f260c02c9223cbafe9b919d6a3b5b2b1c4d5e8e62d4af0d363a902821c38348
@@ -36,9 +36,9 @@ module OmniAuth
36
36
  end
37
37
 
38
38
  def request_phase
39
- auth_hash = request.params['auth_hash']
39
+ hash_key = request.params['hash_key']
40
40
 
41
- new_callback_url = "#{callback_url}?auth_hash=#{auth_hash}"
41
+ new_callback_url = "#{callback_url}?hash_key=#{hash_key}"
42
42
 
43
43
  params = client.auth_code.authorize_params.merge(redirect_uri: new_callback_url).merge(authorize_params)
44
44
  params["appid"] = params.delete("client_id")
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: wechat-omniauth-web
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.2
4
+ version: 0.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - teng