omniauth-linkedin-openid 1.0.0 → 1.0.1

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: 200128bdbafbd862d10c5694e699ca036ad03a195b3f24ebd407747243470591
4
- data.tar.gz: 24dd2b40e1e9ce855829c3ed5850b2f45e89348b583655c7895a90ce4252af7d
3
+ metadata.gz: 5d24e038173a780854d661200c13cc6b7deaa126b861ef47006449e46f2e8b89
4
+ data.tar.gz: 6aff8449c80b4aedb0402e0159db3d5bb088b4b6647c34876026a8cc492c17e1
5
5
  SHA512:
6
- metadata.gz: 511d291fec173c1f43e5d2df576e7165228fedc46dbd6992a708c9b4f0e7eea81efadf4b46bba5e963623a6b8b7ebeacdd9ee7159cc3c1cf985de7438c8c9921
7
- data.tar.gz: 96fc2818001fac2167e991c61d6753418e5ae8046c50211939d9c054cdf1804b42c77582217a0c84793e9f5d05025c4798c55a3410dedea7cad87f4cc8bfff23
6
+ metadata.gz: c27e72803f406b7b399e2c111d1c978b23885264248467acd69aebccd3e9dfe78cabd3dbd5f1128f02e89a17f88a09e0da1269916ba4e2336170043aabb5a9b0
7
+ data.tar.gz: 30a1f67320926300d481596803444f3f8304544d7903077602e5b90f27eceab81a3e18f4e61a2791a06e126a09d33aecbe431009551ee296460dc7d69204444e
data/README.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # OmniAuth LinkedIn
2
2
 
3
- ![Ruby](https://github.com/omniauth/omniauth-github/workflows/Ruby/badge.svg?branch=master)
3
+ ![Ruby](https://github.com/jclusso/omniauth-linkedin-openid/workflows/Ruby/badge.svg?branch=master)
4
4
  [![Gem](https://img.shields.io/gem/v/omniauth-linkedin-openid)](https://rubygems.org/gems/omniauth-linkedin-openid)
5
5
 
6
6
  This is the a OmniAuth strategy for authenticating to LinkedIn using OpenID. To
@@ -21,7 +21,9 @@ gem 'omniauth-linkedin-openid'
21
21
 
22
22
  ```ruby
23
23
  use OmniAuth::Builder do
24
- provider :linkedin, ENV['LINKEDIN_CLIENT_ID'], ENV['LINKEDIN_CLIENT_SECRET']
24
+ provider :linkedin,
25
+ client_id: ENV['LINKEDIN_CLIENT_ID'],
26
+ client_secret: ENV['LINKEDIN_CLIENT_SECRET']
25
27
  end
26
28
  ```
27
29
 
@@ -36,7 +38,9 @@ The following scopes are requested by default:
36
38
  Here is an example of how you can configure the `scope` option:
37
39
 
38
40
  ```ruby
39
- provider :linkedin, ENV['LINKEDIN_CLIENT_ID'], ENV['LINKEDIN_CLIENT_SECRET'],
41
+ provider :linkedin,
42
+ client_id: ENV['LINKEDIN_CLIENT_ID'],
43
+ client_secret: ENV['LINKEDIN_CLIENT_SECRET'],
40
44
  scope: 'openid profile email'
41
45
  ```
42
46
 
@@ -51,7 +55,9 @@ When specifying which permissions you want users to grant to your application, y
51
55
  Here is an example of how you can configure the `fields` option:
52
56
 
53
57
  ```ruby
54
- provider :linkedin, ENV['LINKEDIN_CLIENT_ID'], ENV['LINKEDIN_CLIENT_SECRET'],
58
+ provider :linkedin,
59
+ client_id: ENV['LINKEDIN_CLIENT_ID'],
60
+ client_secret: ENV['LINKEDIN_CLIENT_SECRET'],
55
61
  fields: %w(id full-name email-address)
56
62
  ```
57
63
 
@@ -68,3 +74,7 @@ Bug reports and pull requests are welcome on GitHub at https://github.com/jcluss
68
74
  ## License
69
75
 
70
76
  The gem is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).
77
+
78
+ ## Credits
79
+
80
+ Thanks to [@decioferreira](https://github.com/decioferreira) for making [omniauth-linkedin-oauth2](https://github.com/decioferreira/omniauth-linkedin-oauth2) which this was based on.
@@ -1,5 +1,5 @@
1
1
  module OmniAuth
2
2
  module LinkedInOpenID
3
- VERSION = "1.0.0"
3
+ VERSION = "1.0.1"
4
4
  end
5
5
  end
@@ -22,6 +22,7 @@ Gem::Specification.new do |gem|
22
22
  "source_code_uri" => "https://github.com/jclusso/omniauth-linkedin-openid"
23
23
  }
24
24
 
25
+ gem.add_dependency 'oauth2', '~> 2.0'
25
26
  gem.add_dependency 'omniauth', '~> 2.0'
26
27
  gem.add_dependency 'omniauth-oauth2', '~> 1.8'
27
28
  gem.add_development_dependency 'rspec', '~> 3.5'
metadata CHANGED
@@ -1,15 +1,29 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: omniauth-linkedin-openid
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0
4
+ version: 1.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jarrett Lusso
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-09-12 00:00:00.000000000 Z
11
+ date: 2024-02-25 00:00:00.000000000 Z
12
12
  dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: oauth2
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - "~>"
18
+ - !ruby/object:Gem::Version
19
+ version: '2.0'
20
+ type: :runtime
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - "~>"
25
+ - !ruby/object:Gem::Version
26
+ version: '2.0'
13
27
  - !ruby/object:Gem::Dependency
14
28
  name: omniauth
15
29
  requirement: !ruby/object:Gem::Requirement
@@ -125,7 +139,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
125
139
  - !ruby/object:Gem::Version
126
140
  version: '0'
127
141
  requirements: []
128
- rubygems_version: 3.2.33
142
+ rubygems_version: 3.4.10
129
143
  signing_key:
130
144
  specification_version: 4
131
145
  summary: OmniAuth strategy for LinkedIn using OpenID.