Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CSRF Token missmatch #10

Closed
ChristianFranke opened this issue May 30, 2024 · 2 comments
Closed

CSRF Token missmatch #10

ChristianFranke opened this issue May 30, 2024 · 2 comments

Comments

@ChristianFranke
Copy link

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
Bildschirmfoto 2024-05-30 um 13 12 15

Please complete the following information:

  • InvoiceShelf version: 1.2.2 (release)
  • PHP version: 8.2
  • Database type and version: MariaDB 10.11.8-MariaDB-ubu2204

Optional info

  • OS: [e.g. Ubuntu] MacOS
  • Browser: [e.g. chrome, safari] Chrome
@ChristianFranke ChristianFranke changed the title CSFR Token missmatch CSRF Token missmatch May 30, 2024
@gdarko gdarko transferred this issue from InvoiceShelf/InvoiceShelf Jun 2, 2024
@jvgreenaway
Copy link

I am also experiencing this issue after setting up with docker compose, running through the setup and trying to login for the first time.

@gdarko
Copy link
Contributor

gdarko commented Jul 13, 2024

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 gdarko closed this as completed Jul 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants