# Ignition IDP treating blank spaces as a valid character in the username input box

**URL:** <https://forum.inductiveautomation.com/t/ignition-idp-treating-blank-spaces-as-a-valid-character-in-the-username-input-box/44026>\
**Category:** Ignition\
**Created:** [March 3, 2021, 6:44am UTC](https://forum.inductiveautomation.com/t/ignition-idp-treating-blank-spaces-as-a-valid-character-in-the-username-input-box/44026 "2021-03-03T06:44:57Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![rachel](https://avatars.discourse-cdn.com/v4/letter/r/46a35a/32.png) [@rachel](https://forum.inductiveautomation.com/u/rachel)\
**Post date:** [March 3, 2021, 6:44am UTC](https://forum.inductiveautomation.com/t/ignition-idp-treating-blank-spaces-as-a-valid-character-in-the-username-input-box/44026/1 "2021-03-03T06:44:57Z")

</div>

I’m using Ignition’s IDP for my project and noticed that the UI will reject the login if the username has a blank space in it. Eg. if I login with "rachel ", I will get the “user/pass combination is invalid” error. Can I please request for blank spaces to be stripped from the username before authentication? Thanks

---

<div class="post-metadata">

**Author:** ![justin.brzozoski](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/justin.brzozoski/32/13452_2.png) [@justin.brzozoski](https://forum.inductiveautomation.com/u/justin.brzozoski)\
**Post date:** [March 3, 2021, 5:39pm UTC](https://forum.inductiveautomation.com/t/ignition-idp-treating-blank-spaces-as-a-valid-character-in-the-username-input-box/44026/2 "2021-03-03T17:39:42Z")

</div>

Usernames in the database can start/end with spaces, and being able to type in that space is necessary to login to those accounts.

I know this from accidental experience. 🤕
