Documentation navigation

WeakPassword

Password policy feedback returned by Auth.

NameTypeDefinition
message?stringHuman-readable password policy message.
reasons?("length" | "characters" | "pwned")[]Machine-readable password weakness reasons.

Example

{  "message": "The password does not satisfy the configured policy.",  "reasons": [    "length"  ]}