From 91814cd4f89b1f5210ee4331623021bb294ac175 Mon Sep 17 00:00:00 2001 From: Taimoor Zaeem Date: Sun, 18 May 2025 11:29:11 +0500 Subject: [PATCH] docs: add note in JWT Role Extraction section Add a note describing that the used JSPath DSL does not strictly follow the JSONPath as described in RFC 9535 --- docs/references/auth.rst | 3 +++ 1 file changed, 3 insertions(+) diff --git a/docs/references/auth.rst b/docs/references/auth.rst index 0e7d2c3ab..30fac0b44 100644 --- a/docs/references/auth.rst +++ b/docs/references/auth.rst @@ -224,6 +224,9 @@ Usage examples: jwt-role-claim-key = ".postgrest.roles[?(@ ==^ \"hor\")]" jwt-role-claim-key = ".postgrest.roles[?(@ *== \"utho\")]" +.. note:: + + The string comparison operators are implemented as a custom extension to the JSPath and does not strictly follow the `RFC 9535 `_. JWT Security ~~~~~~~~~~~~