logto
logto copied to clipboard
bug: Username is empty and no prompt to modify username when creating a new user via email
Version: v1.15.0
Description: When creating a new user through the email registration process, the following issues were observed:
Empty Username: Upon completing the email registration flow, the system does not assign or prompt for a username, resulting in the username field being empty for newly created users. Missing Username Modification Popup: Typically, if a user does not set a username during registration, the system should prompt with a popup to enter or modify the username. However, this popup does not appear when registering via email. In contrast, when registering through the username and password method, neither of these issues occurs. Users can set their username normally, and the username modification popup appears when necessary.
Steps to Reproduce: Click on the register button and choose to register via email. Enter the email address, receive and input the verification code. Complete the registration process and observe whether the username is set and if the username modification popup appears. Expected Result: Whether registering via email or username and password, users should have a non-empty username after completing the registration process, and the system should prompt for username modification when needed.
Actual Result: When registering via email, the username remains empty, and no username modification popup appears.
Users may use the email + password sign-in method directly based on your current SIE settings.
Is there any particular reason you would like to make the username mandatory for email-registered users?
Users may use the email + password sign-in method directly based on your current SIE settings. Is there any particular reason you would like to make the username mandatory for email-registered users?
The general idea is to give users a recognizable logo when they register. Using Github as an example: my e-mail address is [email protected], but my public username is "baboon-king", and my nickname is "BaboonKing".
You may implement a user profile fulfilling page on your app side using Logto management API. Please check this doc for reference.
This issue is stale because it has been open for 30 days with no activity. Remove stale label or comment or this will be closed in 5 days.