The basic idea is the following:
- The user opens the login page of a MediaWiki wiki
- The user types in their username and clicks on the "login" button (no password typed in)
- MediaWiki asks the user to confirm the login by pressing a specific number on their registered smartphone
- The user confirms the login by selecting the shown number
- The user get's logged in without any further step
The idea is basically "borrowed" from Google's login, which allows you to configure a passwordless login, too (using the above mechanism). The techniques involved here would be:
- php (for a backend side MediaWiki extension)
- a bit of JavaScript (for the user-facing interaction when the login was confirmed)
- an Android app (don't have a Mac or an iPhone, and would prefer to develop for an android device :P), for the interaction on the registered phone
- probably Firebase Cloud Messaging (FCM), for the communication between the MediaWiki backend and the phone to actually ask for login confirmation
This is kind of a proof of concept task, so I don't expect anything, so anything which is achieved is awesome, to find out how this culd work :D