- Password Length: Longer passwords include a greater combination of characters making it more difficult to guess. Passwords shorter than 10 characters are considered weak.
- Password Complexity: Passwords containing a combination of upper-case and lower-case letters, numbers, and special characters are recommended.
- Passphrases: Sentences or combinations of words can be much longer than typical passwords yet much easier to remember.
Password policies
- None (default): at least 1 character of any type.
- Low: at least 6 characters.
- Fair: at least 8 characters including a lower-case letter, an upper-case letter, and a number.
- Good: at least 8 characters including at least 3 of the following 4 types of characters: a lower-case letter, an upper-case letter, a number, a special character (such as
!@#$%^&*). - Excellent: at least 10 characters including at least 3 of the following 4 types of characters: a lower-case letter, an upper-case letter, a number, a special character (such as
!@#$%^&*). Not more than 2 identical characters in a row (for example,111is not allowed).
La politique de mot de passe pour les administrateurs du Dashboard Auth0 reflète les critères définis pour le niveau Fair.
Minimum password length
La limite maximale peut varier en fonction de l’algorithme de hachage de mot de passe que vous utilisez.
| Niveau de la politique relative aux mots de passe | Longueur minimale du mot de passe |
|---|---|
| Aucun | 1 |
| Bas | 6 |
| Juste | 8 |
| Bon | 8 |
| Excellent | 10 |
Minimum password length when using Universal Login Pages
Set minimum password length when using Hosted Password Reset Pages
- Update your templates to include library version 1.5.1 or later
- Add
password_complexity_optionsto leverage the new parameter
Step 1: Update the change password library version
Step 2: Add password_complexity_options to leverage the new parameter
password_complexity_options to leverage the new parameter. Add this option to the page’s script as follows:
Set minimum password length when using Universal Login Pages
Change your policy
If you use Management API to set or update a user’s password via the Update a User endpoint, the strength policy you set in Auth0 Dashboard applies.

Les mots de passe existants qui ont été créés avant le changement de politique continueront à être validés.
Lock


Si Auth0 rejette un mot de passe, la notification s’affiche en anglais. Si vous souhaitez afficher les notifications dans une autre langue, vous devrez le faire via une traduction côté client.
Custom signup errors
400 HTTP status code. The JSON response will contain code: invalid_password when the password does not meet the selected password policy criteria.
The response will also contain additional information that can be used to guide the user to what is incorrect in the selected password:
- A
messageis ready to be formatted using theprintffunction (or Node.jsutil.format). formatis an array with values to be used in themessage. (messageis separate from theformatto allow easier i18n of error messages in custom UIs.)verifiedcan be eithertrueorfalse. Returnsfalseif the rule has been violated.
Certaines règles sont composites. Une règle peut contenir un champ
items qui spécifie quelles sous-règles ont échoué. Chaque sous-règle aura un message et peut avoir un format, si nécessaire.Examples
description error report from a good policy with hello as the password:
description error report from a good policy with hello1234 as the password: