Lowercase User Names

Q: I am integrating AuthRocket and noticed that usernames are saved lowercased. Is this by design?


A: It is by design. Usernames are always lowercased and must be unique. This is, in part, because we use them as a unique key—you can actually substitute a username for the user’s ID for many of the user-related API calls.

To store a non-unique or case-sensitive username, use either the first_name field or a custom field.

Another option is using the email address as the username. Then you can look up users directly by email/username without any kind of conversion step.

Tagged with: usernames users

Questions? Find a Typo? Get in touch.