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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: f7d4793af4dcd6a40df7cf3185a92f7ebc010e967f4499948d8e7b315a23acf5
4
- data.tar.gz: 013e9cdf1c207fc29e2145a8459db480507be683ba02918438c530db46346133
3
+ metadata.gz: 294482e9a6972a989ba82412afac94bf0b4c90ae6a075543cd255ee575960e1a
4
+ data.tar.gz: 345613850b882aa3353232b0d3957a0ca13b75936e5ef22a2b2a1f5c78d07736
5
5
  SHA512:
6
- metadata.gz: f9ffadaba1ac4caeb00b464a434983ac80613981f4bc1dd85d51d8025ed948bcd1aa2489ccbf2384fc487d5bcdf5092a8d37b6a92b4642b173cfac0492eee340
7
- data.tar.gz: 1226568d0bb6a3397c7dd0b90592917bfa7ec589bcf2c5e5a7c994aaf294d8a4dad7ac9713b362dd0ab11b5d36bffa0bee499458b7c1d6d56fe44c164e5ba121
6
+ metadata.gz: ebbe467922576ec19298431e96e0b740a24d0c582b5b869ad380a19404f876f7b608a8669394f666918618aa69370d5ed83d30d20756b5c2315baf85a6969946
7
+ data.tar.gz: a037fafa951aa910f98e6c6d33659b0f0e26964395fa9e7d34e5aab16ae9af9839d896abc3c17e0ea32bc2af7c532145fef972dd8533ea27742056cc860d14e2
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- omniauth-nitro-id (1.3.2)
4
+ omniauth-nitro-id (1.3.3)
5
5
  omniauth-rails_csrf_protection (= 1.0.1)
6
6
  omniauth_openid_connect (~> 0.4.0)
7
7
 
@@ -2,6 +2,6 @@
2
2
 
3
3
  module OmniAuth
4
4
  module NitroId
5
- VERSION = "1.3.2"
5
+ VERSION = "1.3.3"
6
6
  end
7
7
  end
@@ -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]}.well-known/jwks.json").body
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
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: omniauth-nitro-id
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.3.2
4
+ version: 1.3.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Stephen Greer