<div dir="ltr"><div dir="ltr"><div dir="ltr"><div>Good afternoon:</div><div><br></div><div>I'm setting up some custom attribute through SPv3 and running into some headaches with empty values.  Our IdP defaults to empty if an attribute hasn't been set on a user's profile:</div><div><br></div><div> <saml2:Attribute Name="role" NameFormat="urn:oasis:names:tc:SAML:2.0:attrname-format:unspecified"><br>  <saml2:AttributeValue xmlns:xs="<a href="http://www.w3.org/2001/XMLSchema">http://www.w3.org/2001/XMLSchema</a>" xmlns:xsi="<a href="http://www.w3.org/2001/XMLSchema-instance">http://www.w3.org/2001/XMLSchema-instance</a>" xsi:type="xs:string"/><br></saml2:Attribute></div><div><br></div><div>I currently have the attribute mapped like so:</div><div><br></div><div><Attribute name="role" id="role"><br>  <AttributeDecoder xsi:type="StringAttributeDecoder" caseSensitive="false"/><br></Attribute></div><div><br></div><div>The issue I'm seeing is that when the value is blank from the IdP the SP omits the attribute.  If I go to Shibboleth.sso/Session in my browser the assertion isn't listed under attributes.  I'd prefer to have it set with the empty string rather than be omitted, reason being that right now I can't tell if the attribute is omitted because it's blank in the user's profile or if it's omitted because of a configuration error.  Is it possible to set the attribute to the empty string if the attribute value in the assertion is empty?<br></div><div><br></div><div><div><div dir="ltr" class="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><span style="font-size:12.8px">--Tom Noonan II</span><br></div></div></div></div></div></div></div></div></div></div>