Commit 0a6df27
fix: reduce token TTL to 14 days with 3-day refresh threshold
The previous 30-day TTL with 14-day refresh threshold left a narrow
window for refresh and kept stolen tokens valid for too long.
New values: 14-day TTL with 3-day refresh — active clients refresh
early and live indefinitely, inactive clients survive up to 2 weeks.
Supersedes #80 which proposed 24h TTL (too aggressive for paired
desktops that may be unused for a week).
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>1 parent 81e4863 commit 0a6df27
File tree
3 files changed
+5
-5
lines changed- crates
- okena-core/src/client
- okena-remote-client/src
- src/remote
3 files changed
+5
-5
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
85 | 85 | | |
86 | 86 | | |
87 | 87 | | |
88 | | - | |
89 | | - | |
| 88 | + | |
| 89 | + | |
90 | 90 | | |
91 | 91 | | |
92 | 92 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
362 | 362 | | |
363 | 363 | | |
364 | 364 | | |
365 | | - | |
| 365 | + | |
366 | 366 | | |
367 | 367 | | |
368 | 368 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
14 | | - | |
15 | | - | |
| 14 | + | |
| 15 | + | |
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
| |||
0 commit comments