mathesar-foundation / mathesar

Web application providing an intuitive user experience to databases.
https://mathesar.org/
GNU General Public License v3.0
2.29k stars 317 forks source link

CSRF Failed Error #3497

Closed ghislaineguerin closed 3 months ago

ghislaineguerin commented 3 months ago

Description

The error message "CSRF Failed: Origin checking failed - https://internal.mathesar.org/ does not match any trusted origins." is appearing when performing certain actions in Mathesar like creating a new internal db or saving a record.

Additional context

This happened while testing internal.mathesar.org

Anish9901 commented 3 months ago

Here is the screenshot of the error for reference:

Screenshot 2024-03-20 at 2 44 34 PM

For the sake of QA, I've temporarily fixed this by following this SO answer but this issue will need to be investigated more to pinpoint the actual problem.

Anish9901 commented 3 months ago

Fixed by #3499