omniauth-linkedin-openid 1.0.1 → 1.0.2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 5d24e038173a780854d661200c13cc6b7deaa126b861ef47006449e46f2e8b89
4
- data.tar.gz: 6aff8449c80b4aedb0402e0159db3d5bb088b4b6647c34876026a8cc492c17e1
3
+ metadata.gz: c61c2750e538549bc8592c294baefe4f2e0500ee421bf17b016deb145e362e0f
4
+ data.tar.gz: 98d1d95ebaee15aee2019ceb16f6a3fb76318272d5fb8bc6a5b25887a4ccb913
5
5
  SHA512:
6
- metadata.gz: c27e72803f406b7b399e2c111d1c978b23885264248467acd69aebccd3e9dfe78cabd3dbd5f1128f02e89a17f88a09e0da1269916ba4e2336170043aabb5a9b0
7
- data.tar.gz: 30a1f67320926300d481596803444f3f8304544d7903077602e5b90f27eceab81a3e18f4e61a2791a06e126a09d33aecbe431009551ee296460dc7d69204444e
6
+ metadata.gz: a6e8be51a8670b35aa8ef2dc251f199d1c54ee6c18aba294c01a8b874f84c964488ef11d024386a6c659cc89798967e2c118edb280ff77599fb9e366abd02af4
7
+ data.tar.gz: b78ed6d4fcf1c13036583da58ce9cb9688f2259a12c6ebf94caca99c381ca702fbcf7683e73e050d6b66e5f205b86417806e32d25c276495a8ed22e49756821b
@@ -8,7 +8,8 @@ module OmniAuth
8
8
  option :client_options, {
9
9
  :site => 'https://api.linkedin.com',
10
10
  :authorize_url => 'https://www.linkedin.com/oauth/v2/authorization?response_type=code',
11
- :token_url => 'https://www.linkedin.com/oauth/v2/accessToken'
11
+ :token_url => 'https://www.linkedin.com/oauth/v2/accessToken',
12
+ :token_method => :post_with_query_string
12
13
  }
13
14
 
14
15
  option :scope, 'openid profile email'
@@ -1,5 +1,5 @@
1
1
  module OmniAuth
2
2
  module LinkedInOpenID
3
- VERSION = "1.0.1"
3
+ VERSION = "1.0.2"
4
4
  end
5
5
  end
@@ -20,6 +20,10 @@ describe OmniAuth::Strategies::LinkedIn do
20
20
  it 'has correct `token_url`' do
21
21
  expect(subject.client.options[:token_url]).to eq('https://www.linkedin.com/oauth/v2/accessToken')
22
22
  end
23
+
24
+ it 'has a correct `token_method`' do
25
+ expect(subject.client.options[:token_method]).to eq(:post_with_query_string)
26
+ end
23
27
  end
24
28
 
25
29
  describe '#callback_path' do
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: omniauth-linkedin-openid
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
  - Jarrett Lusso
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-02-25 00:00:00.000000000 Z
11
+ date: 2024-09-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: oauth2
@@ -139,7 +139,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
139
139
  - !ruby/object:Gem::Version
140
140
  version: '0'
141
141
  requirements: []
142
- rubygems_version: 3.4.10
142
+ rubygems_version: 3.3.3
143
143
  signing_key:
144
144
  specification_version: 4
145
145
  summary: OmniAuth strategy for LinkedIn using OpenID.