Shibboleth SP: Extract saml2p:Response

Boyd, Todd M. tmboyd1 at
Thu Mar 12 16:46:57 EDT 2020

Shibboleth isn’t written in PHP, it’s written in Java. I don’t think you’ve articulated what you want to do, or perhaps you misunderstand where in the process you should be doing it. Shibboleth SP can map attributes to server headers if you want, and then you could use PHP to extract those server headers in your application.


From: users <users-bounces at> On Behalf Of Charlie Mos
Sent: Thursday, March 12, 2020 3:07 PM
To: Shib Users <users at>
Subject: Shibboleth SP: Extract saml2p:Response

CAUTION!: This email originated from outside of Columbia College.
A cloud service is passing attributes in the 'saml2p:Response' to a Shibboleth SP (both connected to our IdP).

In the Shibboleth SP -- is there a way via PHP to extract the saml2p:Response'?

<saml2p:Response SNIP
<saml2:Assertion SNIP
<saml2:Attribute Name="FOO">
            <saml2:AttributeValue xmlns:xs="" xmlns:xsi="" xsi:type="xs:string">BAR</saml2:AttributeValue>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the users mailing list