omniauth-hubspot 0.0.15 → 0.0.16
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/omniauth/hubspot/version.rb +1 -1
- data/lib/omniauth/strategies/hubspot.rb +3 -3
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 083aadd4274190021c7a7d1c5234f35e78e9e338
|
4
|
+
data.tar.gz: 4081f1c669731efb51ca2df9e19f650abfa11ca4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8da3b97562d958ba561a2f1a9e256219c9b0a4095946f6245b84e9605346d2628f4fe9eccb4cd3811524edc0256ed144020a889db7df0f9cb18033a860c69e5f
|
7
|
+
data.tar.gz: bb8f4eb1c2e1ac3dbb1e899a1aa3574186ca1245910a064986a3ca1197ff22ced6f35006e746a5864726f51c41c532d0a17d79a09022ac3cd3150cec5020494e
|
@@ -24,9 +24,9 @@ module OmniAuth
|
|
24
24
|
raise CallbackError.new(nil, :csrf_detected)
|
25
25
|
end
|
26
26
|
|
27
|
-
hash = {'token'
|
28
|
-
hash.merge!('refresh_token'
|
29
|
-
hash.merge!('expires_in'
|
27
|
+
hash = {'token' => request.params[:access_token]}
|
28
|
+
hash.merge!('refresh_token' => request.params[:refresh_token])
|
29
|
+
hash.merge!('expires_in' => request.params[:expires_in])
|
30
30
|
self.access_token = hash
|
31
31
|
|
32
32
|
self.env['omniauth.auth'] = auth_hash
|