I am using v5.2.9. I've set the *cas.authn.pac4j.saml[0].destinationbinding=urn:oasis:names:tc:SAML:2.0:bindings:HTTP-POST.* I do see POST body is being created according to the log, is POST binding not fully supported yet in this version? Or am I missing jar files in build to associate Velocity objects to be able to send SAML request with http POST? Thank you. 2020-09-09 23:03:11,902 DEBUG [org.pac4j.saml.transport.Pac4jHTTPPostEncoder] - <Initialized Pac4jHTTPPostEncoder> 2020-09-09 23:03:11,902 DEBUG [org.pac4j.saml.transport.Pac4jHTTPPostEncoder] - <Invoking Velocity template to create POST body> 2020-09-09 23:03:11,902 DEBUG [org.pac4j.saml.transport.Pac4jHTTPPostEncoder] - <Encoding action url of 'https://auth.pingone.com/198f2df8-575d-4e67-9c83-9693476dd6b7/saml20/idp/sso' with encoded value 'https://auth.pingone.com/198f2df8-575d-4e67-9c83-9693476dd6b7/saml20/idp/sso'> 2020-09-09 23:03:11,902 DEBUG [org.pac4j.saml.transport.Pac4jHTTPPostEncoder] - <Marshalling and Base64 encoding SAML message> 2020-09-09 23:03:11,902 DEBUG [org.pac4j.saml.transport.Pac4jHTTPPostEncoder] - <Marshalling message> 2020-09-09 23:03:11,902 DEBUG [org.opensaml.core.xml.util.XMLObjectSupport] - <Marshalling XMLObject> 2020-09-09 23:03:11,902 DEBUG [org.opensaml.core.xml.util.XMLObjectSupport] - <XMLObject already had cached DOM, returning that element> 2020-09-09 23:03:11,903 DEBUG [org.pac4j.saml.transport.Pac4jHTTPPostEncoder] - <Setting RelayState parameter to:
On Thursday, September 10, 2020 at 1:00:56 AM UTC-5 leleuj wrote: > Hi, > > You should be able to configure the POST binding for the SAML authn > request via the following property: > *cas.authn.pac4j.saml[0].destination-binding* (in v6.2). > Though, it may not work in old CAS versions. > Thanks. > Best regards, > Jérôme > > > Le mer. 9 sept. 2020 à 23:06, Peter Lee <[email protected]> a écrit : > >> Hi all, trying to set up our application sso using cas delegated to >> external idp. When the idp requires the POST binding for sso, for our >> customized login page, what is the interface do i call to get saml request >> and url to set to the http post? we've made redirect binding work by >> getting redirecturl from pac4jUrls. But I can't find objects for POST >> binding though I do see in the log that "Invoking Velocity template to >> create POST body" in Pac4jHTTPPostEncoder . Thanks a lot in advance. >> >> -- >> - Website: https://apereo.github.io/cas >> - Gitter Chatroom: https://gitter.im/apereo/cas >> - List Guidelines: https://goo.gl/1VRrw7 >> - Contributions: https://goo.gl/mh7qDG >> --- >> You received this message because you are subscribed to the Google Groups >> "CAS Community" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to [email protected]. >> To view this discussion on the web visit >> https://groups.google.com/a/apereo.org/d/msgid/cas-user/7cb8829a-d699-43d0-b7dd-78dad44b059en%40apereo.org >> >> <https://groups.google.com/a/apereo.org/d/msgid/cas-user/7cb8829a-d699-43d0-b7dd-78dad44b059en%40apereo.org?utm_medium=email&utm_source=footer> >> . >> > -- - Website: https://apereo.github.io/cas - Gitter Chatroom: https://gitter.im/apereo/cas - List Guidelines: https://goo.gl/1VRrw7 - Contributions: https://goo.gl/mh7qDG --- You received this message because you are subscribed to the Google Groups "CAS Community" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/a/apereo.org/d/msgid/cas-user/09637fab-ba5b-4de3-a8f6-8e41fad57f51n%40apereo.org.
