<div dir="ltr">We have done this with other SP's for a custom attribute they want. We don't like doing custom attributes, but this works for us.<div><div><br></div><div>In the attribute-resolver.xml, you want to do something like this.<br><br><AttributeDefinition xsi:type="Simple" id="username" ><br> <InputDataConnector ref="myLDAP" attributeNames="uid" /><br> <AttributeEncoder xsi:type="SAML2String" name="username" /><br></AttributeDefinition></div><div><br></div><div>or if they need OID with a friendly name.</div><div><br></div><div> <AttributeDefinition xsi:type="Simple" id="username" ><br> <InputDataConnector ref="myLDAP" attributeNames="uid" /><br> <AttributeEncoder xsi:type="SAML1String" name="urn:mace:dir:attribute-def:uid" /><br> <AttributeEncoder xsi:type="SAML2String" name="urn:oid:0.9.2342.19200300.100.1.1" friendlyName="username" /></div><div> </AttributeDefinition><br><br>Then in attribute-filter.xml release the username to Tableau. Put the entityID for Tableau in the value field below.<br>You can then test with SAML tracer or via shib logs on what is being released to that SP.<br><br><AttributeFilterPolicy id="Tableau"><br> <PolicyRequirementRule xsi:type="Requester" value="<a href="https://tableau.example.com">https://tableau.example.com</a>" /><br> <AttributeRule attributeID="username"><br> <PermitValueRule xsi:type="ANY" /><br> </AttributeRule><br></AttributeFilterPolicy><br></div><div><br></div><div>Hope this helps.</div></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, Jun 13, 2023 at 6:16 AM Arron Merrill via users <<a href="mailto:users@shibboleth.net">users@shibboleth.net</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">Good morning all,<div><br></div><div>We are having difficulty with setting up a working configuration with Tableau (I have seen a similar thread from August 2022). We are releasing 'uid', 'mail' and 'displayName'. Tableau is insisting that we need to release a new attribute, 'username', containing the uid value. </div><div><br></div><div>At first I tried using a transcoding rule specific to Tableau to translate the <a href="http://saml2.name" target="_blank">saml2.name</a> of 'uid' to 'username' but Tableau was not accepting this.</div><div><br></div><div>From Scott's reply in the earlier thread, mapping a non-mail identifier to a custom attribute was the solution. Mapping 'uid' to a custom 'username' attribute in the resolver should achieve the desired result?</div><div><br></div><div>Kind regards,</div><div>Arron<br clear="all"><div><br></div><span class="gmail_signature_prefix">-- </span><br><div dir="ltr" class="gmail_signature"><div dir="ltr"><font color="#999999">Arron Merrill - Identity Systems</font><div><font color="#999999">IT Services, University of York</font></div></div></div></div></div>
-- <br>
For Consortium Member technical support, see <a href="https://shibboleth.atlassian.net/wiki/x/ZYEpPw" rel="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">users-unsubscribe@shibboleth.net</a><br>
</blockquote></div><br clear="all"><div><br></div><span class="gmail_signature_prefix">-- </span><br><div dir="ltr" class="gmail_signature"><div dir="ltr"><div><div>Lee Foltz</div><div>Oakland University - UTS</div><div>Senior Identity and Access Management Engineer</div><div> </div><div>248-370-2675</div></div></div></div>