omniauth-nitro-id 1.3.2 → 1.3.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 +1 -1
- data/lib/omniauth/nitro_id/version.rb +1 -1
- data/lib/omniauth/strategies/base_strategy.rb +2 -2
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 294482e9a6972a989ba82412afac94bf0b4c90ae6a075543cd255ee575960e1a
|
4
|
+
data.tar.gz: 345613850b882aa3353232b0d3957a0ca13b75936e5ef22a2b2a1f5c78d07736
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ebbe467922576ec19298431e96e0b740a24d0c582b5b869ad380a19404f876f7b608a8669394f666918618aa69370d5ed83d30d20756b5c2315baf85a6969946
|
7
|
+
data.tar.gz: a037fafa951aa910f98e6c6d33659b0f0e26964395fa9e7d34e5aab16ae9af9839d896abc3c17e0ea32bc2af7c532145fef972dd8533ea27742056cc860d14e2
|
data/Gemfile.lock
CHANGED
@@ -32,7 +32,7 @@ module OmniAuth
|
|
32
32
|
end
|
33
33
|
|
34
34
|
def self.fetch_jwks
|
35
|
-
key = ::OpenIDConnect.http_client.get("#{default_options[:issuer]}
|
35
|
+
key = ::OpenIDConnect.http_client.get("#{default_options[:issuer]}/.well-known/jwks.json").body
|
36
36
|
json = key.is_a?(String) ? JSON.parse(key) : key
|
37
37
|
return JSON::JWK::Set.new(json["keys"]) if json.key?("keys")
|
38
38
|
|
@@ -45,7 +45,7 @@ module OmniAuth
|
|
45
45
|
body: { token: token },
|
46
46
|
}
|
47
47
|
|
48
|
-
response = ::OpenIDConnect.http_client.post("#{default_options[:issuer]}api/tokens/introspect", **options)
|
48
|
+
response = ::OpenIDConnect.http_client.post("#{default_options[:issuer]}/api/tokens/introspect", **options)
|
49
49
|
|
50
50
|
raise APIError, "#{default_options[:name]} error: #{response.status}" if response.status.to_i >= 400
|
51
51
|
|