omniauth-kounta 0.0.11 → 0.0.12

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: 768af6300c9e2522804ea56d1f523b21cc69783d
4
- data.tar.gz: 4662ac2f98bb86c616d217261634ba3c08487c00
3
+ metadata.gz: 3bfc510ecdfaf1d8ef066d42ace3dda558456d40
4
+ data.tar.gz: 7739b71bfccea34ceccc3a22a75d8cdc344e6659
5
5
  SHA512:
6
- metadata.gz: 8c80d2ef7c9ec53cf8e7d78ad103d8e171d8bb5e1866853cfcfb0e0e3002884feab7b3eebb874b8baf47c54d4d8f1b4d82b941ffd8b03b04bcbeba881be36706
7
- data.tar.gz: dcdf53c30058da5d653d6b8358badc712adcd7f9fcdfecc1550b9344f121dc4a07259f662c8433c45ca6562955f7ac3b06c0913b2844a57591fa93d416e0072c
6
+ metadata.gz: 9499529005aadc0184def9f5b7ca727ce42fc5cb13e66efbc5f92de5bcbc6784283858eb0438de512fd949e2cfc0cc829670260ccfeee7d615dfc845a0de8a00
7
+ data.tar.gz: 6b8a7ca09078b243ca30b4773545cf7b12d3b9a3eb7f2f46815cb051262c8150cca1d608ec19816f5c0146ca5dca3b370ee2c9ba8877d35cc1d6da690866f121
@@ -14,11 +14,14 @@ module OmniAuth
14
14
  :token_url => "#{ApiUrl}/v1/token.json"
15
15
  }
16
16
 
17
+ option :token_params, {
18
+ :grant_type => "authorization_code"
19
+ }
20
+
17
21
  def token_params
18
- params = super
19
- p params
20
- params.delete(:state)
21
- params
22
+ super.tap do |params|
23
+ p params
24
+ end
22
25
  end
23
26
  end
24
27
  end
@@ -1,5 +1,5 @@
1
1
  module OmniAuth
2
2
  module Kounta
3
- VERSION = '0.0.11'
3
+ VERSION = '0.0.12'
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: omniauth-kounta
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.11
4
+ version: 0.0.12
5
5
  platform: ruby
6
6
  authors:
7
7
  - Rhys Elsmore