Uploaded image for project: 'Identity Gateway'
  1. Identity Gateway
  2. OPENIG-1152

Facebook Social Authentication not working when OpenAM is proxied behind OpenIG

    Details

    • Support Ticket IDs:
    • Sprint:
      OpenIG Sprint 110

      Description

      This issue comes only when OpenAM is proxied behind OpenIG.

      Steps:
      1. Configure OpenAM social authentication with facebook.
      2. Proxy OpenAM behind OpenIG
      3. Perform user authentication. After facebook authentication user gets redirected to OpenAM login page.

      This issue occurs as OpenAM is reading partial value for ORIG_URL and PROXY_URL cookies:

      Cookie ORIG_URL="/openam?realm=%2Femployees&service=FacebookSocialAuthenticationService&authIndexType=service&authIndexValue=FacebookSocialAuthenticationService"

      Without OpenIG, OpenAM reads ORIG_URL properly:
      OAuthUtil.findCookie()Cookie ORIG_URL found. Content is: /openam?realm=%2Femployees&service=FacebookSocialAuthenticationService&authIndexType=service&authIndexValue=FacebookSocialAuthenticationService

      With OpenIG, OpenAM reads ORIG_URL till '?':
      OAuthUtil.findCookie()Cookie ORIG_URL found. Content is: /openam

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                markdr Mark de Reeper
                Reporter:
                charan.mann Charan Mann
              • Votes:
                0 Vote for this issue
                Watchers:
                7 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: