Closed ChristianFranke closed 4 months ago
I am also experiencing this issue after setting up with docker compose, running through the setup and trying to login for the first time.
Hey @ChristianFranke , @jvgreenaway - The issue was due to not setting the SESSION_DOMAIN
and SANCTUM_STATEFUL_DOMAINS
in docker-compose.
I rebuild the images, and you can use the new instructions to set up invoiceshelf. Check the Readme.md.
@gdarko Hi, so I am getting the same CSRF Token Mismatch error on a basic sqlite docker setup. I've set the SESSION_DOMAIN
and SANCTUM_STATEFUL_DOMAINS
values properly (AFAICT) for my domain (i.e set value to say invoice.mysite.xyz) for both, and still see the issue. Very little was changed from the sample sqlite docker compose file. Can please you explain why you think it is? Thanks!
hmm seems that setting APP_DEBUG=true
and changing to my correct time zone (America/New_York) for PHP_TZ
and TIMEZONE
allowed me to get past that error, and onto the Domain Verification part of installation...
Describe the bug I restarted InvoiceShelf once after the installation with docker-compose. Then I could no longer log in. The strange thing is that it is reported that I was successfully logged in.
Expected behavior A successful login with redirection to the dashboard.
Screenshots
Please complete the following information:
Optional info