-
Notifications
You must be signed in to change notification settings - Fork 39
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update the default JWT leeway to 300s (#1135)
Copy the rationale for this decision from the CLI, where we had a deeper discussion and research phase. This is effectively backporting a decision from the CLI to the SDK.
- Loading branch information
Showing
2 changed files
with
22 additions
and
1 deletion.
There are no files selected for viewing
7 changes: 7 additions & 0 deletions
7
changelog.d/20250203_125146_sirosen_update_default_jwt_leeway.rst
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
Changed | ||
~~~~~~~ | ||
|
||
- The SDK now defaults JWT leeway to 300 seconds when decoding ``id_token``\s; | ||
the previous leeway was 0.5 seconds. Users should find that they are much | ||
less prone to validation errors when working in VMs or other scenarios which | ||
can cause significant clock drift. (:pr:`NUMBER`) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters