Skip to content

Commit cb82277

Browse files
adriendupuisdabrt
andauthored
[CS-12420] REST: anon. user/login needed (#2505)
--------- Co-authored-by: Tomasz Dąbrowski <[email protected]>
1 parent 1c07c16 commit cb82277

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

docs/api/rest_api/rest_api_authentication.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,11 @@ For other security related subjects, see:
1818
- [Cross-origin requests](rest_responses.md#cross-origin)
1919
- [`access_control`]([[= symfony_doc =]]/security/access_control.html)
2020

21+
!!! caution "SiteAccess login"
22+
23+
The anonymous user is used to perform authentification requests.
24+
Therefore, the "Anonymous" role must have `user/login` permission on the SiteAccess that matches the REST domain or is passed through the [`X-Siteaccess` header](rest_requests.md#siteaccess).
25+
2126
## Session-based authentication
2227

2328
This authentication method requires a session cookie to be sent with each request.

0 commit comments

Comments
 (0)