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

request binding chosen for SP initiated SSO should be based on the capabilities of the IdP

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 11.0.0, 11.0.1, 11.0.2, 11.0.3, 12.0.0, 12.0.1, 12.0.2, 12.0.3, 13.0.0
    • Fix Version/s: 12.0.5, 13.5.1, 14.0.0
    • Component/s: SAML
    • Labels:
    • Sprint:
      AM Sustaining Sprint 28
    • Support Ticket IDs:

      Description

      Configure OpenAM as hosted SP and import meta data of a remote IdP which only supports HTTP POST binding.

      When performing SP-initiated SSO OpenAM will bailout with and exception like

      ERROR: Error sending AuthnRequest
      com.sun.identity.saml2.common.SAML2Exception: Could not find Single Sign-on Service URL.
      at com.sun.identity.saml2.profile.SPSSOFederate.initiateAuthnRequest(SPSSOFederate.java:260)
      at com.sun.identity.saml2.profile.SPSSOFederate.initiateAuthnRequest(SPSSOFederate.java:142)
      

      as by default HTTP Redirect binding is used. To solve this one has to explicitly specify request parameter reqBinding=urn:oasis:names:tc:SAML:2.0:bindings:HTTP-POST although the IdP only supports that binding.

      Instead of defaulting to HTTP Redirect binding in any case it should only default to a binding if more than one binding is supported by the IdP

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                jonthomas Jonathan Thomas
                Reporter:
                bthalmayr Bernhard Thalmayr
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - 0h
                  0h
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 8h
                  8h