<div dir="auto"><div>Sam,</div><div dir="auto"><br></div><div dir="auto">We would have to know a lot more about your configuration to tell you for sure, but given that the attributes are being set but not populated, the most likely explanation by far is that you don't have the page itself protected by Shibboleth.  Cookies will always be sent by the browser, but attributes will not be provided to unprotected resources.</div><div dir="auto"><br></div><div dir="auto">This can be done either in the httpd configuration or in shibboleth2.xml, but it's generally cleaner to do it in the httpd configuration.</div><div dir="auto"><br></div><div dir="auto">You can verify my hunch by placing a phpinfo page in a directory with a /secure URL path and accessing it, or more preferably, look at the configuration for /secure that the installer generated in /etc/httpd/conf.d/shib.conf and port it appropriately to protect the URL path for your page.</div><div dir="auto"><br></div><div dir="auto">Hope this helps,</div><div dir="auto">Nate<br><br><div class="gmail_quote" dir="auto"><div dir="ltr" class="gmail_attr">On Wed, Oct 19, 2022, 3:39 AM Samsamoddin Rajaei <<a href="mailto:Samsamoddin.Rajaei@bsb-muenchen.de">Samsamoddin.Rajaei@bsb-muenchen.de</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">



<div style="font:10pt/normal Segoe UI;font-size-adjust:none;font-stretch:normal"><div id="m_5347252660786715265GroupWiseSection_1666172035000_Samsamoddin.Rajaei@bsb-muenchen.de_310B730118D300009562736233336463_"><div>Hello everybody,</div><div><br></div><div>I am trying to connect our Vufind application with Shibboleth SP and can not get SP to forward environement variables back to Vufind. <br>When in Vufind application I click the login link, I will be forwarded to the configured federation and then to our test-idp. After entering my credentials I will be forwarded back to my configured "sessionHook"-Page, where I output the phpinfo.</div><div><br></div><div>In SP transaction log file I see following entries:  <br>New session (ID: _804ca556ed17194f42e849338182672f) with (applicationId: historicumtest) for principal from (IdP: ...) at (ClientAddress: ...) with (NameIdentifier: none) using (Protocol: urn:oasis:names:tc:SAML:2.0:protocol) from (AssertionID: _96593f1b531e459c466f3cf6702acb80)  <br>Cached the following attributes with session (ID: _804ca556ed17194f42e849338182672f) for (applicationId: historicumtest) {<br>    uid (1 values)    <br> targeted-id (1 values)    <br> affiliation (1 values)    <br> entitlement (1 values)  <br>}<br>In phpinfo I can see different Shibboleth cookies among others the session cookie with the same id as in log file ( _shibsession_nnn=ID). But I don't see any of shibboleth statndard apache environement variables, like Shib-Application-ID and Shib-Identity-Provider nor anything of uid, targeted-id, affiliation and entitlement.<br>How can I get uid, targeted-id ,... forwarded to my "sessionHook"-Page?<br> </div><div>Thank you for any hint.</div><div>Sam</div><div>Bavarian State library - Munich<br></div></div></div>
-- <br>
For Consortium Member technical support, see <a href="https://shibboleth.atlassian.net/wiki/x/ZYEpPw" rel="noreferrer noreferrer" target="_blank">https://shibboleth.atlassian.net/wiki/x/ZYEpPw</a><br>
To unsubscribe from this list send an email to <a href="mailto:users-unsubscribe@shibboleth.net" target="_blank" rel="noreferrer">users-unsubscribe@shibboleth.net</a><br>
</blockquote></div></div></div>