rodauth-oauth 1.6.1 → 1.6.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: b6c3f9dbc4dcbd3639626e34ed21a624b89c952e53a76e09a364665860af2460
4
- data.tar.gz: c3fa0024cfd14e9f5c91f1f91729e376aeaf7eef5e2dd6e7d6cfef28eb553c25
3
+ metadata.gz: a33a9ee71a918fe0ea7e71e63062d9399117081bd6d065e5d00dcd4d73ffe8a3
4
+ data.tar.gz: b269c68bb2a1eb45bba20ce222b18184d5e64d83ce3ccba1641403e01d2a2c28
5
5
  SHA512:
6
- metadata.gz: 0d85b01de165f5daf55cf278045e88cb90b7bda144b565384e98d56e18c45f759bb9455914e39f6f33034ce4517d9c526b32820b1b4a5468c344b7f0ff295490
7
- data.tar.gz: 64678467af584d06240570bdd88cc35d191770d8b6bdae42a9b44300dac80233c7c2e380ac91e0ec00e90dce4f1ea9c847a8597835ecaae1bb1285e3b614790d
6
+ metadata.gz: 74221c277a9f55e01447063cbc9f8f0d01bb3b77bedbcb86b7b14ab6baeb50d09cbb556c9e54cf14a50d91460a427a9eaaa1a541f4f2e0e87edd724df28703e8
7
+ data.tar.gz: 3fcfe3de3b11791ceea035142344f7bbf88a05082452c77b17c4c6fdfc872b956d44f9d04307e61b476b38b340ee7fc68bd27da3698e402b3b7d75628d7c0008
@@ -0,0 +1,5 @@
1
+ ### 1.6.2
2
+
3
+ #### Bugfixes
4
+
5
+ * fix oauth_base `supported_response_type?` when `grant_types` column is set in the database, but `response_types` is not.
@@ -720,7 +720,7 @@ module Rodauth
720
720
  def supported_response_type?(response_type, expected_response_type = response_type)
721
721
  return false unless response_type == expected_response_type
722
722
 
723
- response_types_supported = if oauth_application[oauth_applications_grant_types_column]
723
+ response_types_supported = if oauth_application[oauth_applications_response_types_column]
724
724
  oauth_application[oauth_applications_response_types_column].split(/ +/)
725
725
  else
726
726
  oauth_response_types_supported
@@ -1,7 +1,6 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  require "rodauth/oauth"
4
- require "logger"
5
4
 
6
5
  module Rodauth
7
6
  Feature.define(:oauth_dpop, :OauthDpop) do
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Rodauth
4
4
  module OAuth
5
- VERSION = "1.6.1"
5
+ VERSION = "1.6.2"
6
6
  end
7
7
  end
metadata CHANGED
@@ -1,15 +1,29 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rodauth-oauth
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.6.1
4
+ version: 1.6.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tiago Cardoso
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-05-20 00:00:00.000000000 Z
11
+ date: 2024-06-17 00:00:00.000000000 Z
12
12
  dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: base64
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - ">="
18
+ - !ruby/object:Gem::Version
19
+ version: '0'
20
+ type: :runtime
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - ">="
25
+ - !ruby/object:Gem::Version
26
+ version: '0'
13
27
  - !ruby/object:Gem::Dependency
14
28
  name: rodauth
15
29
  requirement: !ruby/object:Gem::Requirement
@@ -76,6 +90,7 @@ extra_rdoc_files:
76
90
  - doc/release_notes/1_5_0.md
77
91
  - doc/release_notes/1_6_0.md
78
92
  - doc/release_notes/1_6_1.md
93
+ - doc/release_notes/1_6_2.md
79
94
  files:
80
95
  - CHANGELOG.md
81
96
  - LICENSE.txt
@@ -123,6 +138,7 @@ files:
123
138
  - doc/release_notes/1_5_0.md
124
139
  - doc/release_notes/1_6_0.md
125
140
  - doc/release_notes/1_6_1.md
141
+ - doc/release_notes/1_6_2.md
126
142
  - lib/generators/rodauth/oauth/install_generator.rb
127
143
  - lib/generators/rodauth/oauth/templates/app/models/oauth_application.rb
128
144
  - lib/generators/rodauth/oauth/templates/app/models/oauth_grant.rb
@@ -224,7 +240,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
224
240
  - !ruby/object:Gem::Version
225
241
  version: '0'
226
242
  requirements: []
227
- rubygems_version: 3.4.10
243
+ rubygems_version: 3.5.3
228
244
  signing_key:
229
245
  specification_version: 4
230
246
  summary: Implementation of the OAuth 2.0 protocol on top of rodauth.