Hello,
I've been trying to have my user remotely sign-in through my
laravel/react site, but I've been reaching a dead-end.
After reading this post from 2017 : https://laracasts.com/discuss/channels/general-discussion/single-sign-on-mechanism-for-laravel-and-mediawiki?page=0
I've followed the step for method 2 from: https://www.mediawiki.org/wiki/API:Login
I've request a login token with the api with a "GET" call of "/api.php?action=query&format=json&meta=tokens&type=login"
and received for example:
"97b2edb716fa7b13f2955c79e7f8f0205ceda2c6+\\"
Then I "POST" the result with the formData provided: (I am 100%
sure those credentials are valid as I can use them to login)
The response that I get back is:
What
am I missing to correctly remote login a user?
Any help would be appreciated.
Daniel