From ece8f57596b03e4805b0096c59ec35bd419df58b Mon Sep 17 00:00:00 2001 From: Jonas Kaninda Date: Tue, 19 Nov 2024 19:36:33 +0100 Subject: [PATCH] docs: add route and gatewat configuration options --- docs/middleware/jwt.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/middleware/jwt.md b/docs/middleware/jwt.md index 1f7ea8c..76af83f 100644 --- a/docs/middleware/jwt.md +++ b/docs/middleware/jwt.md @@ -9,7 +9,7 @@ nav_order: 4 ### JWT middleware As BasicAuth, JWT middleware grants also access to route to authorized users only. -It implements client authorization based on the result of a request. +It implements client authorization based on the result of a request using JSON Web Tokens. If the request returns a 200 response code, access is allowed. If it returns 401 or 403, the access is denied with the corresponding error code. Any other response code returned by the request is considered an error.