Page MenuHomePhabricator

Phabricator asks to log in but does not show SUL dialog, and traps the user (starting on www.mediawiki.org and ending on m.mediawiki.org?)
Open, Stalled, LowPublic

Description

I go to a page in Phabricator.

Expected result:

The site is USER-FRIENDLY. I am logged in, thanks to cookies — I edited Wikipedia yesterday. Phabricator does not ask me to log in. If Phab does ask me to log in, then logging in is simple, it can be done on this asking page, without trap, and it works.

Observed result:

Phabricator asks me to log in. I follow this. I get the page for Log in. First, there is a big Login form. But this is a trap. If I try this one, this will not work. Secondly, there is a small image "Login or Register" "MediaWiki". I have to choose this last one — I am supposed to guess this. I click this image. I land on a page that asks for my nickname and my password. I start entering them. But suddenly I am interrupted and the keyboard goes away, the page gets reloaded! I try again... But this is impossible, the page gets reloaded again and again and again... The site is mad! I am trapped in an infinite loop. I try to stop the reloadings, but this is difficult. After some fight, I succeed to stop the reloadings, I don't know exactly how. Now, I enter my nickname and my password and I try to log in. I get a result page that gives me an error in red: some error about security that says that if I am sure then I have to go back and to reload the page and to log in again... I AM SURE THAT I WANT TO LOG IN. So I try that. But it fails. Beware of the reloadings... After some fight, I succeed over this log in barrrier, I don't know exactly how. But the story is not finished. I land on a page that asks me to authorize something or not. I click Authorize. Then I get an error page saying that "no current session..." or whatever. This page is a dead end. Then I think that I go back a few times... Maybe I reload the Phab page. And I am logged in Phabricator! Victory!

It would be very nice to improve and to correct that.

I suggest these to Wikimedia:

  1. Design and develop USER-FRIENDLY and SIMPLE processes and software.
  2. TEST your processes and software.
  3. Ask people in the street to do things with your processes and software and OBSERVE them.

Thank you.

I have Safari on an iPhone on iOS 9.0.2.

Nnemo

Event Timeline

First, there is a big Login form. But this is a trap. If I try this one, this will not work.

It works for me with the correct credentials (LDAP, not SUL). Fixing T116142: Phabricator login page does not show Welcome text / "Click button below" text anymore would be good to make this clear to users though.

As for the rest of this post, clearly something went very wrong, because this is not the usual login process at all (for all devices that I have tried, nothing iOS-based), none of your suggestions are useful in this case.

I am supposed to guess this.

That is a regression - see T116142 where it's covered.

I land on a page that asks for my nickname and my password.

I cannot reproduce this problem when being logged in via a mediawiki.org / wikipedia.org SUL account. Can you please provide a screenshot of that page?

Aklapper renamed this task from Phabricator asks to log in unnecessarily, complicately, with traps, and madly to Phabricator asks to log in but does not show SUL dialog.Apr 5 2016, 8:13 PM
Nnemo unsubscribed.
Nnemo subscribed.
Nnemo renamed this task from Phabricator asks to log in but does not show SUL dialog to Phabricator asks to log in but does not show SUL dialog, and traps the user.Apr 9 2016, 7:42 PM
Nnemo updated the task description. (Show Details)

About the dead end, here is a screen photo:

Screen photo. Error. Dead end.

I land on a page that asks for my nickname and my password.

I cannot reproduce this problem when being logged in via a mediawiki.org / wikipedia.org SUL account. Can you please provide a screenshot of that page?

I repro the madness, here is a screen photo of that page:

Screen photo of mad page.

About the dead end, here is a screen photo:

Screen photo. Error. Dead end.

I can reproduce this using Safari on iOS 9.2.1 with Safari set to run in incognito mode. (Not sure if incognito is important for this or not.)

  • Phabricator redirects to www.mediawiki.org to get OAuth approval.
  • I'm not logged into my SUL account so I land on the login page for www.mediawiki.org (not m.mediawiki.org).
  • After entering my user/password I see the redirect to login.wikimedia.org happen followed by a redirect to m.mediawiki.org (not www.mediawiki.org where I entered my auth credentials).
  • m.mediawiki.org shows the page from the screenshot, but I can tell from the site chrome that I actually am properly authenticated with my SUL account.
  • At this point if I back up to phabricator and start over things work as expected:
    • I'm redirected to www.mediawiki.org for the OAuth grant dialog (which is styled horribly on mobile by the desktop skin but that's a different problem).
    • I click "Allow" and redirect back to phabricator
    • Phabricator drops me on the external account registration screen (testing with a different account than the one I have associated with my LDAP phab account).

Part of the problem here is likely due to starting on www.mediawiki..org and then ending on m.mediawiki.org after the handshake with login.wikimedia.org. I'm not sure if this is new behavior that SessionManager introduced or if that's the way that things have always worked. I've always authenticated with phabricator using my LDAP credentials from my phone in the past.

Aklapper renamed this task from Phabricator asks to log in but does not show SUL dialog, and traps the user to Phabricator asks to log in but does not show SUL dialog (starting on www.mediawiki.org and ending on m.mediawiki.org?).Apr 10 2016, 1:51 PM
Nnemo renamed this task from Phabricator asks to log in but does not show SUL dialog (starting on www.mediawiki.org and ending on m.mediawiki.org?) to Phabricator asks to log in but does not show SUL dialog, and traps the user (starting on www.mediawiki.org and ending on m.mediawiki.org?).Apr 11 2016, 1:43 PM

This issue is about the scenario of the description. Not showing a SUL dialog may be a part of the issue, or an explanation...

About the dead end, here is a screen photo:

Screen photo. Error. Dead end.

I can reproduce this using Safari on iOS 9.2.1 with Safari set to run in incognito mode. (Not sure if incognito is important for this or not.)

Thank you. In Safari I was not in incognito mode.

I can reproduce this using Safari on iOS 9.2.1 with Safari set to run in incognito mode. (Not sure if incognito is important for this or not.)

Eight years later, I'm curious if this is still an issue on a more recent system. Guess I need to find someone with devices™ at a Hackathon or such. :P

Aklapper changed the task status from Open to Stalled.May 27 2024, 5:38 PM
Aklapper added a project: TestMe.

Can anyone still reproduce? If so, which versions are involved? Thanks in advance.