Page MenuHomePhabricator

Remove feature to connect SUL account to Striker (read from Bitu instead)
Closed, DuplicatePublic

Description

Currently Striker provides a feature to connect your Wikimedia SUL account (https://toolsadmin.wikimedia.org/profile/settings/accounts/ and https://toolsadmin.wikimedia.org/auth/initiate?next=/profile/settings/accounts/). However since Bitu also provides such feature, and the SUL connection of two services are not synchronized, I propose:

  • Striker should read SUL user info from Bitu, and do not provide feature to connect SUL account by itself
  • After Striker no longer managing its own SUL mapping, existing mappings should also be migrated to Bitu too

See also: T148048: Store Wikimedia unified account name (SUL) in LDAP directory

Event Timeline

Bugreporter renamed this task from Remove feature to connect SUL account to Striker to Remove feature to connect SUL account to Striker (read from Bitu instead).Aug 1 2024, 2:18 PM
Bugreporter added a project: Bitu.

Yes we are in a time of transition, and yes there are some conflicting/competing features. I don't think this proposal is the best way out of that situation however.

A plan that preserves more historic functionality is described at T148048#8802511. If things are done in the way suggested by this task I think the logical outcome would be removing the Developer account creation functionality from Striker entirely. In my mind this would return us to the bad old days™ of needing a wiki page to explain the N different steps needed to create a Developer account and request Toolforge membership that Striker was originally built to replace.

The issue is many users did link LDAP and SUL accounts in Striker (as part of Toolforge management), and having two system of SUL-LDAP mapping just causes confusion.

We can just implement the full registration steps in https://wikitech.wikimedia.org/wiki/Help:Toolforge/Quickstart#If_you_already_have_a_Wikimedia_account_but_no_developer_account in Bitu so users will have the same register experience.

We can even make a shared login between Striker and Bitu, so when user log in to one of these they will also log in to another automatically (cf: https://stackoverflow.com/questions/36279893/how-to-share-session-between-two-django-application).

The issue is many users did link LDAP and SUL accounts in Striker (as part of Toolforge management), and having two system of SUL-LDAP mapping just causes confusion.

This is why I wrote the plan to migrate the storage from Striker's local db to the new LDAP properties that were added by the team working on Bitu

We can just implement the full login steps in https://wikitech.wikimedia.org/wiki/Help:Toolforge/Quickstart#If_you_already_have_a_Wikimedia_account_but_no_developer_account in Bitu so users will have the same register experience.

Sure. Update Bitu to implement an equivalent Developer account creation workflow which leverages OAuth for SUL to inform and simplify the Developer account creation process and then come asking if Striker is ready to cede that workflow to Bitu.

We can even make a shared login between Striker and Bitu, so when user log in to one of these they will also log in to another automatically (cf: https://stackoverflow.com/questions/36279893/how-to-share-session-between-two-django-application).

I can pretty easily assert that direct sharing of sessions between these separate tools will not happen. The path from the same sign-on functionality that we have today to true single sign-on is for Striker to be updated to use the CAS-SSO service provided by idp.wikimedia.org for primary authentication. I have to historically considered this to be blocked on the CAS-SSO service including some 2FA scheme to replace the TOTP tokens currently used by Wikitech, Horizon, and Toolforge via Wikitech's deployment of Extension:OATHAuth. There may be movement on that issue in the relatively near future as part of the work that is being done to disconnect Wikitech from Developer accounts.

SLyngshede-WMF subscribed.

Am I correct that the same feature exists in Phabricator as well? Thus, a user may connect their Wikimedia SUL account to their developer account in three places (Phabricator, Bitu, and Striker), and these three connections are not synchronized. I'm quite sure there are users who connect different accounts in Phabricator, Bitu, or Striker, and therefore, these connections cannot be synchronized at all.

It is better to have one place where Developer accounts can be created, right?

I think it is more ideal if we can centralize the business logic for actually doing the account creation, but having multiple systems capable of activating that logic doesn't cause any problems that I can see. To say this a different way, I believe that what is important is user facing workflows that make sense and reduce toil. Software and software developers can be asked to work harder so that things are easier for the users.

Thus, developer accounts can be created in two places:

Reopen - what I expected is if the user already has a Wikimedia account and create a developer account at https://toolsadmin.wikimedia.org/register/, then the newly created LDAP account and existing SUL account are automatically connected in https://idm.wikimedia.org/. Currently user may not aware we have two system of SUL-LDAP connection and they are not in sync.