Extension:OATHAuth/de
OATHAuth Freigabestatus: stabil |
|
---|---|
![]() |
|
Einbindung | Benutzerrechte , Spezialseite , Seitenaktivität |
Beschreibung | Ermöglicht 2-Faktor Authentifizierung um sich Anzumelden |
Autor(en) | Ryan Lane |
Letzte Version | Laufende Aktualisierungen |
Kompatibilitätspolitik | Master maintains backwards compatibility. |
MediaWiki | 1.29+ |
Datenbankänderungen | Ja |
Tabellen | oathauth_users |
Lizenz | GPL-2.0-or-later AND GPL-3.0-or-later |
Herunterladen | |
|
|
|
|
Übersetze die OATHAuth-Erweiterung, wenn sie auf translatewiki.net verfügbar ist | |
Probleme | Offene Aufgaben · Einen Fehler melden |
Die OATHAuth Erweiterung ist eine time-based one-time password(TOTP) umsetzung. It provides two-factor authentication via something you have (your phone or desktop client) and something you know (your user name/password). Client support is available for most feature phones, smartphones and desktops (see Client implementations).
Usage
The help page on Two-factor authentication provides information for end users on how to use this extension. However the special page used will also guide users.
Installation
- Die Erweiterung herunterladen und die Datei(en) in ein Verzeichnis namens
OATHAuth
im Ordnerextensions/
ablegen. - Wird von git aus installiert, ist Composer auszuführen, um PHP-Abhängigkeiten zu installieren, indem
composer install --no-dev
im Erweiterungsverzeichnis ausgeführt wird. (Siehe task T173141 für mögliche Komplikationen.) - Folgenden Code am Ende der LocalSettings.php hinzufügen:
wfLoadExtension( 'OATHAuth' );
- Führe das Aktualisierungsskript aus, welches automatisch die notwendigen Datenbanktabellen erstellt, die diese Erweiterung braucht.
- Configure as required.
Erledigt – Zu Special:Version in dem Wiki (bei Einstellung auf deutsch nach Spezial:Version) navigieren, um die erfolgreiche Installierung der Erweiterung zu überprüfen.
Configuration
Parameters
Configuration Flag | Default Value | Description |
---|---|---|
$wgOATHAuthWindowRadius
|
4
|
The number of token windows in each direction that should be valid.
This tells OATH to accept tokens for a range of effectively |
$wgOATHAuthDatabase
|
false
|
The database domain. Only used in a multi-database environment. |
$wgOATHAuthSecret
|
false
|
The base OATHAuth secret for this wiki from which all encryption keys are derived.
If |
$wgOATHAuthAccountPrefix
|
false
|
The prefix used for the OATHAuth user account name and the issuer used for the account.
If |
$wgOATHExclusiveRights
|
[]
|
Set of permissions that are revoked from users who did not log in using two-factor authentication. |
OATHAuth also adds a key to the $wgRateLimits array to define rate limits for authentication attempts:
'badoath' => [
'&can-bypass' => false,
'user' => [ 10, 60 ],
'user-global' => [ 10, 60 ],
]
Note that the user-global
key is available only since 1.35.
Earlier version have to rely on user
and perhaps ip-all
.
See the documentation of $wgRateLimits
for details.
User permission
- Granting access to enable OATHAuth
Users should be given access to the oathauth-enable
user right so that they can enable it at Special:OATHAuth (a link to which appears at Special:Preferences).
$wgGroupPermissions['user']['oathauth-enable'] = true;
The above will grant all registered users access to enable OATHAuth.
Administration
- Resetting a user token
In the event that a user both loses their token generator AND the recovery tokens; two-factor authentication may be removed from the user by deleting their row from the oathauth_users
database table.
Alternatively, a sysadmin with shell access may type on a command line cd /path/to/mediawiki/extensions/OATHAuth/maintenance/
and then execute php disableOATHAuthForUser.php "username"
where "username"
is the user to have 2FA disabled to have it disabled.
See also
- Wikimedia Security Team/Two-factor Authentication for CentralAuth wikis
- Two-factor authentication (TFA)
- Extension:WebAuthn
![]() | Diese Erweiterung wird in einem oder mehreren Wikis von Wikimedia verwendet. Das bedeutet mit hoher Wahrscheinlichkeit, dass die Erweiterung stabil ist und gut genug funktioniert, um auf solch häufig besuchten Webseiten benutzt zu werden. Suche nach dem Erweiterungs-Namen in den Wikimedia CommonSettings.php und den InitialiseSettings.php-Konfigurations-Dateien, um zu nachzusehen, wo es installiert ist. Eine vollständige Liste der installierten Erweiterungen in einem bestimmten Wiki wird auf Special:Version im Wiki generiert und angezeigt. |
- Extensions bundled with MediaWiki 1.31/de
- Stable extensions/de
- User rights extensions/de
- Special page extensions/de
- Page action extensions/de
- Extensions with unknown license/de
- Extensions in Wikimedia version control/de
- AuthChangeFormFields extensions/de
- GetPreferences extensions/de
- LoadExtensionSchemaUpdates extensions/de
- GetUserPermissionsErrors extensions/de
- All extensions/de
- Extensions requiring Composer with git/de
- Extensions used on Wikimedia/de
- Login extensions/de