If you want to imply password policy (i.e., Certain length, must have a digit, etc…) during the portal registrations, following entries need to be added to ‘Site Settings’ entity.

| Name | Value |
| Authentication/UserManager/PasswordValidator/AlphanumericUserNames | TRUE |
| Authentication/UserManager/PasswordValidator/RequireDigit | TRUE |
| Authentication/UserManager/PasswordValidator/RequiredLength | 9 |
| Authentication/UserManager/PasswordValidator/RequireLowercase | TRUE |
| Authentication/UserManager/PasswordValidator/RequireNonLetterOrDigit | TRUE |
| Authentication/UserManager/PasswordValidator/RequireUppercase | TRUE |
If the password does not meet any of the configured setting values, you gonna get OOB validation error as follows:

For more ‘Authentication’ related settings, refer the article
Refer this article for portals client scripting.
🙂

![[Step by Step] Configure and consume 'Environment Variables' of type 'Secret' using 'Azure Key vault'](https://rajeevpentyala.com/wp-content/uploads/2023/05/image.png)

Leave a comment