Skip to content

Commit 5e30a38

Browse files
committed
fix: lowered the expiry date to leave room for clock drift
1 parent d49274f commit 5e30a38

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/openhound_github/auth.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ def jwt(self) -> str:
6161
claims = {
6262
"iss": self.client_id,
6363
"iat": int(now_utc - 10), # Issued 10 seconds in the past
64-
"exp": int(now_utc + 600), # Expires in 10 minutes
64+
"exp": int(now_utc + 540), # Expires in 9 minutes (GitHub max is 10, leaving room for clock drift)
6565
}
6666

6767
try:

0 commit comments

Comments
 (0)