> 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

PeakCommerce manages authentication and password security through **Auth0**, so all password rules are enforced by Auth0. 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 minimum length (10+), required character types, password history (no reuse), expiration periods, a dictionary of common passwords to block, and exclusion of the user's personal data.

## Who controls the policy

* **PeakCommerce-managed (default)** — your implementation team configures the Auth0 policy with you; **Fair** or a custom policy is recommended.
* **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.


---

# 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.
