Auth0 Home Blog Docs

Contents of password_complexity_options object?

api
management-api
#1

password_complexity_options is listed in the docs in several places, but I don’t see anywhere that defines what it contains or possible options.

Docs: https://auth0.com/docs/api/management/v2#Connections_patch_connections_by_id

{
  "options": {
    ...
    "password_complexity_options": "object",
    ...
  }
}
Hosted password reset page with custom length password at connection level not working
#2

Hi @jim.pruetting,

I believe the only option available for password_policy_options is password length. Here’s a connection I created where I changed the min password length to 10 characters:

      "passwordPolicy": "excellent",
      "password_dictionary": {
        "enable": true
      },
      "password_no_personal_info": {
        "enable": true
      },
      "password_complexity_options": {
        "min_length": 10
      }

All other password policy options are determined by the passwordPolicy attribute, set by the slider in the connection configuration.

1 Like