-
Notifications
You must be signed in to change notification settings - Fork 7.9k
Closed as not planned
Closed as not planned
Copy link
Labels
area/user-profilekind/bugCategorizes a PR related to a bugCategorizes a PR related to a bugpriority/importantMust be worked on very soonMust be worked on very soonstatus/auto-expirestatus/expired-by-botteam/core-iam
Description
Before reporting an issue
- I have read and understood the above terms for submitting issues, and I understand that my issue may be closed without action if I do not follow them.
Area
admin/ui
Describe the bug
Creating a user with japanese signs in the local part of an email address fails without an error message, in the admin UI.
- Create a realm with email as username setting
- Go to Admin UI and create a user with this email address:
あいうえお@example.com - Click "Create" -> nothing happend in the frontend
In the backend, there was a 400 error thrown.
This kind of email address is technically not a valid email address. The UI validation and the api validation should reject this kind of email address. But not the email validator is the source of the error, instead the username validator throws the error.
When you try to create a user with this email address via Admin API, you will get this error:
Error creating user: error-username-invalid-character
Maybe related to:
Version
26.1.1
Regression
- The issue is a regression
Expected behavior
The email validator should reject this kind of email addresses generally, in the UI and in the API.
Actual behavior
See Bug description.
How to Reproduce?
- Create a realm with email as username setting
- Go to Admin UI and create a user with this email address: あいうえお@example.com
- Click "Create" -> nothing happend in the frontend
Anything else?
No response
Metadata
Metadata
Assignees
Labels
area/user-profilekind/bugCategorizes a PR related to a bugCategorizes a PR related to a bugpriority/importantMust be worked on very soonMust be worked on very soonstatus/auto-expirestatus/expired-by-botteam/core-iam