Closed Bug 1518608 Opened 5 years ago Closed 5 years ago

Treeherder does not recognize FirefoxAccount logins

Categories

(Tree Management :: Treeherder, defect, P1)

defect

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: kang, Assigned: hassan)

Details

See https://discourse.mozilla.org/t/cant-login-to-treeherder-mozilla-org/34905

This is caused by: https://github.com/mozilla/treeherder/blob/b621781f2606000bac3693eb324e8e565728682c/treeherder/auth/backends.py#L72-L81

A Firefox Accounts user_id (sub) starts with oauth2| and contains firefoxaccounts, such as oauth2|firefoxaccounts|1cfec661bd504cd3a5742745549576a1

Note that while this value is not opaque in practice, user ids (sub) are normally considered opaque, which means that it's guaranteed to always contain the data you're looking for. In practice, today, it does always contain it though.

Assignee: nobody → helfi92
Status: NEW → ASSIGNED
Priority: -- → P1
Status: ASSIGNED → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.