Skip to content

feature request: Add an option to adjust the length of the username.Β #8311

@imJack6

Description

@imJack6

What problem did you meet?

I'm used to using the username field to display user nicknames in web applications, but the default allowed length of 128 characters is too long for me. Although I implemented a length limit through my own API, I would prefer that users set their usernames during the registration phase, since I've set the username as a mandatory identifier for registration. It would be great if the username length could be limited directly in Logto, so that users wouldn't be able to set such long usernames during the registration phase.

Describe what you'd like Logto to have

Add an option to set the maximum and minimum username length, similar to the "Input length" option in "Collect user profile" (I'm not using Nickname because the naming convention for Username suits me perfectly, so I'll just use Username directly).

Metadata

Metadata

Assignees

No one assigned

    Labels

    feature-requestSomething cool or not coolstatus/not-plannedCurrently we have no resource to do it. But contribution is welcome.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions