Jump to content

Topic on Extension talk:Auth remoteuser/Archive 2

Compatibility with API.php

2
NickAU83 (talkcontribs)

This extension works perfectly and does exactly what I need it to do - however I also have a need to use the api to get a token and log in remotely to provide an interface between our central management console and the wiki to create/enable/disable user accounts. I have created a bot account for doing this however when i get to the api log in the response I get is: "Cannot log in when using MediaWiki\Extension\Auth_remoteuser\AuthRemoteuserSessionProvider sessions." Is there a way to stil use api bot access whilst using this extension? My other avenue is to try and use odbc and directly do account management in the database - which I wanted to avoid.

NickAU83 (talkcontribs)

I was able to get this working using a read-only database account to directly query the user table to check if a user exists and then the createAndPromote.php and blockUsers.php maintenance scripts to build an interface function that integrates into our CMC which has the desired effects.

Reply to "Compatibility with API.php"