
CamiloT.32299 (Customer) asked a question.
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.ctc2828@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?

Hello @CamiloT.32299 (Customer)
Good afternoon The Okta password can accept the following characters: " ! # $ % & ’ ( ) * + , - . / \ : ; < = > ? @ [ ] ^ _ ` { | } ~*Note - When using an API to set a password, in as example Postman, with a JSON string - some characters / combinations of characters will need to be taken into consideration and escaped as seen below.
The following characters are reserved in JSON and must be properly escaped to be used in strings:
This Applies To
Have a great day ahead
Regards
But for example
**email:** test.ctc2828@gmail.com
**password:** Atestaaa2
As you can see email contains a "." the word is split in "test" and "ctc2828" those 2 words are validating against the password to see if either "test" or "ctc2828" is contained into the password. In this case password contains word "test" if I try to set password I got password policy error saying username can not be included in the password.