# How can I test breached-password detection, not the email template

**URL:** <https://community.auth0.com/t/how-can-i-test-breached-password-detection-not-the-email-template/49700>\
**Category:** Get Help\
**Tags:** anomaly-detection\
**Created:** [September 14, 2020, 6:57am UTC](https://community.auth0.com/t/how-can-i-test-breached-password-detection-not-the-email-template/49700 "2020-09-14T06:57:02Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![rockchild](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/rockchild/32/15476_2.png) [@rockchild](https://community.auth0.com/u/rockchild)\
**Post date:** [September 14, 2020, 6:57am UTC](https://community.auth0.com/t/how-can-i-test-breached-password-detection-not-the-email-template/49700/1 "2020-09-14T06:57:02Z")

</div>

Hello there.

Before creating this topic, I searched for my question here and on google and no success.  
Only [this topic](https://community.auth0.com/t/how-can-we-test-breached-password-detection/14262) is relevant, but although it’s closed, I couldn’t find the answer in the link suggested by @jerdog  
Anyway, I’d like to specify my question. I want to test our application and how it behaves for a user, whose password was leaked.  
By the way, the following text from [here](https://auth0.com/docs/anomaly-detection/breached-password-security) seems to be outdated (or maybe I don’t get it clearly):

```auto
You can customize blocked account emails. To test, enter the email address leak-test@example.com and password Paaf213XXYYZZ, and select a connection type. Click Try.

```

I don’t know where should I enter the password. And as I wrote, it helps (without the password) to test the configured template, not the integration of breached password detection with our app.

Best regards,  
Pasha.

---

<div class="post-metadata">

**Author:** ![sidharth.chaudhary](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/sidharth.chaudhary/32/20686_2.png) [@sidharth.chaudhary](https://community.auth0.com/u/sidharth.chaudhary)\
**Post date:** [September 14, 2020, 7:57am UTC](https://community.auth0.com/t/how-can-i-test-breached-password-detection-not-the-email-template/49700/2 "2020-09-14T07:57:24Z")

</div>

Hey @rockchild

Yes Its not very clear in this link but the test email and password to test breached-password detection are mentioned in this link as you highlighted:

> **[Customize Blocked Account Emails](https://auth0.com/docs/customize/email/customize-blocked-account-emails)**
>
> Describes how to customize blocked account emails.

To answer you question regarding the test:  
Via Auth0 dashboard you can create a user on your db connection using the above email and password.  
Dashboard → Users-\> Create Users → Enter the above details and select your connection.

After that you can try to login on your app with that connection enabled and breached-password detection enabled you will see an error on your universal login page, if you login with the above credentials.

Let me know if this helps!

Regards,  
Sidharth

---

<div class="post-metadata">

**Author:** ![rockchild](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/rockchild/32/15476_2.png) [@rockchild](https://community.auth0.com/u/rockchild)\
**Post date:** [September 15, 2020, 7:31am UTC](https://community.auth0.com/t/how-can-i-test-breached-password-detection-not-the-email-template/49700/3 "2020-09-15T07:31:34Z")

</div>

Thanks! I didn’t know you have to create it first. Perhaps, it should be mentioned in the doc.

Best regards,  
Pasha

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/auth0/original/3X/b/5/b560f266932fcce5d57f09a6595bd50518cae3f3.jpeg) [@system](https://community.auth0.com/u/system)\
**Post date:** [September 30, 2020, 7:31am UTC](https://community.auth0.com/t/how-can-i-test-breached-password-detection-not-the-email-template/49700/4 "2020-09-30T07:31:47Z")

</div>

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.
