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

RHOCP 4.x web console shows a blank page and redirects to an 'invalid_state' error after successful user authentication.

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Critical Critical
    • None
    • 4.15.z, 4.17.z, 4.16.z, 4.18.z, 4.19.z, 4.20.z
    • 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:

          After a user successfully authenticates with valid credentials on the RHOCP login page, the web console fails to load. Instead, the browser displays a blank white page and the URL in the browser address bar is: https://<CLUSTER_URL>/auth/error?error=invalid_state&error_type=auth  

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

          

      How reproducible:

          Always

      Steps to Reproduce:

          1. Copy the Oauth URL and open it in a private windows
          2. Login with correct Username/Password.
          3. the web console shows blank with an error URL: https://<CLUSTER_URL>/auth/error?error=invalid_state&error_type=auth     

      Actual results:

          The web console shows blank page

      Expected results:

          Web console should either show an error on login page itself or the successful login should be redirected to correct page. A better handling is expected.

      Additional info:

      The correct flow should be: Console URL -> Oauth URL -> Select IDP -> Username/Password -> Login
      
      However, users generally bookmark the Oauth URL with state and even after a successful login, the web console stays blank with an error URL: https://<CLUSTER_URL>/auth/error?error=invalid_state&error_type=auth  

       

              rh-ee-leoli Leo Li
              rhn-support-ssardar Sameer Sardar
              None
              None
              YaDan Pei YaDan Pei
              None
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated: