<div dir="ltr">Thanks Nate, Peter!<div><br></div><div>Here is the working settingĀ :)</div><div><br></div><div><br></div><div><span style="color:rgb(51,51,51);font-family:Helvetica,Arial,sans-serif;font-size:12px;font-weight:700">Identifier Path</span><br></div><div>/saml2p:Response/saml2:Assertion/saml2:AttributeStatement/saml2:Attribute[@Name="urn:oid:1.3.6.1.4.1.5923.1.1.1.6"]/saml2:AttributeValue<br></div><div><br></div><div><br></div><div><span style="color:rgb(51,51,51);font-family:Helvetica,Arial,sans-serif;font-size:12px;font-weight:700">Session Index Path</span><br></div><div><font color="#333333" face="Helvetica, Arial, sans-serif"><span style="font-size:12px">/saml2p:Response/saml2:Assertion/saml2:AuthnStatement</span></font><br></div><div><br></div><div><br></div><div><span style="color:rgb(51,51,51);font-family:Helvetica,Arial,sans-serif;font-size:12px;font-weight:700">Email Path</span><br></div><div><font color="#333333" face="Helvetica, Arial, sans-serif"><span style="font-size:12px">/saml2p:Response/saml2:Assertion/saml2:AttributeStatement/saml2:Attribute[@Name="urn:oid:0.9.2342.19200300.100.1.3"]/saml2:AttributeValue</span></font><br></div><div><font color="#333333" face="Helvetica, Arial, sans-serif"><span style="font-size:12px"><b><br></b></span></font></div><div><font color="#333333" face="Helvetica, Arial, sans-serif"><span style="font-size:12px"><b><br></b></span></font></div><div><span style="color:rgb(51,51,51);font-family:Helvetica,Arial,sans-serif;font-size:12px;font-weight:700">First Name Path</span><font color="#333333" face="Helvetica, Arial, sans-serif"><span style="font-size:12px"><b><br></b></span></font></div><div><font color="#333333" face="Helvetica, Arial, sans-serif"><span style="font-size:12px">/saml2p:Response/saml2:Assertion/saml2:AttributeStatement/saml2:Attribute[@Name="urn:oid:2.5.4.42"]/saml2:AttributeValue</span></font><br></div><div><font color="#333333" face="Helvetica, Arial, sans-serif"><span style="font-size:12px"><b><br></b></span></font></div><div><font color="#333333" face="Helvetica, Arial, sans-serif"><span style="font-size:12px"><b><br></b></span></font></div><div><label for="saml_LastName" class="gmail-js-Hide" style="margin:0px 0px 4px;font-size:12px;line-height:1.5;display:block;clear:both;font-weight:bold;color:rgb(51,51,51);font-family:Helvetica,Arial,sans-serif">Last Name Path</label><label for="saml_LastName" class="gmail-js-Hide" style="margin:0px 0px 4px;line-height:1.5;display:block;clear:both"><font color="#333333" face="Helvetica, Arial, sans-serif"><span style="font-size:12px">/saml2p:Response/saml2:Assertion/saml2:AttributeStatement/saml2:Attribute[@Name="urn:oid:2.5.4.4]/saml2:AttributeValue</span></font><br></label></div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Jan 8, 2018 at 10:03 AM, Peter Schober <span dir="ltr"><<a href="mailto:peter.schober@univie.ac.at" target="_blank">peter.schober@univie.ac.at</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">* Klingenstein, Nate <<a href="mailto:nklingenstein@calstate.edu">nklingenstein@calstate.edu</a>> [2018-01-05 11:06]:<br>
<span class="">> They're giving you the ability to specify the precise path to<br>
> something in the assertion that you want to use for that purpose.<br>
> I've never seen that before.<br>
<br>
</span>Me neither. And while using XPath directly gives you a lot of power<br>
this would require more settings to be useful, mainly one to map<br>
(standard) XML Namespaces to (arbitrary) prefixes as used in the<br>
processed XML.<br>
<span class=""><br>
> There will be no defaults for Shibboleth since it depends on what<br>
> you send, but a best practice might be:<br>
><br>
> Identifier<br>
><br>
> /samlp:Response/saml:<wbr>Assertion/saml:<wbr>AttributeStatement/saml:<wbr>Attribute[@Name="urn:oid:1.3.<wbr>6.1.4.1.5923.1.1.1.6"]/saml:<wbr>AttributeValue<br>
><br>
> (eduPersonPrincipalName on the wire)<br>
<br>
</span>While that should help the OP identifying the desired attribute values<br>
my Shibboleth IDP v3.3.2 uses "saml2p" as prefix for the SAML protocol<br>
namespace (as indicated in the XML itself, of course, with<br>
xmlns:saml2p="urn:oasis:names:<wbr>tc:SAML:2.0:protocol") and "saml2" for<br>
the SAML assertion namespace<br>
(xmlns:saml2="urn:oasis:names:<wbr>tc:SAML:2.0:assertion").<br>
<br>
So for the IDPv3 the above should probably be (after decryption, but<br>
it's probably safe to assume the SP in question doesn't even support<br>
encryption) -- changing only the prefixes used:<br>
<br>
> /saml2p:Response/saml2:<wbr>Assertion/saml2:<wbr>AttributeStatement/saml2:<wbr>Attribute[@Name="urn:oid:1.3.<wbr>6.1.4.1.5923.1.1.1.6"]/saml2:<wbr>AttributeValue<br>
<br>
HTH,<br>
-peter<br>
<div class="HOEnZb"><div class="h5">--<br>
For Consortium Member technical support, see <a href="https://wiki.shibboleth.net/confluence/x/coFAAg" rel="noreferrer" target="_blank">https://wiki.shibboleth.net/<wbr>confluence/x/coFAAg</a><br>
To unsubscribe from this list send an email to <a href="mailto:users-unsubscribe@shibboleth.net">users-unsubscribe@shibboleth.<wbr>net</a><br>
</div></div></blockquote></div><br></div>