Uploaded image for project: 'Project Quay'
  1. Project Quay
  2. PROJQUAY-7662

RegEx validation preformed on username before username is confirmed.

XMLWordPrintable

    • 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

              Unassigned Unassigned
              dshoemak@redhat.com Daniel Shoemaker
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated: