> For the complete documentation index, see [llms.txt](https://docs.peakcommerce.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.peakcommerce.com/product/using-peakcommerce/authentication-and-security/understanding-and-configuring-password-policies-in-peakcommerce.md).

# Password Policies

A password policy sets the rules every account password must satisfy — minimum length, character mix, reuse history, and how often a password must change. Strong policies are your first line of defense against credential-stuffing and brute-force attacks, so it's worth getting them right before you invite staff and customers onto the platform.

PeakCommerce delegates all authentication to **Auth0**, so password rules are enforced by Auth0 rather than stored inside PeakCommerce. Length, complexity, history, and expiration are configured during implementation to match your security requirements. Customers don't edit these directly in PeakCommerce unless they bring their own identity provider.

## Policy levels

Auth0 offers predefined policies to choose from:

| Policy        | Requirements                                                  |
| ------------- | ------------------------------------------------------------- |
| **None**      | No restrictions                                               |
| **Low**       | At least 8 characters                                         |
| **Fair**      | 8+ characters, with upper- and lower-case letters and a digit |
| **Good**      | Fair, plus a special character                                |
| **Excellent** | Good, plus no more than two identical characters in a row     |

**Custom policies** can add a higher minimum length (10+), required character types, password history (no reuse of recent passwords), expiration periods, a dictionary of common passwords to block, and exclusion of the user's personal data (name, email).

## Multi-factor authentication

Because authentication runs through Auth0, you can layer **multi-factor authentication (MFA)** on top of any password policy. MFA enrollment status is read back into PeakCommerce per user, so administrators can confirm who has a second factor in place.

## Who controls the policy

* **PeakCommerce-managed (default)** — your implementation team configures the Auth0 policy with you. We recommend **Good or stronger** as a minimum (or a custom policy); avoid None, Low, and Fair for production accounts.
* **Your own IdP** — connect your own identity provider and you keep full control of password and MFA policy within it.

To change your policy, contact your account team.

## Related

* [Session Management](/product/using-peakcommerce/authentication-and-security/session-management.md)
* [Single Sign-On for PeakCommerce Sites](/product/using-peakcommerce/authentication-and-security/single-sign-on-for-peakcommerce-sites.md)


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://docs.peakcommerce.com/product/using-peakcommerce/authentication-and-security/understanding-and-configuring-password-policies-in-peakcommerce.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
