List of steps to reproduce (step by step, including full links if applicable):
- Create a bot password using the form in Special:BotPasswords
- Log out from your user account (you probably need to be an anonymous user to be able to log in)
- Get a login token using this API request
- Go to Special:ApiSandbox
- Select the login action in the main section.
- Go to the now available action=login section and fill the following inputs:
- lgname: Username@BotName as provided by Special:BotPasswords
- lgpassword: The password provided by Special:BotPassword
- lgtoken: The token obtained with the previous api query
What happens?:
{"login":{"result":"Failed","reason":"Unable to continue login. Your session most likely timed out."}}
What should have happened instead?:
The result should be successful.