Answer the question
In order to leave comments, you need to log in
The "new" authorization does not work in the tests, who faced it?
In the fifth version, the method was delivered
$this->client->loginUser($user);
. As I understand it, it authorizes through cookies / session.
Amazing. But I don't have sessions.
Authorization by token through headers
HTTP_AUTHORIZATION' Bearer token
It turns out that $this->client->loginUser is generally useless?
And you need to generate a token and shove it into this client ...
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question