Skip to content

Commit 97a1c04

Browse files
committed
Document the requirement for logged-in user
1 parent 44272ff commit 97a1c04

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

docs/index.md

+8-2
Original file line numberDiff line numberDiff line change
@@ -137,10 +137,13 @@ security:
137137
type: php
138138
```
139139

140+
## Post-installation
141+
140142
You can verify that everything is working by issuing a `POST` request to the `/token` endpoint.
141143

142-
**❮ NOTE ❯** It is recommended to control the access to the authorization endpoint
143-
so that only logged in users can approve authorization requests.
144+
It is required to control access to the authorization endpoint
145+
so that only logged-in users can approve authorization requests.
146+
144147
You should review your `config/security.yaml` file. Here is a sample configuration:
145148

146149
```yaml
@@ -149,6 +152,9 @@ security:
149152
- { path: ^/authorize, roles: IS_AUTHENTICATED_REMEMBERED }
150153
```
151154
155+
> [!IMPORTANT]
156+
> The requirement for a logged-in user to approve authorization requests was introduced in version 0.9.0. In previous versions, it was only a recommendation.
157+
152158
## Configuration
153159
154160
* [Basic setup](basic-setup.md)

0 commit comments

Comments
 (0)