omniauth-myvr 0.0.12 → 0.0.13
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 +4 -4
- data/lib/omniauth/strategies/myvr.rb +2 -2
- data/omniauth-myvr.gemspec +1 -1
- 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: 9485b8988fa2a065e08dc09bfa7d114f43d0e311
|
|
4
|
+
data.tar.gz: f036915776252b67765ebd2450cf18ef669d07dc
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: c30e7dc5993f99da7c15ab9e98021d9c741de26248caf5f702429853a8a4a5b4d51991670778d020e643499d29aaed2b2138fecdac3b44caa47f2f6185d7c329
|
|
7
|
+
data.tar.gz: f5e683720e2f1037340873a509cc5ad55d914409995f930cdb83d291a75701ac4504801bf961ca0d0f743762e79ffac72a33f8f068fba9d11b6b7108f76b5abd
|
|
@@ -100,7 +100,7 @@ module OmniAuth
|
|
|
100
100
|
# end
|
|
101
101
|
#
|
|
102
102
|
def custom_build_access_token
|
|
103
|
-
request.params.fetch('code')
|
|
103
|
+
verifier = request.params.fetch('code')
|
|
104
104
|
# access_token =
|
|
105
105
|
# if request.xhr? && request.params['code']
|
|
106
106
|
# verifier = request.params['code']
|
|
@@ -113,7 +113,7 @@ module OmniAuth
|
|
|
113
113
|
# ::OAuth2::AccessToken.from_hash(client, request.params.dup)
|
|
114
114
|
# else
|
|
115
115
|
# verifier = request.params["code"]
|
|
116
|
-
|
|
116
|
+
client.auth_code.get_token(verifier, get_token_options(callback_url), deep_symbolize(options.auth_token_params))
|
|
117
117
|
# end
|
|
118
118
|
# verify_hd(access_token)
|
|
119
119
|
# access_token
|
data/omniauth-myvr.gemspec
CHANGED
|
@@ -3,7 +3,7 @@ $:.push File.expand_path("../lib", __FILE__)
|
|
|
3
3
|
|
|
4
4
|
Gem::Specification.new do |s|
|
|
5
5
|
s.name = "omniauth-myvr"
|
|
6
|
-
s.version = "0.0.
|
|
6
|
+
s.version = "0.0.13"
|
|
7
7
|
s.authors = ["CJ Avilla"]
|
|
8
8
|
s.email = ["cjavilla@gmail.com"]
|
|
9
9
|
s.homepage = "https://github.com/w1zeman1p/omniauth-myvr"
|