M
M
MakStashkevich2019-10-12 22:37:30
Laravel
MakStashkevich, 2019-10-12 22:37:30

Why do I log in once after Laravel authorization?

Why do I log in once after Laravel authorization? That is, I go through registration / authorization, everything normally redirects to the desired page, and after that if I update it (the page to which I was transferred after successful authorization), then it immediately throws me to log in again, as if it authorizes me once. What to do? I use the built-in authorization system.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
J
JhaoDa, 2019-10-12
@JhaoDa

First, not "authorization", but "authentication".
Secondly, there is a problem with the session:
- there are no rights to write to the session storage,
- session cookie parameters are crooked (not the right domain, for example) and the cookie is rejected by the browser.
Well, or you screwed up somewhere else.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question