Uploaded image for project: 'SAML for Atlassian Data Center'
  1. SAML for Atlassian Data Center
  2. SAMLDC-89

4.2.x breaks ZDU when there's a Johnson dismissible warning

XMLWordPrintable

      Issue Summary

      When you have more than one authentication method set up in Jira, enables ZDU and start upgrading your nodes, if there's a dismissible warning then you won't be able to ignore the errors and continue.

      The UI will break with the following error when you hit "Ignore all warnings and continue"

      This happens because the new authentication methods provided by the plugin version 4.2 retrieves the available directories through the endpoint /rest/authconfig/1.0/login-options, however, this endpoint is not whitelisted on Johnson's filter whitelist so a 503 is received by the plugin when trying to retrieve it:

      Steps to Reproduce

      1. Set up more than one authentication method in Authentication Methods (available as of 4.12)
      2. Put the cluster in upgrade mode and upgrade a single node.
      3. The node should either have some sort of configuration problem that would prompt a warning Johnson Page;
      4. Click the "Ignore all warnings and continue" button

      Expected Results

      The admin is able to dismiss the warnings page and log in on the node.

      Actual Results

      The user is unable to log in, so the error message cannot be dismissed from the UI.

      Workaround

      The workaround is to fix the warnings.

      Notes

      Starting in Jira 8.16, we have upgraded the Postgres driver version. This new version enforces the socketTimeout parameter (JRASERVER-71982) and will bring Johnson's warning page if the user doesn't add them, thus increasing the likelihood of users facing this problem.

              ppetrowski Patryk
              rbaldasso Rodrigo Baldasso
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: