0 Replies Latest reply on Jul 13, 2017 12:03 PM by Diego Lopez

    How to set ProtocolBinding to redicet in IdP reply

    Diego Lopez Newbie



      We are using ADFS as the SAML idp for our applications. For some reasons we need ADFS to reply using a redirect binging, not a post binding.


      We have set picketlink.xml like this:

        <PicketLinkSP xmlns="urn:picketlink:identity-federation:config:2.1" BindingType="REDIRECT">


      This has caused our application to use redirect when it calls the IdP but has not changed the binding element in the request. SAML requests looks like this:


      <?xml version="1.0" encoding="UTF-8"?>


          AssertionConsumerServiceURL="application url"

          Destination="adfs url" ForceAuthn="false"

          ID="_1499958212546_eaa8b869b80e78aaf86d5be01395f502" IsPassive="false"


          ProtocolBinding="urn:oasis:names:tc:SAML:2.0:bindings:HTTP-POST" Version="2.0"


          <saml2:Issuer xmlns:saml2="urn:oasis:names:tc:SAML:2.0:assertion"sp id</saml2:Issuer><saml2p:NameIDPolicy AllowCreate="true" Format="urn:oasis:names:tc:SAML:2.0:nameid-format:transient"/></saml2p:AuthnRequest>


      And would like the ProtocolBinding to be like this:


          ProtocolBinding="urn:oasis:names:tc:SAML:2.0:bindings:HTTP-REDIRECT" Version="2.0"


      How can we achieve this?