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

[release-4.19] console headers are empty when used from a dynamic plugin

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Undefined Undefined
    • None
    • 4.19
    • Management Console
    • None
    • Quality / Stability / Reliability
    • False
    • Hide

      None

      Show
      None
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      Description of problem:

      The function getConsoleRequestHeaders provided by the dynamic plugin SDK returns empty headers

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

      4.19

      How reproducible:

      Always

      Steps to Reproduce:

      1. Start the dynamic demo plugin and the console from this PR: https://github.com/jgbernalp/console/tree/console-headers-test
      2. Navigate to http://localhost:9000/test-utility-consumer    

      Actual results:

      See that the headers are empty, when at least the CSRF token should be there. 

      Expected results:

      The CSRF token should be added as a `X-CSRFToken` header

      Additional info:

          

              rh-ee-leoli Leo Li
              gbernal@redhat.com Gabriel Bernal
              None
              None
              YaDan Pei YaDan Pei
              None
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated: