omniauth-workos 1.1.0 → 1.1.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: 3a71a4a9a8e65554eb0715f2a2277a7be0ef87bd898c88f2ff8bf9516c1ec63a
4
- data.tar.gz: 064fac097752e9ae6ba5c5f09fac574bcb2ed075ed2d08612600a159fb0aada0
3
+ metadata.gz: 2e05a70e4c4a4f1f507e3da8f0c9173cbee58c6ac338e1c2b8f1fa498d068a6c
4
+ data.tar.gz: 83222f50390cc65115a64f5b2d4195b9e185799751f8ddd6e49ca95f1febe2ed
5
5
  SHA512:
6
- metadata.gz: e56755b2811419ff88af17ea1f33132cfd46ac798e094b5969c8999f7cef82d084aef020f6061a43092bc4097437f3e004d598fbb8d726600b479e900f39a4a4
7
- data.tar.gz: ecd090729df0ce497cf50470489cfaaf4937ebe57446a1b66c337b9e5b12dcda56557863b28578080658494e27c4f2ac55186ad548ae7bb91c64ce956cebc1bb
6
+ metadata.gz: 6c2fc76f79e400a493a049b2a7c8e4c56c1d9997feca504112c0641c77279bc0d3ae681856cc0bdbdbf1ae869d64f0d43f102c837555db0a6c55024fffb0ea96
7
+ data.tar.gz: 9747b9cc20be2ae7f8cc6b74f811af4a2fc2e49bd4bac5279968e1e54d3fef34f5f2ae8a9ad5f60b2e18b15a0282985aafa4771667d6c8a8ef9a85c30e36d9ce
File without changes
@@ -22,9 +22,6 @@ module OmniAuth::Strategies
22
22
  authorize_url: "/sso/authorize",
23
23
  token_url: "/sso/token"
24
24
  option :authorize_options, %w[organization connection provider login_hint]
25
- # info_fields:
26
- # Either an **array** with the names of the fields as **strings**, or the
27
- # the **string** "all" to return all available fields.
28
25
  option :info_fields, "all"
29
26
 
30
27
  uid do
@@ -37,7 +34,6 @@ module OmniAuth::Strategies
37
34
  else
38
35
  {}.tap do |result|
39
36
  options[:info_fields].each do |field|
40
- field = field.to_s
41
37
  result[field] = raw_info[field]
42
38
  end
43
39
  end
@@ -76,9 +72,7 @@ module OmniAuth::Strategies
76
72
  super.tap do |params|
77
73
  options[:authorize_options].each do |key|
78
74
  value = request.params[key]
79
- next if blank?(value)
80
-
81
- params[key] = value
75
+ params[key] = value unless blank?(value)
82
76
  end
83
77
 
84
78
  # Store the authorize params in the session because we will need them
@@ -2,6 +2,6 @@
2
2
 
3
3
  module OmniAuth
4
4
  module WorkOS
5
- VERSION = "1.1.0"
5
+ VERSION = "1.1.1"
6
6
  end
7
7
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: omniauth-workos
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.0
4
+ version: 1.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - João Fernandes
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-02-23 00:00:00.000000000 Z
11
+ date: 2022-03-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: omniauth
@@ -49,7 +49,7 @@ files:
49
49
  - ".standard.yml"
50
50
  - CHANGELOG.md
51
51
  - Gemfile
52
- - LICENSE.txt
52
+ - LICENSE
53
53
  - README.md
54
54
  - Rakefile
55
55
  - lib/omniauth-workos.rb