Uploaded image for project: 'OpenShift Bugs'
  1. OpenShift Bugs
  2. OCPBUGS-8274

skip /api/request-token request when auth is disabled

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done-Errata
    • Blocker
    • 4.14.0
    • 4.13
    • Management Console
    • None
    • No
    • False
    • Hide

      None

      Show
      None
    • N/A
    • Release Note Not Required

    Description

      Description of problem:

      when run local bridge with auth disabled, we can see error
      GET http://localhost:9000/api/request-token 404 (Not Found) 

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

      latest master

      How reproducible:

      Always

      Steps to Reproduce:

      1. fetch latest openshift/console code and build
      2. run local bridge './bin/bridge'
      3.
      

      Actual results:

      visiting localhost:9000 we can see errors GET http://localhost:9000/api/request-token 404 (Not Found) 

      Expected results:

      maybe we should skip /api/request-token request when auth is disabled, as suggested in https://github.com/openshift/console/pull/12553#discussion_r1103151813

      Additional info:

       

       

      Attachments

        Activity

          People

            rh-ee-jonjacks Jon Jackson
            rhn-support-yapei YaDan Pei
            Xiyun Zhao Xiyun Zhao
            Votes:
            0 Vote for this issue
            Watchers:
            9 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: