Skip to content

Commit

Permalink
http_jwt: update documentation
Browse files Browse the repository at this point in the history
Signed-off-by: Robert Stepanek <rsto@fastmailteam.com>
  • Loading branch information
rsto committed Jun 7, 2023
1 parent c745a73 commit 2538b82
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 1 deletion.
18 changes: 18 additions & 0 deletions changes/next/http_jwt_timeclaims
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
Description:

Adds support for the "exp" and "nbf" to JSON Web Token claims. Thanks to Bruno Thomas (bamthomas).


Config changes:

None.


Upgrade instructions:

None.


GitHub issue:

https://github.com/cyrusimap/cyrus-imapd/pull/4515
5 changes: 4 additions & 1 deletion lib/imapoptions
Original file line number Diff line number Diff line change
Expand Up @@ -1148,9 +1148,12 @@ Blank lines and lines beginning with ``#'' are ignored.
"iat" claim of the JWS Payload and ends after the duration of this
option value has passed. Tokens without an "iat" claim,
or with an issue date in the future, are rejected. There is no leeway
for clock skew.
for clock skew. Starting from Cyrus version 3.8, the "iat" claim
only is validated if no "exp" claim is present.

The zero value disables validation of the "iat" JWS claim.

Starting from Cyrus 3.8, the "nbf" and "exp" claims always are validated.
*/

{ "icalendar_max_size", "0", BYTESIZE, "3.8.0" }
Expand Down

0 comments on commit 2538b82

Please sign in to comment.