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

Realm override query parameter on login not overriding realm

    Details

    • Sprint:
      Sprint 84 - Team Tesla
    • Support Ticket IDs:

      Description

      After the user has been redirected from registering a UMA resource set with the URL...

      http://phil.openam.com:8080/openam/XUI/?realm=/realm1#uma/share/07bd76fc-634d-4a5a-892a-2c5356b893e10

      ...the XUI redirects back to the following URL as the user is not logged in (preserving the realm override parameter)...

      http://phil.openam.com:8080/openam/XUI/?realm=/realm1#login/

      ...which translates to a call on the API with the following signature...

      http://phil.openam.com:8080/openam/json/realm1/users/demo?realm=/realm1

      ...which should override the realm with /realm1, however the following error is being encountered

      {"code":400,"reason":"Bad Request","message":"Invalid realm, /realm1/realm1"}
      

      The realm query parameter should override the realm and not append to it

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                phillcunnington Phill Cunnington
                Reporter:
                phil.ostler Phil Ostler [X] (Inactive)
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: