Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bug: Username is empty and no prompt to modify username when creating a new user via email #5707

Open
cuixiaorui opened this issue Apr 13, 2024 · 4 comments
Labels
pending-verification Something is still under investigation stale

Comments

@cuixiaorui
Copy link

cuixiaorui commented Apr 13, 2024

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.

image image
@simeng-li
Copy link
Contributor

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?

@simeng-li simeng-li added the pending-verification Something is still under investigation label Apr 15, 2024
@baboon-king
Copy link

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 xxx.@gmail.com, but my public username is "baboon-king", and my nickname is "BaboonKing".

@simeng-li
Copy link
Contributor

You may implement a user profile fulfilling page on your app side using Logto management API. Please check this doc for reference.

@simeng-li simeng-li removed the bug Something isn't working label Apr 17, 2024
Copy link

github-actions bot commented May 2, 2024

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.

@github-actions github-actions bot added the stale label May 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
pending-verification Something is still under investigation stale
Development

No branches or pull requests

3 participants