ome / omero-documentation

Sphinx-based documentation for the Open Microscopy Environment
https://omero.readthedocs.io
BSD 2-Clause "Simplified" License
22 stars 51 forks source link

Clarify CSRF token usage #2424

Closed DavidStirling closed 4 months ago

DavidStirling commented 6 months ago

Due to Django's default security settings, users connecting to the JSON API over HTTPS URLs tend to get "CSRF token invalid" messages when trying to use the API with the current instructions. This PR adds a bit of text to explain the need to supply a Referer header for the token checks to succeed.