<iframe src="https://www.googletagmanager.com/ns.html?id=GTM-M74D8PB" height="0" width="0" style="display:none;visibility:hidden">
Loading
Skip to NavigationSkip to Main Content
0D54z00007IX03hCADOkta Identity EngineWorkflowsAnswered2021-11-23T18:50:52.000Z2021-11-22T21:43:23.000Z2021-11-23T18:50:52.000Z

CamiloT.32299 (Customer) asked a question.

Okta password policy username separated with special characters

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:

    • Double quote is replaced with \"
    • Backslash is replaced with \\

    This Applies To

    • Okta Password
    • Okta Mastered Users

    Have a great day ahead

    Regards

     

    Expand Post
    • CamiloT.32299 (Customer)

      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.

      Expand Post
This question is closed.
Loading
Okta password policy username separated with special characters