OpenID user names on the Moin wikis are URLs, which have invalid characters for Moin

Bug #267647 reported by Mary Gardiner
4
Affects Status Importance Assigned to Milestone
Canonical SSO provider
Invalid
Undecided
Unassigned
Moin OpenID module
New
Undecided
Unassigned

Bug Description

Summary: I have logged into https://help.ubuntu.com/community using Launchpad OpenID, and Moin thinks my username is "https://login.launchpad.net/+id/yWeshzt". Moin will then not let me set my user preferences due to having a username it doesn't like.

This bug is related to but not the same as bug 253039. It's not the same because I do not have a + character anywhere in my Launchpad settings (my Display Name is "Mary Gardiner" and my Name "hypatia"). The + character is an integral part of my OpenID URL over which I have no control.

Steps to reproduce:

1. Go to https://help.ubuntu.com/community/UserPreferences?action=login to log into the help wiki.

2. I am redirected to https://login.launchpad.net/+openid and I press "Sign In"

3. I am sent back to the help wiki and in the top right I have the message "Logged in as https://login.launchpad.net/+id/yWeshzt"

4. I go to https://help.ubuntu.com/community/UserPreferences and try to change a setting ("Preferred theme" to "ubuntunew") and press "Save"

5. I get an error "Invalid user name 'https://login.launchpad.net/+id/yWeshzt'. Name may contain any Unicode alpha numeric character, with optional one space between words. Group page name is not allowed."

Tags: openid
Revision history for this message
Andrew Bennetts (spiv) wrote :

A quick look at <https://help.ubuntu.com/community/RecentChanges> suggests this is happening to a significant fraction of wiki users.

Revision history for this message
Francis J. Lacoste (flacoste) wrote :

I think that is a Moin or maybe Launchpad configuration, since we don't have this problem on the Canonical or Launchpad wiki which also uses OpenID.

Changed in launchpad-foundations:
importance: Undecided → High
status: New → Triaged
milestone: none → 2.1.9
Revision history for this message
Francis J. Lacoste (flacoste) wrote :

After chasing this with IS, it seems not to be a configuration issue. All Moin instances are configured identically.

What is weird is that it works fine for me on launchpad.canonical.com, help.ubuntu.com (I'm shown as logged in as flacoste in both cases), but not on wiki.ubuntu.com (I'm shown as logged in as my OPenID identifier). In the case of elmo, he's shown logged correctly in all instances.

There is an hypothesis that this might only happen to new users (those who never logged on the wiki before)... (I don't recall ever logging in on help.ubuntu.com, but that may be wrong).

We need to investigate the Moin OpenID integration code.

Revision history for this message
Mary Gardiner (puzzlement) wrote :

Further information on my part: yesterday was indeed the first time I'd logged into the help.ubuntu.com/community wiki. However, if I log into wiki.ubuntu.com, where I've had an account as "MaryGardiner" since 2004 (and which is even configured in my launchpad settings...) I am still logged in as https://login.launchpad.net/+id/yWeshzt

Revision history for this message
Mary Gardiner (puzzlement) wrote :

A note on wiki.ubuntu.com though: I certainly don't log into it regularly any more, I perhaps haven't even logged in since it authenticated against Launchpad, and certainly haven't since it used OpenID. So perhaps for these purposes I am a new user there too.

Changed in launchpad-foundations:
milestone: 2.1.9 → none
milestone: none → 2.1.10
Revision history for this message
Francis J. Lacoste (flacoste) wrote :

Is this still happening?

Changed in launchpad-foundations:
milestone: 2.1.10 → none
Revision history for this message
Mary Gardiner (puzzlement) wrote : Re: [Bug 267647] Re: OpenID user names on the Moin wikis are URLs, which have invalid characters for Moin

It's not still happening to me, I get logged in as "hypatia" to both wikis. Was the cause ever identified though? This seems like something where a regression would go unnoticed for a while, since it was occuring for new users.

Revision history for this message
Francis J. Lacoste (flacoste) wrote :

I think this is a bug in the underlying Moin code, as it should use the LP nickname, not the URL.

Changed in launchpad-foundations:
importance: High → Undecided
status: Triaged → Confirmed
status: Confirmed → Invalid
affects: canonical-bis-openid → moin-openid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.