Get Attributes from PHP

reda sabir sabiretude at gmail.com
Mon May 23 09:38:48 EDT 2016


Thank you very much, it's working with $_SERVER. I did saw it without
paying too much attention.

2016-05-23 15:32 GMT+02:00 Peter Schober <peter.schober at univie.ac.at>:

> * 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
> --
> To unsubscribe from this list send an email to
> users-unsubscribe at shibboleth.net
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://shibboleth.net/pipermail/users/attachments/20160523/eef52247/attachment.html>


More information about the users mailing list