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

Social Auth Service doesn't redirect if already using another chain

    Details

    • Sprint:
      AM Sustaining Sprint 56, AM Sustaining Sprint 57, AM Sustaining Sprint 58
    • Story Points:
      5
    • Support Ticket IDs:
    • Verified Version/s:
    • Needs QA verification:
      Yes
    • Functional tests:
      No
    • Are the reproduction steps defined?:
      Yes and I used the same an in the description

      Description

      Bug description

      The Google Social Auth button is shown when using a different chain e.g. http://am.example.com:8080/openam/#login/&service=ldapService. If you click the Social Auth button, XUI adds the service to the URL but doesn't remove the original service (ldapService). AM can't redirect to Google because the URL is now http://am.example.com:8080/openam/XUI/?service=GoogleSocialAuthenticationService&service=ldapService#login/. Repeated attempts also fail, it still shows the original service.

      How to reproduce the issue

      1. Create Social Auth for Google via Common Tasks
      2. Create OAuth2 client and secret via https://console.developers.google.com/apis/dashboard
      3. Go to http://am.example.com:8080/openam/#login/&service=ldapService
      4. Click the Google button
      Expected behaviour
      Redirect to the Social Auth chain
      Current behaviour
      Stays on current chain
      

      Work around

      Go directly to the Social Auth chain

       

        Attachments

          Activity

            People

            • Assignee:
              lawrence.yarham Lawrence Yarham
              Reporter:
              aaron.haskins Aaron Haskins
            • Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: