# Passwords

## Primary and Secondary Passwords

In Authgear, a password can be Primary or Secondary. Secondary passwords can be enabled as part of Two Factor Authentication (2FA).

The password policies for Primary and Secondary passwords are **not** configured independently. Password policy settings apply to both types.

To configure your project's password policy, simply navigate to the password settings, and follow the corresponding guides.

## Primary password settings <a href="#pw-settings" id="pw-settings"></a>

1. Navigate to **Authentication** > **Login Methods**.
2. Select your **Login Method**. The login method selected determines the options available to customize.
3. Click on the **Passwords** tab to reveal the settings.

<figure><img src="https://2638622528-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MAjXpMovvVxeIY33s_K%2Fuploads%2Fgit-blob-f030949f43791fdafa928cd6affd5467335d8958%2Fimage.png?alt=media" alt=""><figcaption></figcaption></figure>

**Note**: Make sure the login method you select has password enabled (you can not view the password settings screen if you only enable Passwordless login).

## Secondary password settings

Navigate to **Authentication > 2FA.** You will be able to view the password settings if you enable "Additional Password" as a 2nd-factor authentication.

Please note that it is not recommended to use a password for both primary and secondary authentication at the same time.

<figure><img src="https://2638622528-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MAjXpMovvVxeIY33s_K%2Fuploads%2Fgit-blob-bcb4c2145ca93b2ecfe93c36a0a44966b4cdb19c%2FScreenshot%202025-08-05%20at%2021.08.35.png?alt=media" alt=""><figcaption></figcaption></figure>

{% hint style="info" %}
In Multi Factor Authentication, users should provide multiple different forms of identification for extra security.
{% endhint %}
