Commit d862636
authored
"Issued at" time should allow for clock drift (#4156)
If `iat` is in the future from the server clock perspective GitHub will report an error.
This can happen if the clock on the client system is significant out of sync with UTC and/or server time.
Adjusting `iat` to an arbitrary 60 seconds in the past means the error will not occur in cases where the client system clock is only off by a few seconds, which is not uncommon.1 parent 1dcb911 commit d862636
1 file changed
Lines changed: 2 additions & 2 deletions
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
77 | 77 | | |
78 | 78 | | |
79 | 79 | | |
80 | | - | |
81 | | - | |
| 80 | + | |
| 81 | + | |
82 | 82 | | |
83 | 83 | | |
84 | 84 | | |
| |||
0 commit comments