419 Page Expired while login or registering on laravel 7 - laravel

I keep on getting this error after submitting my login details. This error comes out during the login and registration process. My csrf token is intact in each form. The same application works well locally but when hosted online it doesn't. What could be the problem??
permission on storage and bootstrap is 775

Related

Getting 419 page expired error while logging in laravel app

I am trying to login in my laravel app on live server on local it works fine. but on live server it give 419 page expired error. I tried previouse questions answer on Stackoverflow but nothing working.
I tried to find if there is any file which is not starting from <?php
Also I made sure that #csrf token is passed from login form.
It was working fine suddenly start giving this error
this is because you use "HTTP" protocol.use "HTTPS" instead it it should be fine.

Heroku account failed to login from browser, no error only refresh

I have a heroku account. when i tried to login from browser it fails to login, only refresh the page and no error message. i try to change password but still get the same issue. login via CLI also failed with no error message but only open browser and refresh it.
update information.
I tried to login using another account and it works. but my account still failed to login.

Deploy Laravel with Sanctum into Heroku - CSRF token mismatch

I developed a Laravel+Vue with Sanctum and deployed. On localhost works fine, I can login with my Vue form or with Laravel UI. In Heroku I get a CSRF Token mismatch error if I try to login with my Vue form; if I login with Laravel UI I get a 419 error page.
What I can note is that on my Heroku's app I haven't got any XSRF_TOKEN in my cookies, but in my localhost I have. I tried changing session driver from file to database driver as I read that in Heroku file driver doesn't work fine because of its storage system, with the same results (CSRF Token mismatch and not XSRF-TOKEN).
I also tried with http and https.
app/Http/Kernel.php in protected $middlewareGroups
// \App\Http\Middleware\VerifyCsrfToken::class,

How to fix laravel 5 session expiring after refresh or going on another page?

I'm using laravel Auth. When I login into my website all works great. When I try to refresh or go to another page (still using Auth middleware) my session is expired, I'm directly logged-out and I must login again. How can I fix this so I remain logged in when refreshing the page or browsing to another?

Symfony2 session lost after posting login form to login_check

Hi I have a static website running at localhost:8080/site. Here I display a login form. The form's action is project:8888/app_dev.php/login_check
My Symfony application, running at project:8888/app_dev.php/ also has it's own login form with the same action, at project:8888/app_dev.php/login
When I login using the login form in my Symfony application all works fine.
When I submit the login form on the static website, I get the following security error:
Your session has timed out, or you have disabled cookies
I assume this is a security matter, which makes it impossible to post login credentials from another domain? Is there a way to work around? Thanks in advance.

Resources