-
Notifications
You must be signed in to change notification settings - Fork 15
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 mismatch showing when try to register #2
Comments
If you are trying it on localhost, so u can try this one: (.env) settings: SESSION_DOMAIN=localhost SANCTUM_STATEFUL_DOMAINS=localhost |
Still facing same error. This is my .env file you can see.APP_NAME=Laravel LOG_CHANNEL=stack DB_CONNECTION=mysql BROADCAST_DRIVER=log MEMCACHED_HOST=127.0.0.1 REDIS_HOST=127.0.0.1 MAIL_MAILER=smtp AWS_ACCESS_KEY_ID= PUSHER_APP_ID= VITE_PUSHER_APP_KEY="${PUSHER_APP_KEY}" SANCTUM_STATEFUL_DOMAINS=localhost |
Check with this: SANCTUM_STATEFUL_DOMAINS=localhost, 127.0.0.1 |
Still it showing me same issue. |
Please share your code with me I will check. |
I have followed all instructions. but after all configuration. it showing me error CSRF token mismatch when try to register.
The text was updated successfully, but these errors were encountered: