You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This repository contains a ServiceNow Script Include + Client Script demo for enforcing password strength during user registration or password reset processes.
2
+
Overview
3
+
4
+
The goal is to ensure that any password set in ServiceNow (e.g., through a Catalog Item or custom form) follows strong security rules:
5
+
At least 8 characters
6
+
At least 1 uppercase letter
7
+
At least 1 lowercase letter
8
+
At least 1 number
9
+
At least 1 special character
10
+
If the rules are not met, the system flags the password as Weak Password.
11
+
12
+
Example :
13
+
Imagine you build a User Registration Catalog Item where a field Proposed Password is entered by the user.
14
+
On change of this field, the Client Script runs.
15
+
It calls the PasswordUtil Script Include.
16
+
If the password is weak, the form shows an inline error message, preventing weak password submissions.
17
+
This ensures consistent security enforcement across ServiceNow forms.
0 commit comments