<div dir="ltr"><div>Hello everyone, <br><br></div>I'm facing the following issue: I succeed at configuring my SP so I can authenticate with IdP and I can get the attributes by checking /Shibboleth.sso/Session. But the problem is when I try to access this attribute from Php I fail. My php look like this:<br><blockquote style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex" class="gmail_quote"><div><div><?php <br></div>session_start(); <br></div>print_r($_SESSION);<br></blockquote><div> </div><div>My Httpd.conf have this setting:  <br><blockquote style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex" class="gmail_quote">#wso2<br><VirtualHost *:80><br>             DocumentRoot "/var/www/html/"<br>             ServerName <a href="http://wso2.shibboleth.example.com">wso2.shibboleth.example.com</a><br>              <Location /secure><br>                      AuthType shibboleth<br>                      ShibRequestSetting requireSession 1<br>                      ShibRequestSetting entityID wso2<br>                      ShibRequireSession On<br>                      ShibUseHeaders On<br>                      require shib-session<br>              </Location><br>              <Location /Shibboleth.sso><br>                        Satisfy Any<br>                        Allow from all<br>              </Location><br>              <Location /><br>                           AuthType shibboleth<br>                           Require shibboleth<br>              </Location><br></VirtualHost><br></blockquote><div> </div>Shibboleth2.xml  :<br><blockquote style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex" class="gmail_quote"><SPConfig xmlns="urn:mace:shibboleth:2.0:native:sp:config"<br>    xmlns:conf="urn:mace:shibboleth:2.0:native:sp:config"<br>    xmlns:saml="urn:oasis:names:tc:SAML:2.0:assertion"<br>    xmlns:samlp="urn:oasis:names:tc:SAML:2.0:protocol"<br>    xmlns:md="urn:oasis:names:tc:SAML:2.0:metadata"<br>    clockSkew="180"><br><br>  <ApplicationDefaults<br>     entityID="<a href="http://sp.shibboleth.example.com">sp.shibboleth.example.com</a>"<br>     REMOTE_USER="eppn persistent-id targeted-id"><br><br>    <Sessions lifetime="28800" timeout="3600" relayState="ss:mem"<br>              checkAddress="false" handlerURL="/Shibboleth.sso" handlerSSL="false" cookieProps="; path=/; domain=<a href="http://example.com">example.com</a>"><br>        <SSO><br>          SAML2<br>        </SSO><br>        <Logout>SAML2 Local</Logout><br>        <Handler type="MetadataGenerator" Location="/Metadata" signing="false"/><br>        <Handler type="Status" Location="/Status" acl="127.0.0.1 ::1"/><br>        <Handler type="Session" Location="/Session" showAttributeValues="false"/><br>        <Handler type="DiscoveryFeed" Location="/DiscoFeed"/><br>    </Sessions><br><br>    <MetadataProvider type="Chaining"><br>      <MetadataProvider type="XML" validate="true" file="/etc/shibboleth/openam_metadata.xml"/><br>      <MetadataProvider type="XML" validate="true" file="/etc/shibboleth/wso2_metadata.xml"/><br>    </MetadataProvider><br><br>    <AttributeExtractor type="XML" validate="true" reloadChanges="false" path="attribute-map.xml"/><br>    <AttributeResolver type="Query" subjectMatch="true"/><br>    <AttributeFilter type="XML" validate="true" path="attribute-policy.xml"/><br><br>  </ApplicationDefaults><br>  <SecurityPolicyProvider type="XML" validate="true" path="security-policy.xml"/><br>  <ProtocolProvider type="XML" validate="true" reloadChanges="false" path="protocols.xml"/><br><br></SPConfig><br></blockquote><br></div><div>What is missing in my config?<br></div></div>