Uploaded image for project: 'Nuxeo Platform'
  1. Nuxeo Platform
  2. NXP-31028

Redirection bug logging in local development

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: 2021.20
    • Fix Version/s: None
    • Component/s: Web UI

      Description

      When running Web UI locally and we try to log in, we are now redirected to an address that looks something like this:
      http://0.0.0.0:5000/nuxeo/login.jsp?requestedUrl=http://0.0.0.0:5000/

      Trying to log in with this address will redirect to "http://0.0.0.0:5000/nuxeo/startup", which is not valid.

      If we remove the "requestedURL" parameter, we can indeed login, however, we will be redirected once again to port 8080 (check the video).

      Looking into the code, we see that this commit might introduced this bug: https://github.com/nuxeo/nuxeo-lts/commit/5c9fd3e1d54ee4d03e71c4fe83f9f82cc9221b4e

      If we go through the same reproduction steps with nuxeo server v2021.3.1 (before this code was merged) we can confirm it works as expected.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                sfialho Samuel Fialho
                Participants:
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated: