The csrf token mismatch error is always displayed in the subdomain website #5463
-
Description:My test website uses a subdomain, but it keeps showing csrf token mismatch error. I try to exclude it in the VerifyCsrfToken middleware, but there is no way. I have been trying for a whole day and there is no solution Detailed steps to reproduce the issue on a fresh Nova installation:localhost tests are perfectly fine, so this should have nothing to do with the installation process error code: |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
|
Beta Was this translation helpful? Give feedback.
-
|
It seems that you have a misconfiguration with the application session (notice that |
Beta Was this translation helpful? Give feedback.

It seems that you have a misconfiguration with the application session (notice that
<meta name="csrf-token" />content value changed on each page load. This shouldn't happen if the session configuration has been set correctly.