<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
0D54z00008KAqAxCALOkta Classic EngineAuthenticationAnswered2025-12-02T09:01:09.000Z2022-11-01T21:37:51.000Z2022-11-02T20:18:53.000Z

k5e2v (k5e2v) asked a question.

Usernames being completed by browser autofill with spaces

Hi, We have come across some users that have autofil enabled on their browser which populates their username with a space after it. This then returns an invalid credential at logon.

 

Is there a way for Okta to look for and trim spaces when a username is entered?

 

Thanks

Jess


  • MatthewH.10249 (State of Iowa)

    I just ran 3 tests on our Production Okta Classic tenant and it seems spaces are being removed when after a username as I was allowed to login with no issues each time. I was using our Okta hosted widget so I'm not sure how it works if you are app hosting the Okta widget.

     

    Test 1 -- used 2 spaces before my username (SUCCESS)

    Test 2 -- used 2 spaces after my username (SUCCESS)

    Test 3 -- use 2 spaces before and 2 spaces after my username (SUCCESS)

    Expand Post
  • k5e2v (k5e2v)

    Thank you Matthew! I have tested this too and found the same, I'll assume incorrect diagnosis from the person who reported it. Appreciate your time.

This question is closed.
Loading
Usernames being completed by browser autofill with spaces