-
Bug
-
Resolution: Unresolved
-
Normal
-
None
-
quay-v3.9.1, quay-v3.10.0, quay-v3.11.0, quay-v3.12.0
-
False
-
None
-
False
-
User Experience
-
-
-
Important
Describe your problem. Include specific actions and error messages.
When the authentication provider provides a username that is sanitized into an invalid value and `FEATURE_USER_CONFIRMATION: true` is configured users can not create accounts and receive the error "Invalid namespace first_last_-new: Namespace must match expression ^([a-z0-9](?:[._-][a-z0-9])*)$"
Expected Behavior:
User should be given an opportunity to change/correct their account name before the name is validated.
Reproduction:
Configure authentication provider, such as OIDC
User logs into Quay for the first time.
Auth provider returns a value such as 'first.last.-new@company.local'
Quay displays the above error can user can not change their username to create an account.
Additional information:
This appears to be new behavior in 3.9 because of PROJQUAY-5253
Describe the impact to you or the business
New users can not use Quay; as required to perform their job.
In what environment are you experiencing this behavior?
production
How frequently does this behavior occur? Does it occur repeatedly or at certain times?
All new accounts