Commit ebb4ada
committed
Allow for more clock drift when generating the JWT
In my tests, sometimes even though the 10 minutes maximum expire time
worked when searching for the comment, it still was possible for the
subsequent request (appending to the comment) to fail with:
'Expiration time' claim ('exp') is too far in the future
Let's work around that by avoiding the full 10 minutes expiry and going
for 9 instead.
Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>1 parent b7f1171 commit ebb4ada
1 file changed
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
12 | | - | |
13 | | - | |
| 12 | + | |
| 13 | + | |
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
| |||
0 commit comments