openid nickname changes aren't handled

Bug #642132 reported by Michael Hall
102
This bug affects 16 people
Affects Status Importance Assigned to Milestone
LoCo Team Portal
Fix Released
High
Michael Hall
Summit
Fix Released
High
Michael Hall
django-openid-auth
Fix Released
Undecided
Michael Hall

Bug Description

When a user changes their nickname in Launchpad for example, their Django username doesn't get updated.

Related branches

Revision history for this message
James Henstridge (jamesh) wrote :

We currently don't make any attempt to change django nicknames. I'm not even sure whether Django expects nicknames to be editable.

Revision history for this message
Michael Hall (mhall119) wrote :

Django shouldn't care, any connection between the User table and any other will be based on the id field, not the username field.

Revision history for this message
Anthony Lenton (elachuni) wrote :

I believe if you set OPENID_UPDATE_DETAILS_FROM_SREG to True in your settings.py django-openid-auth will try to keep your details in sync with the provided sreg data.
We're not currently using this feature so I don't know if it works (I'd expect it to do some error handling if the new username collides with an existing one, for instance), but the code to do so seems to be there.

Revision history for this message
James Henstridge (jamesh) wrote :

What I was getting at w.r.t. nicknames is that many web apps treat the nickname as a persistent identifier. Launchpad's ability to change usernames at will is quite uncommon.

Now, I agree that this feature would be useful, but I think it would be worth enabling it with a second setting.

Michael Hall (mhall119)
Changed in django-openid-auth:
assignee: nobody → Michael Hall (mhall119)
status: New → Confirmed
Changed in summit:
status: New → Confirmed
Changed in loco-directory:
status: New → Confirmed
Michael Hall (mhall119)
Changed in django-openid-auth:
status: Confirmed → Fix Committed
Changed in summit:
status: Confirmed → In Progress
Changed in loco-directory:
status: Confirmed → In Progress
Changed in summit:
assignee: nobody → Michael Hall (mhall119)
Changed in loco-directory:
assignee: nobody → Michael Hall (mhall119)
Changed in loco-directory:
status: In Progress → Fix Committed
milestone: none → 0.3.7
Changed in loco-directory:
status: Fix Committed → Fix Released
Changed in summit:
status: In Progress → Fix Released
Changed in loco-directory:
importance: Undecided → High
Changed in summit:
importance: Undecided → High
Changed in django-openid-auth:
status: Fix Committed → Fix Released
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.