On Wed, May 29, 2019 at 2:11 AM Valerio Bozzolan boz+wiki@reyboz.it wrote:
AFAIK the parameters for the action 'clientlogin' are 'lgname' and 'lgpassword' and not 'username' and 'password'.
You are confusing action=clientlogin with the older action=login.
On Tue, May 28, 2019 at 5:35 PM Daniel Edery dedery@magnatech.com wrote:
The response that I get back is:
{"warnings":{"main":{"*": "Unrecognized parameters: username, password."}} [...]
What am I missing to correctly remote login a user?
It seems that your wiki is not configured for the normal password-based login. What do you get if you request api.php?action=query&meta=authmanagerinfo&amirequestsfor=login on your wiki?
P.S. Please wrap your long lines, or at least don't embed them in a <div> styled with white-space: nowrap.