docs: add route and gatewat configuration options

This commit is contained in:
Jonas Kaninda
2024-11-19 19:36:33 +01:00
parent cc9b6b0042
commit ece8f57596

View File

@@ -9,7 +9,7 @@ nav_order: 4
### JWT middleware ### JWT middleware
As BasicAuth, JWT middleware grants also access to route to authorized users only. 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 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. 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.