T362706: Permit displaying the login / signup page in a popup or iframe adds the ability to do the login / signup flow inside a popup window. One use case for this is logging in via a remote identity provider (another wiki, or something else entirely like Google or Facebook). In such a setup, clicking on the Login or Signup link should open a popup (on desktop; maybe not on mobile). It's not obvious though what "in such a setup" should mean, exactly. A configuration setting? A hook entry point for extensions? (Maybe one that already exists - could SkinTemplateNavigation::Universal be used for this?) AuthManager detecting that the only primary provider is a remote one?
Description
| Status | Subtype | Assigned | Task | ||
|---|---|---|---|---|---|
| Open | None | T345245 Mitigate phase-out of third-party cookies in Wikimedia production | |||
| Resolved | Tgr | T345249 Mitigate phase-out of third-party cookies in CentralAuth | |||
| Resolved | OWresch-WMF | T348388 SUL3: Use a dedicated domain for login and account creation | |||
| Resolved | None | T364941 Decide on the login flow in MediaWiki under SUL3 | |||
| Resolved | matmarex | T364939 Provide a JavaScript library for logging in / signing up to MediaWiki via a popup | |||
| Resolved | matmarex | T362706 Permit displaying the login / signup page in a popup or iframe | |||
| Resolved | matmarex | T366486 Compare experimental login types on the beta cluster | |||
| Resolved | matmarex | T366508 Compare our login popup to other sites | |||
| Resolved | JTweed-WMF | T367911 Explore full-page navigation as the default login flow in MediaWiki under SUL3 | |||
| Resolved | • larissagaulia | T367912 Explore a popup window as the default login flow in MediaWiki under SUL3 | |||
| Resolved | Tgr | T367913 Explore an iframe overlay as the default login flow in MediaWiki under SUL3 |
Event Timeline
It's not obvious though what "in such a setup" should mean, exactly. A configuration setting? A hook entry point for extensions? AuthManager detecting that the only primary provider is a remote one?
It's not obvious to me either. I suggest we don't overthink it and just add a config setting, defaulting to being turned off. If we get a better feel for this in the future, we can change that to a dynamic default.
Change #1032585 had a related patch set uploaded (by Bartosz Dziewoński; author: Bartosz Dziewoński):
[mediawiki/core@master] [WIP] Allow using popup for the normal login link
From what I can tell, the patch to implement this has been reverted. It's not something that we want to do right now, having gone for redirects rather than a popup, so I think it can be closed.