Uploaded image for project: 'Platform'
  1. Platform
  2. PLAT-54

Login Component should route to the redirect URL on log in

    XMLWordPrintable

    Details

    • Type: New Feature
    • Status: Closed
    • Priority: Should
    • Resolution: Fixed
    • Labels:
    • Complexity:
      Low

      Description

      Currently, irrespective of whether there is a redirect URL appended in the query string, the login component always redirects to the root route "/". This can be inconveniencing to users.
      This ticket should implement a feature that allows users on log in to be routed to the redirect URL.

      For example:
      If a user tries to access the addOn manager OWA at this URL:http://localhost:8080/openmrs/owa/addonmanager/index.html#/ and they are not logged in, the user is redirected to the platformui login page with the URL:
      http://localhost:8080/openmrs/owa/openmrs-owa-platformui/index.html#/login?redirect=http://localhost:8080/openmrs/owa/addonmanager/index.html#/
      On successful login, the user should be redirected to the addOn manager at the redirect URL.

        Attachments

          Activity

            People

            Assignee:
            sibo Donald Sibo
            Reporter:
            sibo Donald Sibo
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: