forked from github/docs
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Expand change 2FA article with additional content (#49185)
Co-authored-by: Sophie <[email protected]> Co-authored-by: github-actions <[email protected]>
- Loading branch information
1 parent
5e6c5ee
commit 4793b39
Showing
15 changed files
with
169 additions
and
77 deletions.
There are no files selected for viewing
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
34 changes: 0 additions & 34 deletions
34
...-authentication-2fa/changing-your-preferred-two-factor-authentication-method.md
This file was deleted.
Oops, something went wrong.
104 changes: 104 additions & 0 deletions
104
...two-factor-authentication-2fa/changing-your-two-factor-authentication-method.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,104 @@ | ||
--- | ||
title: Changing your two-factor authentication method | ||
intro: You can change two-factor authentication (2FA) method without disabling 2FA entirely. | ||
redirect_from: | ||
- /articles/changing-two-factor-authentication-delivery-methods | ||
- /articles/changing-two-factor-authentication-delivery-methods-for-your-mobile-device | ||
- /github/authenticating-to-github/changing-two-factor-authentication-delivery-methods-for-your-mobile-device | ||
- /github/authenticating-to-github/securing-your-account-with-two-factor-authentication-2fa/changing-two-factor-authentication-delivery-methods-for-your-mobile-device | ||
- /authentication/securing-your-account-with-two-factor-authentication-2fa/changing-two-factor-authentication-delivery-methods-for-your-mobile-device | ||
- /authentication/securing-your-account-with-two-factor-authentication-2fa/changing-your-preferred-two-factor-authentication-method | ||
versions: | ||
feature: 2fa-reconfiguration-inline-update | ||
topics: | ||
- 2FA | ||
shortTitle: Change 2FA method | ||
--- | ||
|
||
You can reconfigure your two-factor authentication (2FA) settings or add new 2FA methods without disabling 2FA entirely, allowing you to keep both your recovery codes and your membership in organizations that require 2FA. | ||
|
||
## Changing an existing two-factor authentication method | ||
|
||
{% ifversion fpt or ghec %} | ||
You can configure a different authenticator app or change your phone number, without disabling 2FA or creating a new set of recovery codes. | ||
|
||
### Changing the TOTP app | ||
|
||
{% endif %} | ||
|
||
You can change the time-based one-time password (TOTP) application you use to generate authentication codes | ||
|
||
{% data reusables.user-settings.access_settings %} | ||
{% data reusables.user-settings.security %} | ||
{% data reusables.two_fa.edit-existing-method %} | ||
{% data reusables.two_fa.enable-totp-app-method %} | ||
{% data reusables.two_fa.save-2fa-method-when-editing%} | ||
|
||
{% warning %} | ||
|
||
**Warning:** Changes to an existing 2FA method will only take effect after you have provided a valid code from the new method and clicked **Save**. Only replace the existing 2FA method on your device (e.g. the {% data variables.product.prodname_dotcom %} entry in your TOTP app) after your new method is saved to your {% data variables.product.prodname_dotcom %} account completely. | ||
|
||
{% endwarning %} | ||
|
||
{% data reusables.two_fa.manual-totp-app-setup %} | ||
|
||
{% ifversion fpt or ghec %} | ||
|
||
### Changing the SMS number | ||
|
||
You can change the phone number you use to receive authentication codes via SMS. | ||
|
||
{% data reusables.user-settings.access_settings %} | ||
{% data reusables.user-settings.security %} | ||
{% data reusables.two_fa.edit-existing-method %} | ||
{% data reusables.two_fa.enable-sms-number-method %} | ||
{% data reusables.two_fa.save-2fa-method-when-editing%} | ||
|
||
{% endif %} | ||
|
||
## Adding additional two-factor authentication methods | ||
|
||
We recommend adding more than one 2FA method to your account. This ensures that you can still sign in to your account, even if you lose one of your methods. | ||
|
||
In addition to adding multiple 2FA methods, we strongly recommend setting up multiple recovery methods to avoid losing access to your account. For more information, see "[AUTOTITLE](/authentication/securing-your-account-with-two-factor-authentication-2fa/configuring-two-factor-authentication-recovery-methods)." | ||
|
||
{% ifversion fpt or ghec %} | ||
|
||
### Adding a TOTP app | ||
|
||
You can add a time-based one-time password (TOTP) application to generate authentication codes. | ||
{% endif %} | ||
|
||
{% data reusables.user-settings.access_settings %} | ||
{% data reusables.user-settings.security %} | ||
{% data reusables.two_fa.add-additional-method %} | ||
{% data reusables.two_fa.enable-totp-app-method %} | ||
{% data reusables.two_fa.save-2fa-method-when-editing%} | ||
{% data reusables.two_fa.manual-totp-app-setup %} | ||
|
||
{% ifversion fpt or ghec %} | ||
|
||
### Adding an SMS number | ||
|
||
{% data reusables.two_fa.sms-warning %} | ||
|
||
{% data reusables.user-settings.access_settings %} | ||
{% data reusables.user-settings.security %} | ||
{% data reusables.two_fa.add-additional-method %} | ||
{% data reusables.two_fa.enable-sms-number-method %} | ||
{% data reusables.two_fa.save-2fa-method-when-editing%} | ||
|
||
{% endif %} | ||
|
||
## Setting a preferred two-factor authentication method | ||
|
||
If you have multiple 2FA methods, you can choose a preferred method that will be shown first when you are asked to authenticate with 2FA. | ||
|
||
{% data reusables.user-settings.access_settings %} | ||
{% data reusables.user-settings.security %} | ||
1. Under "Two-factor authentication" in "Preferred 2FA method", select your preferred 2FA method from the dropdown. | ||
|
||
## Further reading | ||
|
||
- "[AUTOTITLE](/authentication/securing-your-account-with-two-factor-authentication-2fa/configuring-two-factor-authentication)" | ||
- "[AUTOTITLE](/authentication/securing-your-account-with-two-factor-authentication-2fa/configuring-two-factor-authentication-recovery-methods)" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
1. In "Two-factor methods", find the method you want to add. Next to that method, click **Add**. | ||
|
||
 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
1. In "Two-factor methods", find the method you want to modify. Next to that method, click **Edit**. If you have multiple methods configured, select {% octicon "kebab-horizontal" aria-label="Manage METHOD" %}, then click **Edit**. | ||
|
||
 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
1. Complete the CAPTCHA challenge, which helps protect against spam and abuse. | ||
1. Under "Verify account", select your country code and type your mobile phone number, including the area code. When your information is correct, click **Send authentication code**. | ||
1. You'll receive a text message with a security code. On {% data variables.product.product_name %}, type the code into the field under "Verify the code sent to your phone" and click **Continue**. | ||
|
||
- If you need to edit the phone number you entered, you'll need to complete another CAPTCHA challenge. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
{%- ifversion fpt or ghec or ghes > 3.8 %} | ||
1. Under "Scan the QR code", do one of the following: | ||
|
||
- Scan the QR code with your mobile device's app. After scanning, the app displays a six-digit code that you can enter on {% data variables.product.product_name %}. | ||
- If you can't scan the QR code, click **setup key** to see a code, the TOTP secret, that you can manually enter in your TOTP app instead. | ||
|
||
 | ||
|
||
1. The TOTP application saves your account on {% data variables.location.product_location %} and generates a new authentication code every few seconds. On {% data variables.product.product_name %}, type the code into the field under "Verify the code from the app". | ||
{%- else %} | ||
1. Under "Two-factor authentication", select **Set up using an app** and click **Continue**. | ||
1. Under "Authentication verification", do one of the following: | ||
|
||
- Scan the QR code with your mobile device's app. After scanning, the app displays a six-digit code that you can enter on {% data variables.product.product_name %}. | ||
- If you can't scan the QR code, click **enter this text code** to see a code that you can manually enter in your TOTP app instead. | ||
|
||
 | ||
|
||
1. The TOTP application saves your account on {% data variables.location.product_location %} and generates a new authentication code every few seconds. On {% data variables.product.product_name %}, type the code into the field under "Enter the six-digit code from the application". | ||
{%- endif %} | ||
|
||
{% ifversion ghes < 3.9 %}{% data reusables.two_fa.test_2fa_immediately %}{% endif %} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
If you are unable to scan the setup QR code or wish to setup a TOTP app manually and require the parameters encoded in the QR code, they are: | ||
|
||
- Type: `TOTP` | ||
- Label: `GitHub:<username>` where `<username>` is your handle on {% data variables.product.prodname_dotcom %}, for example `monalisa` | ||
- Secret: This is the encoded setup key, shown if you click {%- ifversion fpt or ghec or ghes > 3.8 %} "Setup key" {%- else %} "Enter this text code" {%- endif %} during configuration | ||
- Issuer: `GitHub` | ||
- Algorithm: The default of SHA1 is used | ||
- Digits: The default of 6 is used | ||
- Period: The default of 30 (seconds) is used |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
1. Click **Save** to save the method to your {% data variables.product.prodname_dotcom %} account. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
Before using this method, be sure that you can receive text messages. Carrier rates may apply. | ||
|
||
{% warning %} | ||
|
||
**Warning:** We **strongly recommend** using a TOTP application for two-factor authentication instead of SMS, and security keys as backup methods instead of SMS. {% data variables.product.product_name %} doesn't support sending SMS messages to phones in every country. Before configuring authentication via text message, review the list of countries where {% data variables.product.product_name %} supports authentication via SMS. For more information, see "[AUTOTITLE](/authentication/securing-your-account-with-two-factor-authentication-2fa/countries-where-sms-authentication-is-supported)." | ||
|
||
{% endwarning %} |