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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c61c2750e538549bc8592c294baefe4f2e0500ee421bf17b016deb145e362e0f
|
4
|
+
data.tar.gz: 98d1d95ebaee15aee2019ceb16f6a3fb76318272d5fb8bc6a5b25887a4ccb913
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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'
|
@@ -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.
|
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-
|
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.
|
142
|
+
rubygems_version: 3.3.3
|
143
143
|
signing_key:
|
144
144
|
specification_version: 4
|
145
145
|
summary: OmniAuth strategy for LinkedIn using OpenID.
|