Uploaded image for project: 'OpenAM Agents'
  1. OpenAM Agents
  2. AMAGENTS-3493

Custom login redirection add original_request_url parameter which is not used

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: 5.7.0, 5.8.0
    • Fix Version/s: None
    • Component/s: Doc, Web Agents

      Description

      Custom login redirection add original_request_url parameter which is not used. This parameter was required by customer for their internal configuration, it is unclear if this parameter is used by this customer. Agent does not use it and it is redundant in the URL so it odes not make sense to keep it.

      Steps to reproduce

      1.) Enable custom login

      2.) Set AM login URL, e.g:
       http://customloginpage.agent.localtest.me:9191/
      3.) Access to agent page and observe the redirect request (or location header)

      Observed

      Location: http://customloginpage.agent.localtest.me:9191/?goto=https%3A%2F%2Fagent.localtest.me%3A443%2Fagent%2Fcustom-login-response%3Fstate%3D-NQAv7xsFDDbKMlsGuXbL5OkeHs&original_request_url=https%3A%2F%2Fagent.localtest.me%3A443%2Findex.html 

      original_request_url is present

      Expected:

       Location: http://customloginpage.agent.localtest.me:9191/?goto=https%3A%2F%2Fagent.localtest.me%3A443%2Fagent%2Fcustom-login-response%3Fstate%3D-NQAv7xsFDDbKMlsGuXbL5OkeHs

       

      Possible solutions:

      • delete this parameter from agent
      • property to enable this parameter
      • delete this parameter from agent master, but create a branch where this functionality is present for customer which use it

      Note: This property does not have effect on agent functionality

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              Unassigned Unassigned
              Reporter:
              richard.hruza Richard Hruza
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Dates

                Created:
                Updated: