Get Attributes from PHP
Peter Schober
peter.schober at univie.ac.at
Mon May 23 09:32:10 EDT 2016
* reda sabir <sabiretude at gmail.com> [2016-05-23 15:27]:
> 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:
>
> > <?php
> > session_start();
> > print_r($_SESSION);
Try the documentation:
https://wiki.shibboleth.net/confluence/display/SHIB2/NativeSPAttributeAccess#NativeSPAttributeAccess-Tool-SpecificExamples
I.e., use the $_SERVER superglobal, not $_SESSION.
-peter
More information about the users
mailing list