Uploaded image for project: 'Migration Toolkit for Virtualization'
  1. Migration Toolkit for Virtualization
  2. MTV-3482

UI: OCP provider bearer token field doesn't validate correctly

XMLWordPrintable

      Description of problem:

      When editing an OCP provider's credentials, the bearer token field doesn't seem to be validated correctly which prevents submitting the form. Replacing the bearer token with another valid bearer token will cause that field to be marked invalid. Editing a different field instead can cause the entire form to be marked invalid with an error message related to the token. Fiddling around with the contents of the fields can eventually get the validation to pass. In both of the screenshots that have been attached the bearer token is valid but the form cannot be submitted.

      Version-Release number of selected component (if applicable):

       

      How reproducible:

      Always

      Steps to Reproduce:

      1. Create an OCP provider with a bearer token
      2. Edit the OCP provider to toggle the TLS verification switch
      3. Observe that the form cannot be submitted due to a bearer token validation failure

      Actual results:

      The form refuses to validate.

      Expected results:

      The form should validate and submit.

      Additional info:

      Sometimes, experimenting with adding and removing whitespace from the end of the bearer token will let the form validate.

        1. Screen Recording 2025-10-21 at 2.37.00 PM.mov
          4.04 MB
          Pedro Abreu
        2. Screenshot From 2025-09-19 08-38-25.png
          137 kB
          Samuel Lucidi
        3. Screenshot From 2025-09-19 08-38-35.png
          5.95 MB
          Samuel Lucidi

              jephilli@redhat.com Jeffrey Phillips
              slucidi@redhat.com Samuel Lucidi
              Pedro Abreu Pedro Abreu
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

                Created:
                Updated:
                Resolved: