Use consistent refresh_ttl for JTI mapping store (#2799)

This commit is contained in:
Jeremiah Lowin 2026-01-06 17:46:39 -05:00 committed by GitHub
commit 151b0ae46f
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -1576,7 +1576,7 @@ class OAuthProxy(OAuthProvider):
)
# Store new refresh token JTI mapping with aligned expiry
refresh_ttl = new_refresh_expires_in or 60 * 60 * 24 * 30
# (reuse refresh_ttl calculated above for upstream token store)
await self._jti_mapping_store.put(
key=new_refresh_jti,
value=JTIMapping(