omniauth-keycloak 1.4.2 → 1.4.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +3 -2
- data/lib/keycloak/version.rb +1 -1
- data/lib/omniauth/strategies/keycloak-openid.rb +2 -2
- data/omniauth-keycloak.gemspec +1 -0
- metadata +17 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1494d8bd1dd545a49d8448e285844233045785b1bd0db84a1883cb28d8e8b2c9
|
4
|
+
data.tar.gz: ae275636ef1ba0a5cc32afab8511c62bd57e1fb253def902816182b6dff3ef50
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d87ac330e9f9663c09873f15a424c1f0357dfe75cf1dee07bee227248173067a7f39cc9de0d42b0f6f97c4a3bc03daee3ee7a2cc3ce4442af97d429ed1c2dc6f
|
7
|
+
data.tar.gz: f37f008f98a366938113c48f76cf19e74f3406fb0a66f695b4b934706e27375c61020cd1ec0b86a08f4ffe6465b905ff1ce5a953ee8f81dcdf06cd0f76302921
|
data/Gemfile.lock
CHANGED
data/lib/keycloak/version.rb
CHANGED
@@ -31,7 +31,7 @@ module OmniAuth
|
|
31
31
|
log :debug, "Going to get Keycloak configuration. URL: #{config_url}"
|
32
32
|
response = Faraday.get config_url
|
33
33
|
if (response.status == 200)
|
34
|
-
json =
|
34
|
+
json = JSON.parse(response.body)
|
35
35
|
|
36
36
|
@certs_endpoint = json["jwks_uri"]
|
37
37
|
@userinfo_endpoint = json["userinfo_endpoint"]
|
@@ -47,7 +47,7 @@ module OmniAuth
|
|
47
47
|
log :debug, "Going to get certificates. URL: #{@certs_endpoint}"
|
48
48
|
certs = Faraday.get @certs_endpoint
|
49
49
|
if (certs.status == 200)
|
50
|
-
json =
|
50
|
+
json = JSON.parse(response.body)
|
51
51
|
@certs = json["keys"]
|
52
52
|
log :debug, "Successfully got certificate. Certificate length: #{@certs.length}"
|
53
53
|
else
|
data/omniauth-keycloak.gemspec
CHANGED
@@ -26,6 +26,7 @@ Gem::Specification.new do |spec|
|
|
26
26
|
spec.add_dependency "omniauth", ">= 2.0"
|
27
27
|
spec.add_dependency "omniauth-oauth2", "~> 1.7.1"
|
28
28
|
spec.add_dependency "json-jwt", "~> 1.13.0"
|
29
|
+
spec.add_dependency "faraday"
|
29
30
|
|
30
31
|
spec.add_development_dependency "bundler", "~> 2.2"
|
31
32
|
spec.add_development_dependency "rake", "~> 13.0"
|
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.4.
|
4
|
+
version: 1.4.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Cameron Crockett
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-
|
11
|
+
date: 2022-07-24 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: omniauth
|
@@ -52,6 +52,20 @@ dependencies:
|
|
52
52
|
- - "~>"
|
53
53
|
- !ruby/object:Gem::Version
|
54
54
|
version: 1.13.0
|
55
|
+
- !ruby/object:Gem::Dependency
|
56
|
+
name: faraday
|
57
|
+
requirement: !ruby/object:Gem::Requirement
|
58
|
+
requirements:
|
59
|
+
- - ">="
|
60
|
+
- !ruby/object:Gem::Version
|
61
|
+
version: '0'
|
62
|
+
type: :runtime
|
63
|
+
prerelease: false
|
64
|
+
version_requirements: !ruby/object:Gem::Requirement
|
65
|
+
requirements:
|
66
|
+
- - ">="
|
67
|
+
- !ruby/object:Gem::Version
|
68
|
+
version: '0'
|
55
69
|
- !ruby/object:Gem::Dependency
|
56
70
|
name: bundler
|
57
71
|
requirement: !ruby/object:Gem::Requirement
|
@@ -167,7 +181,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
167
181
|
- !ruby/object:Gem::Version
|
168
182
|
version: 3.1.2
|
169
183
|
requirements: []
|
170
|
-
rubygems_version: 3.1.
|
184
|
+
rubygems_version: 3.1.2
|
171
185
|
signing_key:
|
172
186
|
specification_version: 4
|
173
187
|
summary: Omniauth strategy for Keycloak
|