Skip to content

Commit 08811db

Browse files
monomericsteve-chavez
authored andcommitted
fix: documentation for jwt-secret-is-base64
Added a warning about base64 decoding for jwt-secret. Addresses #5215
1 parent 64869d0 commit 08811db

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

docs/references/configuration.rst

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -729,6 +729,10 @@ jwt-secret-is-base64
729729

730730
When this is set to :code:`true`, the value derived from :code:`jwt-secret` will be treated as a base64 encoded secret.
731731

732+
.. warning::
733+
734+
Base64 decoding is strict following `RFC 4648 <https://www.rfc-editor.org/info/rfc4648/#section-3.3>`_, hence a base64 ``jwt-secret`` must not contain any line breaks.
735+
732736
.. _jwt-cache-max-entries:
733737

734738
jwt-cache-max-entries

0 commit comments

Comments
 (0)