# User search problem by email

**URL:** <https://community.auth0.com/t/user-search-problem-by-email/8708>\
**Category:** Get Help\
**Tags:** search\
**Created:** [November 9, 2017, 6:10pm UTC](https://community.auth0.com/t/user-search-problem-by-email/8708 "2017-11-09T18:10:30Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![pavol.duda](https://upload.wikimedia.org/wikipedia/commons/thumb/7/7c/User_font_awesome.svg/768px-User_font_awesome.svg.png) [@pavol.duda](https://community.auth0.com/u/pavol.duda)\
**Post date:** [November 9, 2017, 6:10pm UTC](https://community.auth0.com/t/user-search-problem-by-email/8708/1 "2017-11-09T18:10:30Z")

</div>

I have some problem with users search by exact email, when email has case sensitive version in multiple connections, e.g.

- in connection A is email: ‘x.y@example.com’
- in connection B is email: ‘x.Y@example.com’

I need search by “[email.raw:x.y@example.com](mailto:email.raw:x.y@example.com)”.

---

<div class="post-metadata">

**Author:** ![jmangelo](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/jmangelo/32/7923_2.png) [@jmangelo](https://community.auth0.com/u/jmangelo)\
**Post date:** [November 9, 2017, 7:13pm UTC](https://community.auth0.com/t/user-search-problem-by-email/8708/2 "2017-11-09T19:13:45Z")

</div>

I’m assuming that you refer to the `/users-by-email` [endpoint](https://auth0.com/docs/api/management/v2#!/Users_By_Email/get_users_by_email) and in that case to my knowledge the fact that the search is made in a case insensitive manner is by design. Having said that the result set should be sufficiently small to allow for additional filtering of the response (applying a case sensitive check) to be made on the client performing the request without any major overhead. Can you clarify if your scenario is the one assumed and also why you don’t consider additional filtering as a solution for the use case.

---

<div class="post-metadata">

**Author:** ![dstone](https://upload.wikimedia.org/wikipedia/commons/thumb/7/7c/User_font_awesome.svg/768px-User_font_awesome.svg.png) [@dstone](https://community.auth0.com/u/dstone)\
**Post date:** [November 10, 2017, 5:08pm UTC](https://community.auth0.com/t/user-search-problem-by-email/8708/3 "2017-11-10T17:08:28Z")

</div>

The portal has this same problem at [https://manage.auth0.com/#/users](https://manage.auth0.com/#/users).  
Searching full email address is case sensitive, however when you search an email address before the ‘@’ it is not.  
Is there a place to write up Auth0 Bugs.

---

<div class="post-metadata">

**Author:** ![dstone](https://upload.wikimedia.org/wikipedia/commons/thumb/7/7c/User_font_awesome.svg/768px-User_font_awesome.svg.png) [@dstone](https://community.auth0.com/u/dstone)\
**Post date:** [November 10, 2017, 5:08pm UTC](https://community.auth0.com/t/user-search-problem-by-email/8708/4 "2017-11-10T17:08:30Z")

</div>

There is a bug in the portal [https://manage.auth0.com/#/users](https://manage.auth0.com/#/users) when one searches with full email address the search is case sensitive. However if you insert the email address up before the ‘@’ it is not case sensitive. Is there a place where we can log Auth0 bugs?

---

<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:** [March 2, 2018, 5:57am UTC](https://community.auth0.com/t/user-search-problem-by-email/8708/5 "2018-03-02T05:57:21Z")

</div>


