keycardai-oauth 0.9.0 → 0.9.1

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: ef60657e21dbad4e33c52dcee7762e64a0e82528e9584fd8fa408e6196ff65ab
4
- data.tar.gz: 9742a4a6082f37ea03ac1eccaa2b60f1d1f9086477980dcb3946e17ce0024bc7
3
+ metadata.gz: 6d082f18fb1a1d930cd99544d71e2aac6bc2ecb8d6925441cf1edc0ae2ccea71
4
+ data.tar.gz: e50e8e4a1927a294bb9bfc37f22e493e110c4d19f37509114fc3bbf692ff5d79
5
5
  SHA512:
6
- metadata.gz: 9683da1bb0fbf3e8cadaeef98f4c7b7b29425c011f8b1ef47803f9516544a6bb59f56215c1d8dd4b9aec553ec1ac14c5013076e07a48820ac1288688c0a0bce3
7
- data.tar.gz: '08bb338f8fbd4d2190aaca0a48e9d3669da7928b24642371fc75e540a46325a84561ce01fcd19e80d5bf66e368c6b9e2bc8b848c72d11a0890793322192e28b3'
6
+ metadata.gz: c6b25688f8ca096390ca74317e36e6cb76d4f26eecbd3c8e2f21e4f2553efb10c57d254982e9fb92c66910bffe9acdcbd97d79caa764493fc1f8d4fe6e6004eb
7
+ data.tar.gz: 4b176b3d323367a7bceb4f96a5b89f2417454bcc431da20779791a5af9c5629801ab66e1f09f6deb893a20d1e65a6e488f5ec236cc85198165f9b4ead441d408
data/CHANGELOG.md CHANGED
@@ -15,6 +15,13 @@ the loopback flow (RFC 8252), JWT signing and verification with a caching JWKS
15
15
  keyring, the three application credentials (ClientSecret with multi-zone,
16
16
  WebIdentity, WorkloadIdentity with pluggable token sources), and AccessContext.
17
17
 
18
+ ## 0.9.1-keycardai-oauth (2026-11-25)
19
+
20
+
21
+ - fix(keycardai-oauth): normalize the verified caller audience (#75)
22
+ - Co-authored-by: devin-ai-keycard <devin-ai@keycard.ai>
23
+ Co-authored-by: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
24
+
18
25
  ## 0.9.0-keycardai-oauth (2026-11-25)
19
26
 
20
27
 
@@ -138,6 +138,8 @@ module Keycardai
138
138
  def verify_against(issuers, token)
139
139
  claims = JWTVerifier.new(issuers: issuers, keyring: @keyring, audiences: @audiences,
140
140
  clock: @clock).verify(token)
141
+ audience = claims["aud"]
142
+ claims = claims.merge("aud" => [audience]) if audience.is_a?(String)
141
143
  AccessToken.new(token: token, claims: claims)
142
144
  end
143
145
  end
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Keycardai
4
4
  module OAuth
5
- VERSION = "0.9.0"
5
+ VERSION = "0.9.1"
6
6
  end
7
7
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: keycardai-oauth
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.9.0
4
+ version: 0.9.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Keycard