This is an automated email from the ASF dual-hosted git repository.
sbp pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/tooling-trusted-release.git
The following commit(s) were added to refs/heads/main by this push:
new 443a875 Make JWTs expire after 90 minutes
443a875 is described below
commit 443a87588e0ac064efd7411eb336549623661860
Author: Sean B. Palmer <[email protected]>
AuthorDate: Thu Jul 3 21:35:21 2025 +0100
Make JWTs expire after 90 minutes
---
atr/jwtoken.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/atr/jwtoken.py b/atr/jwtoken.py
index db734a2..7c1f9c1 100644
--- a/atr/jwtoken.py
+++ b/atr/jwtoken.py
@@ -35,7 +35,7 @@ if TYPE_CHECKING:
from collections.abc import Awaitable, Callable, Coroutine
-def issue(uid: str, *, ttl: int = 24 * 3600) -> str:
+def issue(uid: str, *, ttl: int = 90 * 60) -> str:
now = datetime.datetime.now(tz=datetime.UTC)
payload = {
"sub": uid,
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]