> For the complete documentation index, see [llms.txt](https://docs.nighty.one/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.nighty.one/guides-and-tutorials/discord-mfa-setup/password-+-2fa-authenticator-app.md).

# Password + 2FA (Authenticator app)

Use this if you already have 2FA (an authenticator app) turned on for your Discord account.

As mentioned earlier, you first need to remove 2FA from Discord and add it back, then log in to Nighty again. Follow every step in order.

{% stepper %}
{% step %}

### **Close Nighty.**

Close Nighty.&#x20;
{% endstep %}

{% step %}

### **Open your Discord MFA settings.**

<div align="left"><figure><img src="https://3836407116-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FaFce5BqRsGvQObqcfG7q%2Fuploads%2FzaRwIxrImz6XnsjBpzfA%2Fimage.png?alt=media&amp;token=01c15830-dc22-43d9-aa88-8c0aef77825d" alt=""><figcaption></figcaption></figure></div>

Go to **Account** → **Password & Security**.

<div align="left"><figure><img src="https://3836407116-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FaFce5BqRsGvQObqcfG7q%2Fuploads%2F1pEGg8QwPgd0uWWUpsyK%2Fimage.png?alt=media&amp;token=8d7afd1c-2d3c-49b1-a1d8-4277b1e3daf4" alt=""><figcaption></figcaption></figure></div>

Click **Multi-Factor Authentication**.

<figure><img src="https://3836407116-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FaFce5BqRsGvQObqcfG7q%2Fuploads%2FrvY6vQTdf8d04vNBpDwg%2Fimage.png?alt=media&amp;token=f0987396-7344-47f9-a200-e495fc937241" alt=""><figcaption></figcaption></figure>
{% endstep %}

{% step %}

### **In the Authenticator App section, click Remove and confirm.**

<figure><img src="https://3836407116-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FaFce5BqRsGvQObqcfG7q%2Fuploads%2FhJ6R30p9qQjgEBHOn65S%2Fimage.png?alt=media&amp;token=bec8b719-32f8-46a2-9bc3-8f9f4db615a1" alt=""><figcaption></figcaption></figure>

<figure><img src="https://3836407116-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FaFce5BqRsGvQObqcfG7q%2Fuploads%2FyrwqAsRJbbmVCR0ygWXR%2Fimage.png?alt=media&amp;token=28170fe7-73f6-4643-b559-c676c1199374" alt=""><figcaption></figcaption></figure>
{% endstep %}

{% step %}

### **Open your authenticator app (for example, Google Authenticator) and delete your Discord account from it.**

{% hint style="danger" %}

## Double check if 2FA was removed from your Discord account.

You may be locked out of your Discord account if you remove 2FA from your authenticator app before disabling it on Discord.

Before removing it from your authenticator app, verify in Discord that authentication is password-only and MFA is disabled.
{% endhint %}

Make sure 2FA is removed from your Discord account and remove it from your Authenticator app as well - to avoid mistakes in the future.

<figure><img src="https://3836407116-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FaFce5BqRsGvQObqcfG7q%2Fuploads%2FFAwGDjigZCoQNx90xAhI%2Fremove_discord_mfa_code-optimized.gif?alt=media&amp;token=04b71b45-5fab-4593-8d1b-9d9a81e0aa93" alt=""><figcaption></figcaption></figure>
{% endstep %}

{% step %}

### Add 2FA back and save your key

Back in Discord, click **Enable Authenticator App**.

<figure><img src="https://3836407116-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FaFce5BqRsGvQObqcfG7q%2Fuploads%2FE5ry9ideFsUEXU8m8Whe%2Fimage.png?alt=media&amp;token=beb156c3-440c-4be9-ac18-fa009ddafb68" alt=""><figcaption></figcaption></figure>

Find the option for **manual entry** (the text key) and **copy that key into Notepad**. Keep Notepad open, you'll need this key soon.

### ⚠️ Save the manual entry code! You will need it soon.

<figure><img src="https://3836407116-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FaFce5BqRsGvQObqcfG7q%2Fuploads%2FugH72MRpP0TevDHdK5rL%2Fimage.png?alt=media&amp;token=d1b17fc0-f1f6-4901-b5e7-06a024167dd2" alt=""><figcaption></figcaption></figure>

Now scan the QR code with your authenticator app to add Discord back to it (standard procedure).

Finish the process on Discord by entering the 6-digit code from your authenticator app when it asks. Click Activate to Activate 2FA on your Discord account.

{% hint style="warning" %}

### Only contine to the next step if you succesfully activated 2FA on your Discord account and saved your 2FA key!

{% endhint %}
{% endstep %}

{% step %}

### Log back in to Nighty

Because you turned 2FA off and on, your Discord token changed. Nighty will notice this and ask you to log in again.

Open **Nighty**.

Log in with your preferred method.

* If you're not sure how, see the [**First Launch**](/getting-started/first-launch.md) guide.

\ <sup>Note: If you don't want to create a new app simply close the Create Application popup and click on your previous application.</sup>
{% endstep %}

{% step %}

## Open the Modules tab

In Nighty, open the **Modules** tab.

<div align="left"><figure><img src="https://3836407116-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FaFce5BqRsGvQObqcfG7q%2Fuploads%2FgM7j9Vh6Y32ylyKrGczk%2Fimage.png?alt=media&amp;token=d5f3c7b4-46ea-4c84-b302-3b48edf2c7ba" alt=""><figcaption></figcaption></figure></div>
{% endstep %}

{% step %}

### Open Multi Factor Authentication

Click **Multi Factor Authentication (MFA)**.

<div align="left"><figure><img src="https://3836407116-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FaFce5BqRsGvQObqcfG7q%2Fuploads%2FARd8S68GkJU1l4js6Vm5%2Fimage.png?alt=media&amp;token=25da54a3-8e14-4972-8775-96d789aef1b9" alt=""><figcaption></figcaption></figure></div>
{% endstep %}

{% step %}

### Start configuration

Click **Start Configuration**.

<figure><img src="https://3836407116-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FaFce5BqRsGvQObqcfG7q%2Fuploads%2FKyIyfHcMoFKkOJ2qkQlQ%2Fimage.png?alt=media&amp;token=90f80ea5-215e-4baa-8a13-def7a3e9f3c4" alt=""><figcaption></figcaption></figure>
{% endstep %}

{% step %}

### Enter your Discord Password

Type in your **Discord password** and click Next.

<figure><img src="https://3836407116-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FaFce5BqRsGvQObqcfG7q%2Fuploads%2FwyPE5UezM1vymUqgclIQ%2Fimage.png?alt=media&amp;token=0266ae65-c124-463f-b533-06111ced782d" alt=""><figcaption></figcaption></figure>

{% hint style="warning" %}
Type it carefully. Nighty does **not** check whether it's correct, so a typo here will cause problems later.
{% endhint %}
{% endstep %}

{% step %}

### Enter your 2FA 28-digit key

Remember the Manual entry 2FA code you saved eariler in [step 5](#save-the-manual-entry-code-you-will-need-it-soon)?

Copy it to clipboard now and paste to Nighty and click Finish.

<div align="left"><figure><img src="https://3836407116-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FaFce5BqRsGvQObqcfG7q%2Fuploads%2FdCZGfMlXwd2quQ9mcUrS%2Fimage.png?alt=media&amp;token=8d0a583e-f6aa-4413-816d-632125f04821" alt="Screenshot of the code from Step 5." width="375"><figcaption><p>Screenshot of the code from Step 5.</p></figcaption></figure></div>

Now paste it into Nighty and click Finish.

<figure><img src="https://3836407116-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FaFce5BqRsGvQObqcfG7q%2Fuploads%2F2DJBVshUB1SKQCNsnlaK%2Fimage.png?alt=media&amp;token=674441f5-3231-42c7-826a-cdb35aa0f842" alt=""><figcaption></figcaption></figure>
{% endstep %}

{% step %}

### Confirm with 6-digit code from your Authenticator app

Open your Authenticator app and enter your 6-digit code (the same you normally use to login to Discord)

<div align="left"><figure><img src="https://3836407116-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FaFce5BqRsGvQObqcfG7q%2Fuploads%2FbVtAmN44RApIytUjf2lP%2Fimage.png?alt=media&amp;token=9d1ff85b-190e-4d6c-b22c-a29b3514b3b7" alt=""><figcaption></figcaption></figure></div>

Click **Verify Code**.

You should then see **Status - Configured**. You're done!

<div align="left"><figure><img src="https://3836407116-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FaFce5BqRsGvQObqcfG7q%2Fuploads%2FPXB8B1xXIgYP8Jf1dN8k%2Fimage.png?alt=media&amp;token=cb757a19-976d-44b1-a930-f730ca968fdc" alt=""><figcaption></figcaption></figure></div>
{% endstep %}
{% endstepper %}

## After configuring:

* **You can close Notepad** and delete the key from it. You should not share it with anyone.
