Retrieve NameID

George Glessner gglessner at serviceexpress.com
Fri Jun 29 09:39:59 EDT 2018


The NameID is set as the username from our IDP. I am able to access it on our php side with simpleSAMLphp with get_object_vars($this->session->getAuthData('saml:sp:NameID'))['value'] since it is passed over. I would like to be able to do something similar with Shibboleth if possible so I can set a variable to be equal to the result. 

Thank you

-----Original Message-----
From: users <users-bounces at shibboleth.net> On Behalf Of Rod Widdowson
Sent: Friday, June 29, 2018 9:34 AM
To: 'Shib Users' <users at shibboleth.net>
Subject: RE: Retrieve NameID

> This may be a simple question but I can't figure out how to obtain the 
> NameID (username) provided on authentication.

Nit, the NameID isn't the username unless you make it so

> Is there a
> request I can call to obtain this information? 

When? where?  In the logs? From the logged i9n Browser?  On the SP? From  a management console?

--
For Consortium Member technical support, see https://wiki.shibboleth.net/confluence/x/coFAAg
To unsubscribe from this list send an email to users-unsubscribe at shibboleth.net



More information about the users mailing list