In SUL3 mode, the local wiki always uses login; signup happens on the central wiki/domain. That means the signup link must point to Special:Userlogin, and the local authentication provider must redirect to Special:CreateAccount instead of Special:Userlogin on the central domain (and the process of redirecting back must still work).
Description
Details
Status | Subtype | Assigned | Task | ||
---|---|---|---|---|---|
Open | None | T345245 Mitigate phase-out of third-party cookies across in Wikimedia production | |||
Open | None | T345249 Mitigate phase-out of third-party cookies in CentralAuth | |||
Open | None | T348388 Use central login wiki for login (SUL3) | |||
Open | None | T362713 Implement the new login process which redirects to the central login wiki for showing the login/signup form | |||
Resolved | DAlangi_WMF | T370813 Support signup mode in SUL3 local login |
Event Timeline
This can be done with a bunch of hooks, but I wonder if there's a nicer way where AuthManager can somehow detect that the site uses a remote identity provider and automatically generates the signup link like that. We do something similar already to hide the signup link when no provider supports it (see the calls to AuthManager::canCreateAccounts() in SkinTemplate) but currently that does not have the concept of providers which cannot create accounts but can autocreate them.
Change #1059886 had a related patch set uploaded (by D3r1ck01; author: Derick Alangi):
[mediawiki/extensions/CentralAuth@master] SUL3: Modify signup link in SUL3 mode to point to shared domain
Change #1059886 abandoned by D3r1ck01:
[mediawiki/extensions/CentralAuth@master] SUL3: Modify signup link in SUL3 mode to point to shared domain
Reason:
Taking a different approach.
Change #1070959 had a related patch set uploaded (by D3r1ck01; author: Derick Alangi):
[mediawiki/extensions/CentralAuth@master] SUL3: Support signup/account creation in SUL3 mode
Change #1070959 merged by jenkins-bot:
[mediawiki/extensions/CentralAuth@master] SUL3: Support signup/account creation action in SUL3 mode
Change #1097354 had a related patch set uploaded (by Gergő Tisza; author: Gergő Tisza):
[mediawiki/extensions/CentralAuth@master] Preserve common parameters during SUL3 signup -> login redirect
Change #1097354 merged by jenkins-bot:
[mediawiki/extensions/CentralAuth@master] Preserve common parameters during SUL3 signup -> login redirect