!@#$%^&*
).!@#$%^&*
). Not more than 2 identical characters in a row (for example, 111
is not allowed).Password Policy Level | Minimum Password Length |
---|---|
None | 1 |
Low | 6 |
Fair | 8 |
Good | 8 |
Excellent | 10 |
password_complexity_options
to leverage the new parameterpassword_complexity_options
to leverage the new parameter. Add this option to the page’s script as follows:
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:
message
is ready to be formatted using the printf
function (or Node.js util.format
).format
is an array with values to be used in the message
. (message
is separate from the format
to allow easier i18n of error messages in custom UIs.)verified
can be either true
or false
. Returns false
if the rule has been violated.items
field that specifies which sub-rules have failed. Each sub-rule will have a message
and may have a format
, if required.description
error report from a good
policy with hello
as the password:
description
error report from a good
policy with hello1234
as the password: