Page MenuHomePhabricator

Provide unique ID in identify OAuth response
Closed, InvalidPublic

Description

Currently only information about the user in identify response is username. This is problematic because usernames can be changed (https://en.wikipedia.org/wiki/Wikipedia:Username_policy#Changing_your_username). So it is impossible to track users as they are changing usernames. Can you expose some unique non-changing ID? Probably SQL table has an ID for user row?


Version: unspecified
Severity: normal

Details

Reference
bz69303

Event Timeline

bzimport raised the priority of this task from to Needs Triage.Nov 22 2014, 3:31 AM
bzimport set Reference to bz69303.
bzimport added a subscriber: Unknown Object (MLST).

sub ("subject" in the oidc spec) is the user_id (in single wiki mode) or centralauth gu_id (in multi-wiki mode). I think that's what you want?

Oh, I missed that. Thanks! Sorry for noise.