mirror of
https://github.com/PrefectHQ/fastmcp.git
synced 2026-08-24 06:24:18 +02:00
Use consistent refresh_ttl for JTI mapping store (#2799)
This commit is contained in:
parent
945dac57e4
commit
151b0ae46f
1 changed files with 1 additions and 1 deletions
|
|
@ -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(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue