From 46dd242c9c8f32b2c685a9150bc0bdd0dd17ce82 Mon Sep 17 00:00:00 2001 From: ncik <37887122+nraffuse@users.noreply.github.com> Date: Wed, 1 Jul 2026 08:46:27 -0800 Subject: [PATCH] docs: fix example jwt expiration epoch Issue: the example epoch date is wrapped in parentheses. This causes the server to return PGRST303: "The JWT 'exp' claim must be a number" Fix: remove parentheses (cherry picked from commit 69d21a82c9185183e36a5bf88f18fdfa47a47917) --- docs/tutorials/tut1.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/tutorials/tut1.rst b/docs/tutorials/tut1.rst index 58c503ddb..141dae96d 100644 --- a/docs/tutorials/tut1.rst +++ b/docs/tutorials/tut1.rst @@ -172,7 +172,7 @@ Go back to :ref:`tut1_step3` and change the payload to .. code-block:: bash - payload=$(echo -n "{\"role\":\"todo_user\",\"exp\":\"123456789\"}" | _base64) + payload=$(echo -n "{\"role\":\"todo_user\",\"exp\":123456789}" | _base64) echo -n "$header.$payload.$signature"