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

XUI: If you hit different realm than you logged, there is no option to stay in current realm

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Duplicate
    • Affects Version/s: 13.0.0
    • Fix Version/s: None
    • Component/s: XUI
    • Environment:
      OpenAM 13.0.0-SNAPSHOT Build 3c3d1dc7ea (2015-November-24 01:49)

      Description

      If you hit different realm than you logged, there is no option to stay in current realm

      STEPS TO REPRODUCE

      1.) Login to Top lvl. realm
      http://riso-centos7.test.forgerock.com:8080/openam/XUI/#login/
      2.) Hit the SubRealm
      http://riso-centos7.test.forgerock.com:8080/openam/XUI/#login/&realm=subrealm

      Observed behavior:

      "Forbbiden request error" observed and redirected to login page
      iPDP cookie is deleted from browser, but session stayed in AM
      Browser request:

      http://riso-centos7.test.forgerock.com:8080/openam/json/users/demo?realm=subrealm
      
      code: 403
      message: "Permission to perform the read operation denied to id=demo,ou=user,dc=openam,dc=forgerock,dc=org"
      reason: "Forbidden"
      

      Expected behavior:

      You should see the screen for choose an Organization wit message:
      "You have already logged in. Do you want to log out and then login to a different organization?"
      If you choose "Yes" = session from AM is deleted and iPDP cookie is deleted from browser
      If you choose "No" = redirected back to end user page

      Thi issue is not true for UI, here is example from UI:

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved: