omniauth-keycloak 1.5.1 → 1.5.3
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 +4 -4
- data/CHANGELOG.md +38 -1
- data/Gemfile.lock +42 -35
- data/README.md +2 -0
- data/lib/keycloak/version.rb +1 -1
- data/lib/omniauth/strategies/keycloak-openid.rb +3 -1
- data/omniauth-keycloak.gemspec +1 -1
- metadata +16 -10
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a0a49f1a0803162c109f3d8c46079ebe47f9930a7ba21346bf275c9e40ca5fae
|
4
|
+
data.tar.gz: f610e23846e61327d7680455b7121fed6e797f6fd2e413fe59202205bf6de28a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a532efb73bc332e34e43e41dbf807eaf5a96b917cd728d83d21af57f35e5e43f633b2ed70a226687dd5e79437dc2a991589bfc70594f1f5d77fce5f928891f10
|
7
|
+
data.tar.gz: 79e4fac6b445209809da12d0ea8585597fafa3de63ec4e29479ef37806806603712038316f0331988cc7cc2c3d859e41917bf0ca339a39090e8e4bca81327b1b
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,43 @@
|
|
1
1
|
# Changelog
|
2
2
|
|
3
|
+
## [v1.5.3](https://github.com/ccrockett/omniauth-keycloak/tree/v1.5.3) (2025-04-12)
|
4
|
+
|
5
|
+
[Full Changelog](https://github.com/ccrockett/omniauth-keycloak/compare/v1.5.2...v1.5.3)
|
6
|
+
|
7
|
+
**Closed issues:**
|
8
|
+
|
9
|
+
- Update json-jwt to 1.16.6 to resolve security vulnerability CVE-2024-27456/GHSA-785g-282q-pwvx [\#49](https://github.com/ccrockett/omniauth-keycloak/issues/49)
|
10
|
+
- Can we update the dependency [\#45](https://github.com/ccrockett/omniauth-keycloak/issues/45)
|
11
|
+
- Scope setting gets overwritten causing ID token not to be returned from Keycloak [\#39](https://github.com/ccrockett/omniauth-keycloak/issues/39)
|
12
|
+
|
13
|
+
**Merged pull requests:**
|
14
|
+
|
15
|
+
- Bump rexml from 3.2.6 to 3.2.8 [\#51](https://github.com/ccrockett/omniauth-keycloak/pull/51) ([dependabot[bot]](https://github.com/apps/dependabot))
|
16
|
+
- Bump json-jwt from 1.16.3 to 1.16.6 [\#48](https://github.com/ccrockett/omniauth-keycloak/pull/48) ([dependabot[bot]](https://github.com/apps/dependabot))
|
17
|
+
- Bump rack from 3.0.8 to 3.0.9.1 [\#47](https://github.com/ccrockett/omniauth-keycloak/pull/47) ([dependabot[bot]](https://github.com/apps/dependabot))
|
18
|
+
- Conditionally set options from request.params if not set already [\#40](https://github.com/ccrockett/omniauth-keycloak/pull/40) ([Kazhuu](https://github.com/Kazhuu))
|
19
|
+
|
20
|
+
## [v1.5.2](https://github.com/ccrockett/omniauth-keycloak/tree/v1.5.2) (2024-02-01)
|
21
|
+
|
22
|
+
[Full Changelog](https://github.com/ccrockett/omniauth-keycloak/compare/v1.5.1...v1.5.2)
|
23
|
+
|
24
|
+
**Closed issues:**
|
25
|
+
|
26
|
+
- Dependency update - json-jwt [\#36](https://github.com/ccrockett/omniauth-keycloak/issues/36)
|
27
|
+
- Adding parameters and http headers to omniauth authorize path helper [\#12](https://github.com/ccrockett/omniauth-keycloak/issues/12)
|
28
|
+
|
29
|
+
**Merged pull requests:**
|
30
|
+
|
31
|
+
- Loosen omniauth-oauth2 dependency restriction [\#43](https://github.com/ccrockett/omniauth-keycloak/pull/43) ([mcelaney](https://github.com/mcelaney))
|
32
|
+
|
33
|
+
## [v1.5.1](https://github.com/ccrockett/omniauth-keycloak/tree/v1.5.1) (2023-03-01)
|
34
|
+
|
35
|
+
[Full Changelog](https://github.com/ccrockett/omniauth-keycloak/compare/v1.5.0...v1.5.1)
|
36
|
+
|
37
|
+
**Merged pull requests:**
|
38
|
+
|
39
|
+
- Add ability to get params from request and pass thru to keycloak url [\#24](https://github.com/ccrockett/omniauth-keycloak/pull/24) ([ccrockett](https://github.com/ccrockett))
|
40
|
+
|
3
41
|
## [v1.5.0](https://github.com/ccrockett/omniauth-keycloak/tree/v1.5.0) (2023-03-01)
|
4
42
|
|
5
43
|
[Full Changelog](https://github.com/ccrockett/omniauth-keycloak/compare/v1.4.4...v1.5.0)
|
@@ -7,7 +45,6 @@
|
|
7
45
|
**Closed issues:**
|
8
46
|
|
9
47
|
- When in test mode, setup phase tries to fetch Keycloak configuration [\#32](https://github.com/ccrockett/omniauth-keycloak/issues/32)
|
10
|
-
- Dependency update - json-jwt [\#36](https://github.com/ccrockett/omniauth-keycloak/issues/36)
|
11
48
|
|
12
49
|
**Merged pull requests:**
|
13
50
|
|
data/Gemfile.lock
CHANGED
@@ -1,30 +1,33 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
omniauth-keycloak (1.
|
4
|
+
omniauth-keycloak (1.5.1)
|
5
5
|
faraday
|
6
6
|
json-jwt (> 1.13.0)
|
7
7
|
omniauth (>= 2.0)
|
8
|
-
omniauth-oauth2 (
|
8
|
+
omniauth-oauth2 (>= 1.7, < 1.9)
|
9
9
|
|
10
10
|
GEM
|
11
11
|
remote: https://rubygems.org/
|
12
12
|
specs:
|
13
|
-
activesupport (
|
13
|
+
activesupport (6.1.7.7)
|
14
14
|
concurrent-ruby (~> 1.0, >= 1.0.2)
|
15
15
|
i18n (>= 1.6, < 2)
|
16
16
|
minitest (>= 5.1)
|
17
17
|
tzinfo (~> 2.0)
|
18
|
-
|
19
|
-
|
18
|
+
zeitwerk (~> 2.3)
|
19
|
+
addressable (2.8.5)
|
20
|
+
public_suffix (>= 2.0.2, < 6.0)
|
20
21
|
aes_key_wrap (1.1.0)
|
21
|
-
|
22
|
-
|
22
|
+
base64 (0.2.0)
|
23
|
+
bindata (2.5.0)
|
24
|
+
concurrent-ruby (1.2.3)
|
23
25
|
crack (0.4.5)
|
24
26
|
rexml
|
25
|
-
diff-lcs (1.
|
27
|
+
diff-lcs (1.5.0)
|
26
28
|
docile (1.4.0)
|
27
|
-
faraday (2.
|
29
|
+
faraday (2.8.1)
|
30
|
+
base64
|
28
31
|
faraday-net_http (>= 2.0, < 3.1)
|
29
32
|
ruby2_keywords (>= 0.0.4)
|
30
33
|
faraday-follow_redirects (0.3.0)
|
@@ -32,16 +35,17 @@ GEM
|
|
32
35
|
faraday-net_http (3.0.2)
|
33
36
|
hashdiff (1.0.1)
|
34
37
|
hashie (5.0.0)
|
35
|
-
i18n (1.
|
38
|
+
i18n (1.14.1)
|
36
39
|
concurrent-ruby (~> 1.0)
|
37
|
-
json-jwt (1.16.
|
40
|
+
json-jwt (1.16.6)
|
38
41
|
activesupport (>= 4.2)
|
39
42
|
aes_key_wrap
|
43
|
+
base64
|
40
44
|
bindata
|
41
45
|
faraday (~> 2.0)
|
42
46
|
faraday-follow_redirects
|
43
|
-
jwt (2.7.
|
44
|
-
minitest (5.
|
47
|
+
jwt (2.7.1)
|
48
|
+
minitest (5.22.2)
|
45
49
|
multi_xml (0.6.0)
|
46
50
|
oauth2 (2.0.9)
|
47
51
|
faraday (>= 0.17.3, < 3.0)
|
@@ -54,45 +58,48 @@ GEM
|
|
54
58
|
hashie (>= 3.4.6)
|
55
59
|
rack (>= 2.2.3)
|
56
60
|
rack-protection
|
57
|
-
omniauth-oauth2 (1.
|
61
|
+
omniauth-oauth2 (1.8.0)
|
58
62
|
oauth2 (>= 1.4, < 3)
|
59
|
-
omniauth (
|
60
|
-
public_suffix (
|
61
|
-
rack (3.0.
|
62
|
-
rack-protection (3.0.
|
63
|
+
omniauth (~> 2.0)
|
64
|
+
public_suffix (5.0.3)
|
65
|
+
rack (3.0.9.1)
|
66
|
+
rack-protection (3.0.6)
|
63
67
|
rack
|
64
|
-
rake (13.0.
|
65
|
-
rexml (3.2.
|
66
|
-
|
67
|
-
|
68
|
-
rspec-
|
69
|
-
rspec-
|
70
|
-
|
71
|
-
|
72
|
-
|
68
|
+
rake (13.0.6)
|
69
|
+
rexml (3.2.8)
|
70
|
+
strscan (>= 3.0.9)
|
71
|
+
rspec (3.12.0)
|
72
|
+
rspec-core (~> 3.12.0)
|
73
|
+
rspec-expectations (~> 3.12.0)
|
74
|
+
rspec-mocks (~> 3.12.0)
|
75
|
+
rspec-core (3.12.2)
|
76
|
+
rspec-support (~> 3.12.0)
|
77
|
+
rspec-expectations (3.12.3)
|
73
78
|
diff-lcs (>= 1.2.0, < 2.0)
|
74
|
-
rspec-support (~> 3.
|
75
|
-
rspec-mocks (3.
|
79
|
+
rspec-support (~> 3.12.0)
|
80
|
+
rspec-mocks (3.12.6)
|
76
81
|
diff-lcs (>= 1.2.0, < 2.0)
|
77
|
-
rspec-support (~> 3.
|
78
|
-
rspec-support (3.
|
82
|
+
rspec-support (~> 3.12.0)
|
83
|
+
rspec-support (3.12.1)
|
79
84
|
ruby2_keywords (0.0.5)
|
80
|
-
simplecov (0.
|
85
|
+
simplecov (0.22.0)
|
81
86
|
docile (~> 1.1)
|
82
87
|
simplecov-html (~> 0.11)
|
83
88
|
simplecov_json_formatter (~> 0.1)
|
84
89
|
simplecov-html (0.12.3)
|
85
|
-
simplecov_json_formatter (0.1.
|
90
|
+
simplecov_json_formatter (0.1.4)
|
86
91
|
snaky_hash (2.0.1)
|
87
92
|
hashie
|
88
93
|
version_gem (~> 1.1, >= 1.1.1)
|
94
|
+
strscan (3.1.0)
|
89
95
|
tzinfo (2.0.6)
|
90
96
|
concurrent-ruby (~> 1.0)
|
91
|
-
version_gem (1.1.
|
92
|
-
webmock (3.
|
97
|
+
version_gem (1.1.3)
|
98
|
+
webmock (3.19.1)
|
93
99
|
addressable (>= 2.8.0)
|
94
100
|
crack (>= 0.3.2)
|
95
101
|
hashdiff (>= 0.4.0, < 2.0.0)
|
102
|
+
zeitwerk (2.6.13)
|
96
103
|
|
97
104
|
PLATFORMS
|
98
105
|
ruby
|
data/README.md
CHANGED
data/lib/keycloak/version.rb
CHANGED
@@ -99,7 +99,9 @@ module OmniAuth
|
|
99
99
|
end
|
100
100
|
|
101
101
|
def request_phase
|
102
|
-
options.authorize_options.each
|
102
|
+
options.authorize_options.each do |key|
|
103
|
+
options[key] = request.params[key.to_s] if options[key].nil?
|
104
|
+
end
|
103
105
|
super
|
104
106
|
end
|
105
107
|
|
data/omniauth-keycloak.gemspec
CHANGED
@@ -24,7 +24,7 @@ Gem::Specification.new do |spec|
|
|
24
24
|
|
25
25
|
|
26
26
|
spec.add_dependency "omniauth", ">= 2.0"
|
27
|
-
spec.add_dependency "omniauth-oauth2", "
|
27
|
+
spec.add_dependency "omniauth-oauth2", ">= 1.7", "< 1.9"
|
28
28
|
spec.add_dependency "json-jwt", "> 1.13.0"
|
29
29
|
spec.add_dependency "faraday"
|
30
30
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: omniauth-keycloak
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.5.
|
4
|
+
version: 1.5.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Cameron Crockett
|
8
|
-
autorequire:
|
8
|
+
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2025-04-12 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: omniauth
|
@@ -28,16 +28,22 @@ dependencies:
|
|
28
28
|
name: omniauth-oauth2
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
30
30
|
requirements:
|
31
|
-
- - "
|
31
|
+
- - ">="
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: '1.7'
|
34
|
+
- - "<"
|
32
35
|
- !ruby/object:Gem::Version
|
33
|
-
version: 1.
|
36
|
+
version: '1.9'
|
34
37
|
type: :runtime
|
35
38
|
prerelease: false
|
36
39
|
version_requirements: !ruby/object:Gem::Requirement
|
37
40
|
requirements:
|
38
|
-
- - "
|
41
|
+
- - ">="
|
42
|
+
- !ruby/object:Gem::Version
|
43
|
+
version: '1.7'
|
44
|
+
- - "<"
|
39
45
|
- !ruby/object:Gem::Version
|
40
|
-
version: 1.
|
46
|
+
version: '1.9'
|
41
47
|
- !ruby/object:Gem::Dependency
|
42
48
|
name: json-jwt
|
43
49
|
requirement: !ruby/object:Gem::Requirement
|
@@ -166,7 +172,7 @@ homepage: https://github.com/ccrockett/omniauth-keycloak
|
|
166
172
|
licenses:
|
167
173
|
- MIT
|
168
174
|
metadata: {}
|
169
|
-
post_install_message:
|
175
|
+
post_install_message:
|
170
176
|
rdoc_options: []
|
171
177
|
require_paths:
|
172
178
|
- lib
|
@@ -181,8 +187,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
181
187
|
- !ruby/object:Gem::Version
|
182
188
|
version: 3.1.2
|
183
189
|
requirements: []
|
184
|
-
rubygems_version: 3.
|
185
|
-
signing_key:
|
190
|
+
rubygems_version: 3.5.22
|
191
|
+
signing_key:
|
186
192
|
specification_version: 4
|
187
193
|
summary: Omniauth strategy for Keycloak
|
188
194
|
test_files: []
|