Skip to content

Commit 9d173b4

Browse files
authored
Update jwt.md (#2152)
Allows accessing the Swagger UI contexts
1 parent 9ee05b0 commit 9d173b4

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

symfony/jwt.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -105,6 +105,7 @@ security:
105105
access_control:
106106
- { path: ^/$, roles: PUBLIC_ACCESS } # Allows accessing the Swagger UI
107107
- { path: ^/docs, roles: PUBLIC_ACCESS } # Allows accessing the Swagger UI docs
108+
- { path: ^/contexts, roles: PUBLIC_ACCESS } # Allows accessing the Swagger UI contexts
108109
- { path: ^/auth, roles: PUBLIC_ACCESS }
109110
- { path: ^/, roles: IS_AUTHENTICATED_FULLY }
110111
```
@@ -162,6 +163,7 @@ security:
162163
access_control:
163164
- { path: ^/$, roles: PUBLIC_ACCESS } # Allows accessing the Swagger UI
164165
- { path: ^/docs, roles: PUBLIC_ACCESS } # Allows accessing API documentations and Swagger UI docs
166+
- { path: ^/contexts, roles: PUBLIC_ACCESS } # Allows accessing the Swagger UI contexts
165167
- { path: ^/auth, roles: PUBLIC_ACCESS }
166168
- { path: ^/, roles: IS_AUTHENTICATED_FULLY }
167169
```

0 commit comments

Comments
 (0)