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

Agent 5 authenticate with a wrong sub realm

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 5.0.0.2, 5.5.0.0
    • Fix Version/s: None
    • Component/s: Web Agents
    • Labels:
    • Environment:
      5.0.0.3-M2
    • Target Version/s:
    • Support Ticket IDs:

      Description

      Bug description

      Agent 5 authenticate with a wrong sub realm

      How to reproduce the issue

      Setup an external datastore

      Setup OpenAM 5.5.1 with a sub realm - Customers

      Setup Agent 5 ( I am using 5.0.0.3-M2 ) and point to the sub realm 's agent profile.

      eg

      com.sun.identity.agents.config.login.url[0]=http://openam.internal.example.com:8080/openam/UI/Login?realm=Customers

       

      Access the protected page and noticed that the redirection URL is still at root realm

      http://openam.internal.example.com:8080/openam/XUI/?realm=%2F&goto=http%3A%2F%2Fopenam.internal.example.com%3A8080%2Fopenam%2Foauth2%2Fauthorize%3Fresponse_type%3Did_token%26scope%3Dopenid%26client_id%3Dwebagent%26redirect_uri%3Dhttp%253A%252F%252Feave.internal.example.net%253A8000%252Fagent%252Fcdsso-oauth2%26state%3Da116cb8c-0eba-9c4b-9765-3afd2b8c034a%26nonce%3DAF24C47E39AB19CDC3EC339969970A92%26response_mode%3Dform_post%26agent_provider%3Dtrue%26agent_realm%3D%252FCustomers#login/

       

      Login using an id found only in the external datastore. It will fail.

      Expected behaviour
      it should redirect to the sub realm 
      
      Current behaviour
      It is redirected to the root realm
      

       

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              alex.levin@forgerock.com Alex Levin
              Reporter:
              sam.phua Sam Phua
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

                Dates

                Created:
                Updated: