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 +4 -4
- data/CHANGELOG.md +7 -0
- data/lib/keycardai/oauth/token_verifier.rb +2 -0
- data/lib/keycardai/oauth/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 6d082f18fb1a1d930cd99544d71e2aac6bc2ecb8d6925441cf1edc0ae2ccea71
|
|
4
|
+
data.tar.gz: e50e8e4a1927a294bb9bfc37f22e493e110c4d19f37509114fc3bbf692ff5d79
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
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
|