Page MenuHomePhabricator

phab.wmflabs.org: Unhandled Exception: setConsumerKey() is required!
Closed, ResolvedPublic

Description

Trying to log into https://phab.wmflabs.org using MediaWiki immediately shows Unhandled Exception: setConsumerKey() is required!

Event Timeline

You shoulden't be using mediawiki auth, i added that to work around a issue that was preventing login form from showing. Please use the login form below the mediawiki auth button.

Can we add some CSS to hide the MediaWiki auth?

Nope removing mediawiki auth will fix it, but will also prevent showing the other login form.

Nope removing mediawiki auth will fix it, but will also prevent showing the other login form.

I dont understand. I proposed a workaround, and you have replied with something that will break it more.

Is there a task to fix it properly? Is there someone willing and able and planning to fix it in the short term?
If not, can we work around it temporarily with CSS?

We carn't work around this with css as it will break prod. The labs instance uses the same phab repo as prod. This issue is know and is being worked on by @mmodell . But as it's the holiday's it wont be merged or worked on until after the holidays.

The labs instance uses the same phab repo as prod.

@Paladox: Then why does the Labs instance shows a box called "Log In" with two fields "Username or Email" and "Password", while production does not?
Where exactly (URL?) to find that configuration difference?

@Aklapper im running @mmodell patch here D898 but it hasn't been merged so i have to keep applying it everytime i deploy phab (if it was updated branch wise).

I have mediawiki auth enabled just in case i forgot to re deploy it after updating it.

@Paladox: I don't understand. D898 is about missing Elasticsearch indeces. How is that exactly related to displaying the "Log in" dialog?

Oh sorry wrong patch. I meant this one D938

taavi subscribed.

This seems to have been fixed at some point.