keycardai-mcp 0.1.3 → 0.1.4

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: 7b437995d8401145df41487356f36b6afc288f1ef7b49f03ec788a48477dc823
4
- data.tar.gz: 043e092753fbf20346a7175b9a20dcaf3faa54ea110220b13a25d8711ce14cd0
3
+ metadata.gz: a5706ca9b5378bc607efd8127c884e9b7565d22dcf54cf996ea69b21300d1fc9
4
+ data.tar.gz: 575c6193f7cfc41feda2ff46f90cea207bb53cac399e32f6024089b24be8b835
5
5
  SHA512:
6
- metadata.gz: 7e3b21b924289a6c24e9030a9f9a6b48fb104edd6b1bd69b3f35fea9d5b6e1d154aefcf0727ce062966769a479ea5792ee135446d17f8d55335ec1d095d6a452
7
- data.tar.gz: b8c70147f320f2fcd570fda060e6bc48f02f2cd0cbae042a4bd969e2822ab6edf207b11e653eca9b0638a90a2cbc7d804d13f219d87902b7084dbf9a29cc0633
6
+ metadata.gz: 715cd9a2f702cd68d8b17671aad7bb25e04778a0e04f121fca58827f398bd4d3ed7d9870a6e9c3e286c8ffc94c79adc63371dddfb2936c6aef0bc1498c4864dd
7
+ data.tar.gz: 7809476c3a4dba4170a537fb800182074f34c64ae7a342bad9b1a761781ba9e374232e72cb66f8de662074a8b3914d23a48de10a7c5a52f2bc8e5d1ff2f90232
data/CHANGELOG.md CHANGED
@@ -14,6 +14,18 @@ protected-resource with path insertion, an RFC 8414 authorization-server proxy,
14
14
  and JWKS), and an AuthProvider whose `grant` middleware exchanges the caller's
15
15
  token per resource into an AccessContext. Wraps no MCP SDK.
16
16
 
17
+ ## 0.1.4-keycardai-mcp (2026-11-25)
18
+
19
+
20
+ - fix(keycardai-mcp): reject an empty audience list at construction (#93)
21
+ - * fix(keycardai-mcp): reject an empty audience list at construction
22
+ - Co-Authored-By: Larry Osakwe <larry@keycard.ai>
23
+ - * test(keycardai-mcp): cover a nonempty AuthProvider audience list end to end
24
+ - ---------
25
+ - Co-authored-by: devin-ai-keycard <devin-ai@keycard.ai>
26
+ Co-authored-by: Larry Osakwe <larry@keycard.ai>
27
+ Co-authored-by: Larry Osakwe <>
28
+
17
29
  ## 0.1.3-keycardai-mcp (2026-11-24)
18
30
 
19
31
  ## 0.1.2-keycardai-mcp (2026-10-12)
@@ -22,8 +22,13 @@ module Keycardai
22
22
  # @param audiences [String, Array<String>, nil] enforced on inbound tokens
23
23
  # @param http_client [#get, #post_form] pluggable transport
24
24
  # @param timeout [Numeric, nil]
25
+ # @raise [Keycardai::OAuth::ConfigurationError] explicitly empty audiences
25
26
  def initialize(zone_url:, credential: nil, client_id: nil, client_secret: nil, audiences: nil,
26
27
  http_client: Keycardai::OAuth::HTTP::NetHTTPClient.new, timeout: nil)
28
+ if audiences.is_a?(Array) && audiences.empty?
29
+ raise Keycardai::OAuth::ConfigurationError, "audiences must not be empty"
30
+ end
31
+
27
32
  @zone_url = zone_url
28
33
  @credential = credential || (client_id ? Keycardai::OAuth::ClientSecret.new(client_id, client_secret) : nil)
29
34
  @audiences = audiences
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Keycardai
4
4
  module MCP
5
- VERSION = "0.1.3"
5
+ VERSION = "0.1.4"
6
6
  end
7
7
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: keycardai-mcp
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.3
4
+ version: 0.1.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Keycard