Uploaded image for project: 'OpenAM'
  1. OpenAM
  2. OPENAM-15257

XUI freezing when /authenticate returns unhandled http result codes

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 6.0.0.7
    • Fix Version/s: 6.0.1, 6.5.3, 7.0.0, 5.5.2
    • Component/s: None
    • Labels:
    • Sprint:
      AM Sustaining Sprint 65, AM Sustaining Sprint 66
    • Story Points:
      3
    • Needs backport:
      No
    • Support Ticket IDs:
    • Needs QA verification:
      No
    • Functional tests:
      No
    • Are the reproduction steps defined?:
      Yes and I used the same an in the description

      Description

      Bug description

      When /authenticate returns a 400 http error, the XUI is unable to handle it resulting in the XUI freezing.  The http result code 200, 401 and 500 seem to be the only ones handled by XUI 

      How to Reproduce the issue

      1. Vanilla install of AM http://openam.example.com:8080/openam 
      2. Add www.example.com as a site alias
      3. Add www.example.com to Configure > Global Services > Platform > 
      4. install httpd and add the following to the config /etc/httpd/conf/httpd.conf 
        RewriteEngine on
        IncludeOptional conf.d/*.conf
        <Location "/">
            ProxyPass "http://openam.example.com:8080/"
        </Location>
        RewriteRule "/authenticate$" - [F,L] 

         

      1. attempt to access www.example.com/openam which should result in a 401 error being returned from the /authenticate endpoint resulting in the XUI just displaying loading..

       ** screenshot and har file attached 

        Attachments

          Activity

            People

            • Assignee:
              lawrence.yarham Lawrence Yarham
              Reporter:
              eliot.kerslake Eliot Kerslake
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: