doorkeeper-openid_connect 1.8.5 → 1.8.6

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: 98833fbf062bc69c7ef33bfe11ca1c8c1334fb8aa993429760d6d3dd25cc5567
4
+ data.tar.gz: 2c673aa37b13f56db56d27ba6cd876650e45fd9305061f3c2b45ddc9c5f9f891
5
5
  SHA512:
6
- metadata.gz: 19a46eaf1bb1224a0a1e3e76fd59a7a9fd90d7bafa3c0da6c68f1684a199fec659627dc0d13600bda8aca1267bcf386317a80773612110a396f750bffa0cd6e8
7
- data.tar.gz: 4ad9bd1ddfaf2b0e5b01e92559b134ed36f39e01df9612a2763368787f13a16ca0bccbc3d18ae538b2208daf7b53e39453a66ee114b2c112b596f5a670a4d151
6
+ metadata.gz: 4feff9d2c441fb4efc5abbba40a611c2ee198b52d4efef02bb6ce0a27557b0757f2d09d7be513b3e0118845c24371ec6b323faaad10222b007f1df864625a9f8
7
+ data.tar.gz: b9cc421be62fdb8c03f4d9af89ed06c175b21af40e300a9a24b25e825fe643f6b3bf6e97eeec6336fc5554165be26e10c1f7b4d8870474a636c08ae581be39c6
data/CHANGELOG.md CHANGED
@@ -2,6 +2,10 @@
2
2
 
3
3
  - [#PR ID] Add your changelog entry here.
4
4
 
5
+ ## v1.8.6 (2023-05-12)
6
+
7
+ - [#194] Default to RFC 7638 kid fingerprint generation (thanks to @stanhu).
8
+
5
9
  ## v1.8.5 (2023-02-02)
6
10
 
7
11
  - [#186] Simplify gem configuration reusing Doorkeeper configuration option DSL (thanks to @nbulaj).
@@ -10,6 +14,10 @@
10
14
 
11
15
  ## v1.8.4 (2023-02-01)
12
16
 
17
+ Note that v1.8.4 changed the default kid fingerprint generation from RFC 7638 to a format
18
+ based on the SHA256 digest of the key element. To restore the previous behavior, upgrade to v1.8.6.
19
+
20
+ - [#177] Replace `json-jwt` with `ruby-jwt` to align with doorkeeper-jwt (thanks to @kristof-mattei).
13
21
  - [#185] Don't call active_record_options for Doorkeeper >= 5.6.3 (thanks to @zavan).
14
22
  - [#183] Stop render consent screen when user is not logged-in (thanks to @nov).
15
23
 
@@ -17,10 +25,6 @@
17
25
 
18
26
  - [#180] Add PKCE support to OpenID discovery endpoint (thanks to @stanhu).
19
27
 
20
- ## Unreleased next
21
-
22
- - [#177] Replace `json-jwt` with `ruby-jwt` to align with doorkeeper-jwt (thanks to @kristof-mattei).
23
-
24
28
  ## v1.8.2 (2022-07-13)
25
29
 
26
30
  - [#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.6'
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.6
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-12 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: doorkeeper