You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@couchdb.apache.org by ja...@apache.org on 2024/05/25 13:39:22 UTC
(couchdb) 02/05: JWT: require valid `exp` claim by default
This is an automated email from the ASF dual-hosted git repository.
jan pushed a commit to branch doc/whats-new-3.4.0
in repository https://gitbox.apache.org/repos/asf/couchdb.git
commit aa3d7a14221cfd99431cc169617818e815d0b513
Author: Robert Newson <rn...@apache.org>
AuthorDate: Thu May 16 14:51:59 2024 +0100
JWT: require valid `exp` claim by default
---
src/docs/src/whatsnew/3.4.rst | 18 ++++++++++++++++++
1 file changed, 18 insertions(+)
diff --git a/src/docs/src/whatsnew/3.4.rst b/src/docs/src/whatsnew/3.4.rst
index ec06a9749..3f4f531c4 100644
--- a/src/docs/src/whatsnew/3.4.rst
+++ b/src/docs/src/whatsnew/3.4.rst
@@ -1,3 +1,4 @@
+<<<<<<< HEAD
.. Licensed under the Apache License, Version 2.0 (the "License"); you may not
.. use this file except in compliance with the License. You may obtain a copy of
.. the License at
@@ -109,6 +110,7 @@ Features and Enhancements
list.
* :ghissue:`4404`: Respond with 503 immediately if search not available.
* :ghissue:`4347`: Remove failed ``couch_plugins`` experiment.
+* :ghissue:`5046`: JWT: require valid `exp` claim by default
Performance
-----------
@@ -229,7 +231,23 @@ Builds
------
* :ghissue:`4840`: Add Debian 12 (bookworm) to CI and binary packages.
+.. _release/3.4.x/breakingchanges:
+
Other
-----
+Breaking Changes
+================
+
+* :ghissue:`5046`: JWT: require valid `exp` claim by default
+
+ Users of JWT rightly expect tokens to be considered invalid once they expire. It
+ is a surprise to some that this requires a change to the default
+ configuration. In the interest of security we will now require a valid `exp`
+ claim in tokens. Administrators can disable the check by changing
+ `required_claims` back to the empty string.
+
+ We recommend adding `nbf` as a required claim if you know your tokens will
+ include it.
+
What’s new, Scooby-Doo?