# Okta password policy username separated with special characters

**URL:** <https://devforum.okta.com/t/okta-password-policy-username-separated-with-special-characters/18189>\
**Category:** Questions\
**Created:** [November 22, 2021, 9:38pm UTC](https://devforum.okta.com/t/okta-password-policy-username-separated-with-special-characters/18189 "2021-11-22T21:38:25Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![camilo.torresc](https://avatars.discourse-cdn.com/v4/letter/c/dfb087/32.png) [@camilo.torresc](https://devforum.okta.com/u/camilo.torresc)\
**Post date:** [November 22, 2021, 9:38pm UTC](https://devforum.okta.com/t/okta-password-policy-username-separated-with-special-characters/18189/1 "2021-11-22T21:38:25Z")

</div>

Hi all,

I am checking set password methods and there is a rule that says no parts of your username should be in the password.

If I use this  
**email:** [test.ctc28282442@gmail.com](mailto:test.ctc28282442@gmail.com)  
**password:** Atestaaa2

I got error saying that username can not be part of the password I assume username in the email is being split by “.” similar case for “-” and “\_” but if I try with a “+” instead of “.” I am able to set the password.

Do you know which characters are being taking into account for splitting username?

---

<div class="post-metadata">

**Author:** ![andrea](https://sea1.discourse-cdn.com/oktadev/user_avatar/devforum.okta.com/andrea/32/2172_2.png) [@andrea](https://devforum.okta.com/u/andrea)\
**Post date:** [February 8, 2024, 7:59pm UTC](https://devforum.okta.com/t/okta-password-policy-username-separated-with-special-characters/18189/2 "2024-02-08T19:59:50Z")

</div>


