The user solarsimon is experiencing issues with the Discourse integration in Nextcloud, specifically a “bad csrf” error. This problem occurred after moving their Discourse instance from a hosted solution to a self-hosted setup using Docker. david suggested that a bug in Google Chrome might be the cause, but solarsimon tried with Mozilla Firefox and Brave on different devices, which didn’t resolve the issue. A potential solution involving Nginx configuration was found, but solarsimon is unsure how to implement it in their setup.
I am trying to get the Dashboard integration running in our Nextcloud (22.2.3)
We used to have a discourse instance running on discourse.group where the connection worked fine.
Since we moved our discourse instance to self hosted, it does not work anymore.
Now discourse is running on a hetzner server in a Docker container. Nothing else running on that server. The DNS is configured with an A-Record.
For installation, i followed this guide: https://linoxide.com/install-discourse-docker-container/
I have found a description of a solution. But don’t know what steps to do.
Does anyone know how to solve that issue in my setup?
We’ve added a workaround for the issue in the latest version of Discourse, so make sure you’re up-to-date. (our hosted discourse.group sites are up-to-date, so maybe that’s why things were working there)
On my Desktop I tried the setup with Mozilla Firefox running on windows 8. Also tried with updated Brave on my Android 11.
From my perspective nothing changed on the client side.