Help:Two-factor authentication: Difference between revisions

Content deleted Content added
add more help venues
 
(373 intermediate revisions by 93 users not shown)
Line 1:
{{seealso|:meta:Help:Two-factor authentication}}
{{shortcut|WP:S2FA}}
{{Infopage|H:2FA|WP:2FA}}
{{nutshell|Administrators and editors with advanced permissions should ideally enable two-factor authentication for account security, and can do so by following this guide.}}
{{warning|'''Particular attention''' should be paid to the section of this guide on [[#Recovery codes|recovery codes]] — if you don't keep these codes and encounter a problem with your 2FA device, you will be locked out of your account.}}
[[File:Différents modèles de lecteurs de cartes bancaires.jpg|thumb|240px|2FA is like a software version of the [[security token]] devices used for online banking in some countries.]]
'''[[Multi-factor authentication|Two-factor authentication]]''' ('''2FA''') is a method of adding additional security to your account. The first "factor" is your usual password that is standard for any account. The second "factor" is a verification code retrieved from an app on a mobile device or computer. 2FA is conceptually similar to a [[security token]] device that banks in some countries require for [[online banking]]. Other names for 2FA systems include ''OTP'' (''[[one-time password]]'') and ''TOTP'' (''[[Time-based One-time Password algorithm]]'').
 
This guide explains how to enable and disable 2FA on Wikipedia for your account. This guide is about the TOTP method, see notes about WebAuthn below.
{{essay}}
{{nutshell|Administrators should ideally have enabled two-factor authentication, and can do so by following this guide}}
 
If you decide to enable 2FA, you may want to enable the option "Send password reset emails only when both email address and username are provided" in the first tab of [[Special:Preferences]].
== What is 2FA? ==
{{seealso|Two-factor authentication}}
[[File:Différents modèles de lecteurs de cartes bancaires.jpg|thumb|240px|2FA is a little bit like using one of these. Since the [[Wikimedia Foundation]] isn't going to mail a keycode device to all the [[WP:ADMIN|Administrators]], we'll need to improvise a bit.]]
2FA, or ''two-factor authentication'' is a way of adding additional security on your account. The first "factor" is your usual password that is standard for any account, the second is a code retrieved from an external device such as a smartphone, or a program on your computer. It is conceptually similar to a keycode device you may have to use when logging into [[internet banking]].
 
== Securing your account ==
The technical name for this is "[[Time-based One-time Password Algorithm]]", but as its acronym is the same as a [[TOTP|popular music show]] featuring [[Jimmy Savile]], we won't be using that here.
{{seealso|Wikipedia:User account security}}
[[File:Basic information in Wikipedia preferences.png|thumb|[[H:P|Preferences]] with button to enable 2FA]]
It is '''extremely important''' for administrators and editors with advanced permissions to keep their account secure. A number of Wikipedia administrators (including the co-founder, {{u|Jimbo Wales}}) have had their accounts compromised, which were then used to vandalise the encyclopedia. As well as causing widespread disruption, the affected administrators' accounts were locked until it was beyond doubt they had regained control.
 
Any editor can improve their [[Wikipedia:User account security|account security]] by using 2FA. This practice is recommended for editors with advanced permissions, highly recommended for administrators, and required for interface administrators, among others.
== Why on earth do I need this? ==
{{main article|Help:Two-factor_authentication#Accounts_affected}}
On the English Wikipedia, the following groups can use 2FA:
* [[Wikipedia:Bureaucrats|Bureaucrats]]
* [[Wikipedia:Administrators|Administrators]]
* [[Wikipedia:Checkuser|Checkusers]]
* [[Wikipedia:Oversight|Oversighters]]
* [[Wikipedia:Edit Filter|Edit Filter Managers]]
 
Before enabling 2FA, please ensure that you have a [[Password strength|strong password]] that is exclusively used for Wikipedia. Consider using a [[password manager]] to generate strong, unique passwords for each of your online accounts.
You'll already know if you're in one of these groups, as you'll have asked for access. If you don't recognise any of these terms, you probably can't use 2FA. Note that users with sysop rights on other projects, including test wikis hosted by Wikimedia, can also enable 2FA from those projects.
 
== Accessing 2FA ==
It is '''really important''' for users with advanced rights to keep their account secure. In November 2016, a number of Wikipedia administrators (including the founder, {{u|Jimbo Wales}}) had their accounts compromised, which were then used to vandalise the encyclopedia. As well as causing widespread disruption, the affected administrators' accounts were locked so they couldn't do anything until it was beyond doubt they had regained control.
{{main article|m:Help:Two-factor authentication#Accounts affected}}
{{shortcut|H:ACCESS2FA}}
On the English Wikipedia, the following groups automatically have access to 2FA:
 
* [[Wikipedia:Administrators|Administrators]]<ref>Additionally, [[Wikipedia:Bureaucrats|bureaucrats]], [[Wikipedia:CheckUser|checkusers]], [[Wikipedia:Interface administrators|interface administrators]], and [[Wikipedia:Oversight|oversighters]] have access, but these groups normally only include administrators.</ref>
== How to enable [[WP:2FA|2FA]], the simple way (smartphone)==
* [[Wikipedia:Edit filter|Edit filter managers]]
{{Gallery
* [[Wikipedia:Page mover|Page movers]]
|width=160 | height=170
* [[Wikipedia:Template editor|Template editors]]
|align=right
 
|File:Wikipedia mobile en.svg
If you are not in one of these groups, you need to submit a request at [[:m:Steward requests/Global permissions#Requests for 2 Factor Auth tester permissions]] to obtain access to 2FA (see [[m:Steward requests/Global permissions/2022-12#Requests_for_2_Factor_Auth_tester_permissions|request examples]]), explicitly mentioning that you have read [[meta:Help:Two-factor authentication|Help:Two-factor authentication on Meta]] (which is '''not''' the page you're reading now). Most users need to request access before they can use 2FA.
|This is what a typical [[QR code]] looks like.
 
|File:Scanning QR codes on business cards.jpg
Users with advanced rights on other projects, including test wikis hosted by Wikimedia, can also enable 2FA from those projects.
|To scan a QR code, put your phone next to the code as if you're going to take a picture of it.
 
=== Checking whether 2FA is enabled ===
To determine whether your account has 2FA enabled, go to [[Special:Preferences]]. Under "{{int:Prefs-personal}}", check the entry for "Two-factor authentication", which should be between "Global account" and "Global preferences":
 
* If the entry says "TOTP (one-time token)", 2FA is currently enabled on your account.
* If the entry says "None enabled", 2FA is currently disabled on your account.
* If there is no entry for "Two-factor authentication", your account currently doesn't have access to 2FA, and you'll need to request access at [[:m:Steward requests/Global permissions#Requests for 2 Factor Auth tester permissions]] before you can enable 2FA.
 
== Enabling 2FA on smartphones and tablet computers ==
{{shortcut|H:ENABLE2FA|H:2FAPHONE|H:2FATABLET}}
[[File:Scanning QR codes on business cards.jpg|thumb|Scanning a [[QR code]] with a smartphone's camera]]
[[File:Aegis Authenticator 3.2 screenshot.png|thumb|Aegis app]]
If you have a [[smartphone]] or [[tablet computer]] with [[Android (operating system)|Android]] or [[iOS]], a mobile app is the most secure and the easiest way to use 2FA. If you don't have a mobile device or if you want to use a [[Microsoft Windows|Windows]] tablet, see "{{pslink|Enabling 2FA on desktop and laptop computers}}".
 
# Download a 2FA app onto your mobile device. Some options include:
#* '''[https://github.com/beemdevelopment/Aegis Aegis]''' (Android): [[free and open-source]]
#** Android: Download from [https://play.google.com/store/apps/details?id=com.beemdevelopment.aegis Google Play] or [https://f-droid.org/en/packages/com.beemdevelopment.aegis/ F-Droid]
#* '''[https://support.apple.com/en-us/guide/iphone/ipha6173c19f/ios Apple Passwords]''' (iOS)
#* '''[https://github.com/andOTP/andOTP AndOTP]''' (Android): free and open-source (development discontinued<ref>{{cite web |author=((flocke000)) |title=[Unmaintained][App][4.4+][Open source] andOTP - Open source two-factor authentication for Android |url=https://forum.xda-developers.com/t/unmaintained-app-4-4-open-source-andotp-open-source-two-factor-authentication-for-android.3636993/post-87021655 |website=forum.xda-developers.com |access-date=2022-11-09 |date=2022-06-14}}</ref>)
#** Android: Download from [https://play.google.com/store/apps/details?id=org.shadowice.flocke.andotp Google Play]
#* '''[https://mattrubin.me/authenticator/ Authenticator]''' (iOS): free and open-source
#** iOS: Download from the [https://apps.apple.com/us/app/authenticator/id766157276 App Store]
#*[https://ente.io/auth/ '''Ente Auth'''] (Android, iOS): free and open source. Allows viewing (but not adding) 2FA details on web/PC.
#* '''[[FreeOTP]]''' (Android, iOS): free and open-source
#** Android: Download from [https://play.google.com/store/apps/details?id=org.fedorahosted.freeotp Google Play] or [https://f-droid.org/packages/org.fedorahosted.freeotp/index.html.en F-Droid]
#** iOS: Download from the [https://apps.apple.com/us/app/freeotp-authenticator/id872559395 App Store]
#*'''[[Google Authenticator]]'''
#**Android: Download from [https://play.google.com/store/apps/details?id=com.google.android.apps.authenticator2 Google Play]
#**iOS: Download from the [https://apps.apple.com/us/app/google-authenticator/id388497605 App Store]
#*'''Microsoft Authenticator'''
#**Android: Download from [https://play.google.com/store/apps/details?id=com.azure.authenticator&hl=en_IN&gl=US Google Play]
#**iOS: Download from the [https://apps.apple.com/us/app/microsoft-authenticator/id983156458 App Store]
#*'''Numberstation'''
#**True Linux on mobile (Mobian, Ubuntu Touch, and [[Mobile operating system#Fully open-source, mixed copyleft and permissive licenses| similar OSes]], but ''not'' Android): Install through your [[package manager]], either in the command terminal, or via [[AppStream]] (if you have it installed) with the button [https://linuxphoneapps.org/apps/org.postmarketos.numberstation/ here].
# Go to [[Special:Manage Two-factor authentication]]. Click "Enable" next to "TOTP (one-time token)", and log in with your username and password.
# The recommended authentication method is to scan a [[QR code]] in the app. In "Step 2" of the setup page, there is a box with a pattern which you have to point your device's camera toward. (Your device might ask you for permission to use the camera first.)
#* If you can't scan the QR code, you can enter the "Two-factor authentication secret key" from "Step 2" of the setup page into the app, which gives you the same result.
# Go back to the 2FA enrollment page. '''Write down the [[#recovery codes|recovery codes]] from "Step 3" and keep them in a secure ___location.'''
# Type the 6-digit verification code from your app into the 2FA enrollment page under "Step 4".
 
That's it, you're all set up. '''Now, read "{{pslink|Recovery codes}}".'''
 
== Enabling 2FA on desktop and laptop computers ==
{{shortcut|H:2FAPC}}
You can use apps like WinAuth, Authenticator, and KeeWeb to handle 2FA tokens on many computers. This is the recommended way to use 2FA if you don't have a smartphone or tablet computer. Certain laptops (like Chromebooks) may need to use the "[[Help:Two-factor_authentication#Enabling_2FA_on_smartphones_and_tablet_computers|tablet]]" section above.
 
If you currently use a [[password manager]], check whether it supports 2FA. (Your password manager may also refer to 2FA as ''[[One-time password|OTP]]'' or ''[[Time-based One-time Password algorithm|TOTP]]''.) Using your current password manager for 2FA is easier than setting up a new 2FA app.
 
''Note:'' If you normally edit with your desktop computer, using a desktop 2FA app is slightly less secure than [[#Enabling 2FA on smartphones and tablet computers|using a mobile 2FA app]], as someone with access to both your computer and your password would still be able to log in to your account.
 
=== WinAuth (Windows) ===
[[File:WinAuth 3 screenshot.png|thumb|WinAuth 2FA app]]
[https://winauth.github.io/winauth/index.html WinAuth] is the recommended 2FA app for [[Microsoft Windows|Windows]] users. It is free and open-source.
# Download [https://winauth.github.io/winauth/index.html WinAuth] onto your Windows PC.
# Go to [[Special:Manage Two-factor authentication]]. Click "Enable" next to "TOTP (one-time token)", and log in with your username and password.
# Click the "Add" button at the bottom-left of Authenticator. Select "Authenticator".
# Type "Wikipedia" and your account name (e.g. "Wikipedia – Example") into the "Name" field.
# Copy the "Two-factor authentication secret key" from "Step 2" of the setup page and paste it into the "Secret Code" field.
# Leave the next option set to "Time-based".
# Click "Verify authenticator" and then click "OK".
# Optionally set a password for WinAuth. Click "OK".
# Go back to the 2FA enrollment page. '''Write down the [[#Recovery codes|recovery codes]] from "Step 3" and keep them in a secure ___location.'''
# Type the 6-digit verification code from WinAuth into the 2FA enrollment page under "Step 4". (Click the refresh button in WinAuth to generate another code.)
 
That's it, you're all set up. '''Now, read "{{pslink|Recovery codes}}".'''
 
=== Authenticator (Linux) ===
[[File:Authenticator (Linux).png|thumb|Authenticator 2FA app]]
[https://gitlab.gnome.org/World/Authenticator Authenticator] is the recommended 2FA app for [[Linux]] users. It is free and open-source.
# Download [https://gitlab.gnome.org/World/Authenticator Authenticator] onto your Linux computer. (Authenticator requires [[Flatpak]], which is available on all Linux distributions, including [https://flatpak.org/setup/Ubuntu/ Ubuntu].)
# Go to [[Special:Manage Two-factor authentication]]. Click "Enable", and log in with your username and password.
# Click the {{key top|+}} button at the top-left of Authenticator.
# Add the secret 2FA key to Authenticator using either one of these methods:
#* Use Authenticator to take a screenshot of the [[QR code]]:
#*# Click the QR code button at the top-right of Authenticator.
#*# Position your [[Pointer (user interface)|pointer]] before the top-left corner of the QR code from "Step 2" of the 2FA setup page.
#*# Hold down the mouse button, move the pointer to after the bottom-right of the QR code, and then release the mouse button. The form in Authenticator should be automatically filled in.
#* Manually enter the secret key:
#*# Type "Wikipedia" into the "Provider" field, and your account name into the "Account Name" field.
#*# Copy the "Two-factor authentication secret key" from "Step 2" of the setup page and paste it into the "2FA Token" field.
# Click "Add" at the top-right of Authenticator.
# Go back to the 2FA enrollment page. '''Write down the [[#Recovery codes|recovery codes]] from "Step 3" and keep them in a secure ___location.'''
# Type the 6-digit verification code from Authenticator into the 2FA enrollment page under "Step 4".
# Click "Submit".
 
That's it, you're all set up. '''Now, read "{{pslink|Recovery codes}}".'''
 
=== KeeWeb (Windows, macOS, Linux, online) ===
[[File:Enabling 2FA on Wikipedia with KeeWeb.webm|thumb|Enabling 2FA with KeeWeb]]
[https://keeweb.info/ KeeWeb] is a free and open-source [[password manager]] that also handles 2FA. The app can be downloaded to your computer or used online without installation. KeeWeb refers to 2FA as ''[[one-time password]]s'' (''OTP'').
 
# Download [https://keeweb.info/ KeeWeb] onto your computer, or open KeeWeb's [https://app.keeweb.info online web app].
# Go to [[Special:Manage Two-factor authentication]]. Click "Enable", and log in with your username and password.
# In KeeWeb, click "New" (the {{key top|+}} icon).
# Add a new entry: Click the {{key top|+}} icon ("Add New") at the top. Then, click "Entry".
# Give the entry a title (e.g. "Wikipedia").
# In the right-side pane, click "more...". Then, click "One-time passwords" and click "Enter code manually".
# Copy the "Two-factor authentication secret key" from "Step 2" of the setup page and paste it into the "otp" field in KeeWeb. Press {{keypress|Enter}} on your keyboard.
# Go back to the 2FA enrollment page. '''Write down the [[#Recovery codes|recovery codes]] from "Step 3" and keep them in a secure ___location.'''
# In KeeWeb, click on "otp" to copy the 6-digit verification code. Paste the code into the 2FA enrollment page under "Step 4".
# Back up your 2FA settings:
#* Click on the {{key top|⚙️}} gear icon ("Settings") at the bottom-right of the KeeWeb window. Click "New" on the left side of the screen.
#* Optionally set a password and a name, and then click "Save to...".
#* Click "File" to save your 2FA settings onto your computer, or choose one of the other options to sync with [[Dropbox (service)|Dropbox]], [[Google Drive]], [[OneDrive]], or [[WebDAV]].
 
That's it, you're all set up. '''Now, read "{{pslink|Recovery codes}}".'''
 
== Changing your authentication device ==
For any reason you may want to change your authentication device. This could be to move your authentications to a replacement computer or mobile device (for example if you buy a new smartphone). There is not currently a ''transfer'' function,<ref>[[phab:T172079]] is open to request a transfer function</ref> however you may accomplish this by [[#Disabling_2FA|turning off 2FA]], and then re-enrolling with your new device. Some applications also support cross-device synchronisation, or allow you to export 2FA details to be imported in another app.
 
== Recovery codes ==
{{shortcut|H:SCRATCH}}
{{ombox
| type = content
| text = '''Important:''' Store your recovery codes offline in a safe place to ensure that you won't get locked out of your account if your 2FA device fails.
}}
# Download a 2FA app onto your smartphone. Some options include:
#* freeOTP [https://fedoramagazine.org/freeotp-an-open-source-solution-for-authentication-soft-tokens/ by Fedora] ([https://itunes.apple.com/us/app/freeotp/id872559395 iOS], [https://play.google.com/store/apps/details?id=org.fedorahosted.freeotp Android]) – open source
#* [https://www.authy.com/app/ Authy]
#* [[Google Authenticator]] ([https://itunes.apple.com/gb/app/google-authenticator/id388497605?mt=8 iOS], [https://play.google.com/store/apps/details?id=com.google.android.apps.authenticator2 Android])
# Go to [[Special:OATH]] and follow the instructions.
# The recommended authentication method with Google Authenticator is to scan a [[QR code]]. Your browser will display a box with a pattern, which you have to point the camera in your smartphone towards, as if you're taking a picture of it. (Your phone might ask you for permission to use the camera first).
#: If you can't do this, Google Authenticator can supply you an account name and alphanumeric key, which gives you the same result.
# Once you're set up, your phone will give you a verification code. Enter this into the box at the bottom of the OATH page browsed to in step 2).
 
[[File:Scratch codes in Wikipedia 2FA enrollment.png|thumb|Example of recovery codes|right]]
''That's it, you're all set up''. Now read "Emergency tokens : IMPORTANT, read this".
When you set up 2FA, you'll be given a number of 16-character recovery codes, each consisting of four alphanumeric blocks. You can [[#Logging in with 2FA|use one of the recovery codes]] if you lose access to your 2FA app (e.g. if your phone or computer gets broken or stolen). ''You only see these codes while setting up 2FA (and never again)'', so copy them from your browser and save them offline in a safe place (e.g. on a [[USB flash drive|memory stick]] or paper printout). '''If you don't keep these codes and encounter a problem with your 2FA device, you will be locked out of your account.'''
* Each recovery code can only be used one time, and it takes two of them to turn off 2FA (the first to log in without 2FA, and the second to shut off 2FA after logging in).
* Don't store these only on your smartphone. If it gets lost you'll lose the codes!
* You still need to follow [[Wikipedia:SECURITY|good security practices]]. Don't use your name, date of birth, or anything that can be guessed in a [[dictionary attack]] as a password. Don't write your password down in a place anyone else can see it, and consider whether or not it's a good idea to log in to your Wikipedia account on public terminals at schools, libraries, and airports.
 
If for some reason you need to use one or more recovery codes or feel that they have been compromised, you should generate a new set at your earliest convenience (especially if you are down to three or fewer remaining).
== How to enable [[WP:2FA|2FA]], the simple way (desktop - Windows)==
'''Please note:''' Using a windows based client ''slightly'' decreases the effectiveness of a two-factor system - if someone has access to your PC and your password, they will still be able to log in
 
If you are totally locked out, regaining access to your account will be very difficult and usually involve proving your identity beyond the shadow of a doubt to [[:meta:Trust and Safety|Wikimedia Trust and Safety]] via {{email|ca|wikimedia.org}}. If {{abbr|T&S|Trust and Safety}} deny your request, it is ''impossible'' to turn 2FA off and you'll have to create a new account.
1. Download winauth<ref>Looks to ''me'' to be the most reliable out there - is open sourced and has a significant userbase. Please confirm you are visiting the official site and use [[checksums]] if possible</ref> (https://winauth.com/download/) onto your Windows PC.
{{clear}}
 
=== Generating new recovery codes ===
2. Go to [[Special:OATH]] and follow the instructions
{{shortcut|H:REGENSCRATCH}}
 
To generate a new batch of recovery codes, simply [[H:DISABLE2FA|disable]] and then [[H:ENABLE2FA|re-enable]] two-factor authentication. This will void all of your old recovery codes and create a new batch. Doing this will also void any devices you currently have configured, requiring you to set up the device again, or use a new device.
3. Enter the two-factor account name and key from the OATH screen into the program. It should show you where to put it.
 
== Logging in with 2FA ==
4. Enter a verification code from winauth into the OATH screen to complete the enrollment.
===Web interface===
[[File:Logging in with 2FA on Wikipedia.png|thumb|Logging in with 2FA via the web interface]]
When you log in, after entering your password, you'll be asked for a verification code.
 
# Open your 2FA app and you should see a 6-digit verification code.
''That's it, you're all set up''. Now read "Emergency tokens : IMPORTANT, read this".
# Type the verification code in as is (with no spaces), and you should be logged back in
#: Because the verification code is time-based, it may change while you're doing this, in which case you'll have to add the latest code instead. The application will normally indicate when a code is about to expire (e.g. in Google Authenticator, the code's colour changes from blue to red).
 
If you need to use a [[#Recovery codes|recovery code]], enter it in place of the verification code. Recovery codes are [[case-sensitive]] and need to be entered in [[all caps]]. A recovery code will work either with or without the spaces between the clusters of characters.
== Emergency tokens : IMPORTANT, read this ==
When you set up 2FA, you'll be given a number of emergency tokens. You can use one of these if you can't use your smartphone (eg: if it gets broken, stolen or sold). ''You only get shown these tokens when you sign up and never again'', so make a copy of them by selecting them from your browser and copy / pasting into Notepad. If you don't keep these tokens and also have a problem using your authentication device, you '''will be locked out of your account'''!
:These can only be used one time ever each and it may take two of them to turn off 2FA.
* You still need to follow [[Wikipedia:SECURITY|good security practices]]. Don't use your name, date of birth or anything obvious as a password that can be guessed in a simple [[dictionary attack]], don't write your password down in a place anyone else can see it, and consider whether or not it's a good idea to log into public terminals including schools, libraries and airports.
 
===Mobile More help? app===
[[File:Wikipedia Mobile App Login 2FA.jpg|thumb|2FA prompt in the mobile app]]
* [[:meta:Help:Two-factor_authentication|Metawiki help page]] - this is '''quite technical'''.
For the iOS and Android versions of the [[H:MOBILEAPP|mobile app]], when prompted for the verification code, you'll need to follow a similar process to the web interface.
* [[Wikipedia:VPT|Technical village pump]]
* Emailing {{nospam|info-en|wikimedia.org}} - your ticket will be dealt with by one of the [[WP:OTRS|OTRS]] technical agents
* Joining {{IRC|wikipedia-en}}
 
If you need to use a recovery code, first choose to use a backup code, and then enter the recovery code. Recovery codes are case-sensitive and must be entered in all caps. The spaces separating the clusters of characters in the recovery code are optional.
== Notes ==
 
=== API access ===
*Most API logon clients such as [[Wikipedia:AutoWikiBrowser|AutoWikiBrowser]] and [[Wikipedia:Huggle|Huggle]] do not support 2FA, instead users may use a [[Special:BotPasswords|create a "bot password"]] to log on to the API. Please see [[Wikipedia:Using AWB with 2FA]] and [[mw:Manual:Huggle/Bot passwords]] for instructions.
*Special client [[mw:API:Login#Example_2:_Process_for_a_wiki_with_special_authentication_extensions|configuration]] to use the API is needed for two-factor authentication.
 
== Disabling 2FA ==
{{shortcut|H:DISABLE2FA}}
[[File:Disabling 2FA on Wikipedia.webm|thumb|left|Disabling 2FA]]
If you no longer want to use 2FA, go to [[Special:Manage Two-factor authentication]] and you'll be given the option to disable it. You'll need to enter a 6-digit verification code, just as you would when logging in. Alternatively enter one of your 16-character recovery codes. After this, 2FA will be turned off on your account.
 
To change your 2FA app or device, just disable 2FA and then follow the instructions at "{{pslink|Enabling 2FA on smartphones and tablet computers}}" or "{{pslink|Enabling 2FA on desktop and laptop computers}}" to enable it again.
{{clear}}
 
== Known issues ==
=== Multiple devices ===
Wikimedia's 2FA system is only designed to be used with one device. If you want to use 2FA on multiple devices, you must register all of your devices at the same time. To add 2FA to an additional device:
# Have all of your devices on hand.
# If 2FA is already enabled on your account, [[#Disabling 2FA|disable it]].
# Register all of your devices with the directions at "{{pslink|Enabling 2FA on smartphones and tablet computers}}" and/or "{{pslink|Enabling 2FA on desktop and laptop computers}}", but don't enter the 6-digit verification code into the Two-factor authentication page until all of your devices are registered.
 
To remove 2FA from a device, simply remove the Wikipedia entry from your 2FA app. '''Do not do this unless you have disabled 2FA entirely (see "{{pslink|Disabling 2FA}}") or you have access to 2FA for Wikipedia on another device.'''
 
=== Clock drift ===
If your 2FA device's [[Clock drift|clock becomes too inaccurate]], it will generate the wrong verification codes and you will not be able to log in. To prevent this, the 2FA device's clock should be kept reasonably accurate. Most smartphones and computers keep the clock in sync when they are connected to the Internet, and you will most likely not have to do anything as long as your device is online.
=== Users who are not in certain user groups ===
Currently users who are not Administrators <ref>Additionally, [[Wikipedia:Bureaucrats|bureaucrats]], [[Wikipedia:CheckUser|checkusers]], [[Wikipedia:Interface administrators|interface administrators]], and [[Wikipedia:Oversight|oversighters]] have access, but these groups normally only include administrators.</ref>
Edit filter managers, Page movers, and/or Template editors will have to submit a request at [[:m:Steward requests/Global permissions#Requests for 2 Factor Auth tester permissions]] to obtain access to 2FA (see [[m:Steward requests/Global permissions/2022-12#Requests_for_2_Factor_Auth_tester_permissions|request examples]]) this means most users will have to submit a request there.
 
== WebAuthn ==
[[File:Two-factor authentication on Wikimedia as of 2025 with WebAuthn screenshot.webp|thumb|Configuring WebAuthn as two-factor authentication]]
[[mw:Extension:WebAuthn|WebAuthn]] is another two-factor mechanism that may be enabled; it is currently not recommended as there is [[phab:T244348|no recovery mechanism]] for lost keys and it has less support from community volunteers. If you use WebAuthn and have a technical issue, you may lose access to your account forever.
 
WebAuthn is not currently supported on the mobile apps (see [[phab:T230043|T230043]]).
 
== More help ==
* Ask the [[Wikipedia:Reference desk/Computing|computing reference desk]] or contact [[:Category:Wikipedians willing to assist with two-factor authentication|an editor willing to assist with 2FA]] if you need more help, or if you have any questions.
* If you find something on this page to be incomplete or unclear, please raise the issue on the {{Talk|2=talk page}} and someone will fix it.
* Email {{nospam|info-en|wikimedia.org}} – your ticket will be dealt with by one of the [[WP:OTRS|OTRS]] technical agents.
* Discuss technical issues at the [[Wikipedia:VPT|Technical village pump]].
* Join {{IRC|wikipedia-en}} and/or {{IRC|wikipedia-tech}}.
* See also [[:meta:Help:Two-factor authentication|Metawiki help page]] for [[Wikipedia:Meta|Meta-Wiki]]'s overview of 2FA.
* There are many OTP clients available (c.f. [[comparison of OTP applications]], see the publisher for application specific assistance.
 
==Notes==
{{reflist}}
 
{{Wikipedia accounts|collapsed}}