- Issue created by @joachim
- 🇫🇷France Grimreaper France 🇫🇷
From memory it was needed because of the redirect of the login form submission.
Since then ✨ Use user.login.http instead of user.login Active , could be done to improve that.
I'm not sure why in getClient() we have:
'allow_redirects' => TRUE,
and in getJsonApiClient() we don't specify allow_redirects, which means it default to a max of 5.
But they seem to be detrimental to me -- for instance, if basic_auth fails, the server I was using presumably returned redirects to the login form, and that produced a confusing error about the max redirects being reached.
Active
4.0
Code
From memory it was needed because of the redirect of the login form submission.
Since then ✨ Use user.login.http instead of user.login Active , could be done to improve that.