omniauth-samsung-account 1.0.1 → 1.0.2

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: 49e123d2210aab170cbcb4e48755965cbe6465f4
4
- data.tar.gz: 592ca6b0748fc1604a177029b481cb0d65b2e79a
3
+ metadata.gz: f164bc2a27375d7285293239326d9f74d566d91e
4
+ data.tar.gz: cf549d99fb8181f64edbb60932c38f956e544b06
5
5
  SHA512:
6
- metadata.gz: 950df10b53a983a1bd5a7ba98cb3a111af1949fa0461d254f856e7153df208fee56fb8218af0481d6db184771a513f98b063f6db2b97acc41c8d0e3c5e32e530
7
- data.tar.gz: 1ce395c46c856fb6f9be07d643c86d973674b869f5cfb999d5addb3f39697690861700bb4d588c577702770005b4e2c1f71b96f53de8f665e5521147fa37fb47
6
+ metadata.gz: e2ae6244353b23ec6c81ef653fec6481bce666b2434cdeae47adc5d73ad52f701f38e0960f42e25cd0dabfa9efc20aa29266d15b2fec22574037da47aa544a56
7
+ data.tar.gz: 4234a8e8564878657331816525b7554c843c2f6deda5e24da441a3aa8ad5fd16a24d6b790078273e625012d40d1d0cd5c1eb8b4f65ec885b28b7f84292ee1578
@@ -1,5 +1,5 @@
1
1
  module OmniAuth
2
2
  module SamsungAccount
3
- VERSION = "1.0.1"
3
+ VERSION = "1.0.2"
4
4
  end
5
5
  end
@@ -73,7 +73,10 @@ module OmniAuth
73
73
  :client_id => options.client_id,
74
74
  :client_secret => options.client_secret
75
75
  }
76
- client.options[:token_url] = "https://%s%s" % [auth_server_url, "/auth/oauth2/token"]
76
+
77
+ # Create a local var so we mutate a given client instance.
78
+ client = self.client
79
+ client.options[:token_url] = "https://%s%s" % [auth_server_url, TOKEN_URL_PATH]
77
80
  token = client.auth_code.get_token(code, base_params.merge(token_params.to_hash(:symbolize_keys => true)), deep_symbolize(options.auth_token_params))
78
81
  token.params["email"] = email
79
82
  token.params["api_server_url"] = api_server_url
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: omniauth-samsung-account
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.1
4
+ version: 1.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Hsiu-Fan Wang