CasdoorMarketplace

Have I Been Pwned password check · Provider

Refuse leaked passwords

Casdoor checks every password being set against the Pwned Passwords list of Have I Been Pwned and refuses one that has appeared in data breaches. At sign-in, a user whose password has leaked since it was set is asked to change it. Only the first 5 characters of the password's SHA-1 hash are sent.

Verified by CasdoorCommercial editionPasswordSecurityBreach
You need a running Casdoor, self-hosted or on Casdoor Cloud. In the examples, replace https://auth.example.com with your Casdoor address (on Casdoor Cloud, something like https://acme.casdoor.com) and the other example.com addresses with your own.

Set up Have I Been Pwned password check with Casdoor

  1. 1

    Install the action

    On the Marketplace page of the organization, install Have I Been Pwned password check. It needs a commercial edition license and calls only api.pwnedpasswords.com.

  2. 2

    Turn it on

    On the organization's Security tab, add it to Password check plugins and save.

  3. 3

    Try it

    Change a user's password to P@ssw0rd: Casdoor refuses it because it has appeared in data breaches.

Good to know

  • When api.pwnedpasswords.com can't be reached, the check lets the password through, so that sign-in keeps working.

Have I Been Pwned password check settings are from its documentation as of November 2026 (Pwned Passwords API). Have I Been Pwned password check is a trademark of its owner.