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

XUI displays "Loading..." when accessing another realm in a different browser tab

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Duplicate
    • Affects Version/s: 12.0.2
    • Fix Version/s: None
    • Component/s: XUI
    • Labels:
      None

      Description

      Using 12.0.2 with the XUI enabled:

      1. Create two realms - ABC and DEF along with a user that can login.
      2. Go to http://server/openam/XUI/#login/realm=ABC and login.
      3. Open a new tab in Firefox and go to http://server/openam/XUI/#login/realm=DEF - the result is that the browser simply displays Loading... and does not proceed. It might be expected that the user is prompted to login to the other realm.

      The CoreSystem log contains the following:

      amIdentityServices:10/10/2015 12:38:57:811 AM BST: Thread[http-nio-8080-exec-5,5,main]
      ERROR: IdentityServicesImpl:read
      Message:Permission to perform the read operation denied to id=user1,ou=user,o=abc,ou=services,dc=openam,dc=forgerock,dc=org
      
          at com.sun.identity.idm.server.IdServicesImpl.checkPermission(IdServicesImpl.java:2780)
          at com.sun.identity.idm.server.IdServicesImpl.getMemberships(IdServicesImpl.java:975)
      ......
      frRest:10/10/2015 12:38:57:811 AM BST: Thread[http-nio-8080-exec-5,5,main]
      ERROR: IdentityResource.readInstance() :: Cannot READ andy:com.sun.identity.idsvcs.AccessDenied: Permission to perform the read operation denied to id=user1,ou=user,o=abc,ou=services,dc=openam,dc=forgerock,dc=org
      

      Running the same test with the Classic interface:

      1. Go to http://server/openam/UI/Login?realm=ABC and login.
      2. Open a new browser tab and go to http://server/openam/UI/Login?realm=DEF - the result is that it correctly displays:

      You have already logged in. Do you want to log out and then login to a different organization?

      YES | NO

      Clicking NO displays the logged in user profile as expected.
      Clicking YES returns to the login page.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                andy.itter Andy Itter
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: