doorkeeper-openid_connect 1.8.5 → 1.8.7

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: 5bff9200998de53d57960fb1b0bd63e2a692e214285fdf720b26b574fd2ab20b
4
- data.tar.gz: 83143a584098d2c164ad076d00b71af22f74c54a9c99c2cde823bc89e13e6bc3
3
+ metadata.gz: 83342bd73b56bfb9b995c4c63229d44b1eadb297b17bd7375360c6cf8c52003b
4
+ data.tar.gz: 023f4e40d227ce921670930d824fe6788673d0cd8079f3654957db3ac6729ca3
5
5
  SHA512:
6
- metadata.gz: 19a46eaf1bb1224a0a1e3e76fd59a7a9fd90d7bafa3c0da6c68f1684a199fec659627dc0d13600bda8aca1267bcf386317a80773612110a396f750bffa0cd6e8
7
- data.tar.gz: 4ad9bd1ddfaf2b0e5b01e92559b134ed36f39e01df9612a2763368787f13a16ca0bccbc3d18ae538b2208daf7b53e39453a66ee114b2c112b596f5a670a4d151
6
+ metadata.gz: 02ec6f995359e79577f7e2267bc6bd20bedfc447634af748bcbd54107c4483bbfaa1edc4cfe805fcd20b38f3d3add7ae6aa78eee2d1d1f303d32a5b6930c88c3
7
+ data.tar.gz: 6e06a331dff7629fa4399dfffa35557d7aa1a599e92881c8e8465bffc309853ea828abd2c1b95c20d926f989525bf44bead030e1afaee09eacc6a37d543d35b3
data/CHANGELOG.md CHANGED
@@ -2,6 +2,14 @@
2
2
 
3
3
  - [#PR ID] Add your changelog entry here.
4
4
 
5
+ ## v1.8.7 (2023-05-18)
6
+
7
+ - [#198] Fully qualify `JWT::JWK::Thumbprint` constant with :: (thanks to @stanhu)
8
+
9
+ ## v1.8.6 (2023-05-12)
10
+
11
+ - [#194] Default to RFC 7638 kid fingerprint generation (thanks to @stanhu).
12
+
5
13
  ## v1.8.5 (2023-02-02)
6
14
 
7
15
  - [#186] Simplify gem configuration reusing Doorkeeper configuration option DSL (thanks to @nbulaj).
@@ -10,6 +18,10 @@
10
18
 
11
19
  ## v1.8.4 (2023-02-01)
12
20
 
21
+ Note that v1.8.4 changed the default kid fingerprint generation from RFC 7638 to a format
22
+ based on the SHA256 digest of the key element. To restore the previous behavior, upgrade to v1.8.6.
23
+
24
+ - [#177] Replace `json-jwt` with `ruby-jwt` to align with doorkeeper-jwt (thanks to @kristof-mattei).
13
25
  - [#185] Don't call active_record_options for Doorkeeper >= 5.6.3 (thanks to @zavan).
14
26
  - [#183] Stop render consent screen when user is not logged-in (thanks to @nov).
15
27
 
@@ -17,10 +29,6 @@
17
29
 
18
30
  - [#180] Add PKCE support to OpenID discovery endpoint (thanks to @stanhu).
19
31
 
20
- ## Unreleased next
21
-
22
- - [#177] Replace `json-jwt` with `ruby-jwt` to align with doorkeeper-jwt (thanks to @kristof-mattei).
23
-
24
32
  ## v1.8.2 (2022-07-13)
25
33
 
26
34
  - [#168] Allow to use custom doorkeeper access grant model (thanks @nov).
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Doorkeeper
4
4
  module OpenidConnect
5
- VERSION = '1.8.5'
5
+ VERSION = '1.8.7'
6
6
  end
7
7
  end
@@ -48,7 +48,7 @@ module Doorkeeper
48
48
  else
49
49
  OpenSSL::PKey.read(configuration.signing_key)
50
50
  end
51
- ::JWT::JWK.new(key)
51
+ ::JWT::JWK.new(key, { kid_generator: ::JWT::JWK::Thumbprint })
52
52
  end
53
53
 
54
54
  def self.signing_key_normalized
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: doorkeeper-openid_connect
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.8.5
4
+ version: 1.8.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Sam Dengler
@@ -10,7 +10,7 @@ authors:
10
10
  autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
- date: 2023-02-02 00:00:00.000000000 Z
13
+ date: 2023-05-18 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: doorkeeper