From bb71256cffdd80231db3de86555ffea081fb7402 Mon Sep 17 00:00:00 2001 From: zpi12lmm Date: Wed, 2 Apr 2025 10:54:37 +0300 Subject: [PATCH] Update jwt.md Allows accessing the Swagger UI contexts --- symfony/jwt.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/symfony/jwt.md b/symfony/jwt.md index fbf241a28f2..4330a5bf5f6 100644 --- a/symfony/jwt.md +++ b/symfony/jwt.md @@ -105,6 +105,7 @@ security: access_control: - { path: ^/$, roles: PUBLIC_ACCESS } # Allows accessing the Swagger UI - { path: ^/docs, roles: PUBLIC_ACCESS } # Allows accessing the Swagger UI docs + - { path: ^/contexts, roles: PUBLIC_ACCESS } # Allows accessing the Swagger UI contexts - { path: ^/auth, roles: PUBLIC_ACCESS } - { path: ^/, roles: IS_AUTHENTICATED_FULLY } ``` @@ -162,6 +163,7 @@ security: access_control: - { path: ^/$, roles: PUBLIC_ACCESS } # Allows accessing the Swagger UI - { path: ^/docs, roles: PUBLIC_ACCESS } # Allows accessing API documentations and Swagger UI docs + - { path: ^/contexts, roles: PUBLIC_ACCESS } # Allows accessing the Swagger UI contexts - { path: ^/auth, roles: PUBLIC_ACCESS } - { path: ^/, roles: IS_AUTHENTICATED_FULLY } ```