<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body>
    Hi Didier,<br>
    <br>
    Please can you send me exactly what your preferences.php setting for
    'samlAttributesMap' looks like at the moment?<br>
    I don't know what the Google attributes map would look like, so
    would like to see the syntax to ensure that whatever solution I end
    up with does actually work with Google!<br>
    <br>
    And what are the "right-hand-side" values in that map that would
    give you the first name and last name?<br>
    <br>
    I'm thinking of a syntax where you could put something like<br>
    <tt>'displayName' =>
      '<a class="moz-txt-link-freetext" href="http://schemas.microsoft.com/identity/claims/forename">http://schemas.microsoft.com/identity/claims/forename</a> +
      <a class="moz-txt-link-freetext" href="http://schemas.microsoft.com/identity/claims/familyname">http://schemas.microsoft.com/identity/claims/familyname</a>',</tt><br>
    in the map. Then my code would concatenate the 2 with a single space
    in between.<br>
    <br>
    Would that work as a solution?<br>
    <br>
    <div class="moz-cite-prefix">Cheers,<br>
      Jules.<br>
      <br>
      On Tue 23/02/21 15:06, Didier METRAL via ZendTo wrote:<br>
    </div>
    <blockquote type="cite"
cite="mid:WM!47a73e439c4e25718098c360b661b89df6c17006f2663bb8ad7ed52187e9522267ead4857f7d5a17b72743b77d4cce52!@mx.jul.es">
      <meta http-equiv="content-type" content="text/html; charset=UTF-8">
      <div dir="ltr">Hello,
        <div><br>
        </div>
        <div>We just installed ZendTo in my company but we're facing a
          "problem" : We can't set displayName</div>
        <div>We are using Google for SAML authentification and Google
          can send user first name and last name but not in one
          attribute.</div>
        <div>The only attributes we can set in SamlAttributesMap
          are mail, uid displayName and Organization.</div>
        <div>Is there a way to use First Name and Last Name to generate
          displayName ?</div>
        <div><br clear="all">
          <div>
            <div dir="ltr" class="gmail_signature"
              data-smartmail="gmail_signature">
              <div dir="ltr">
                <div dir="ltr">
                  <div dir="ltr">
                    <div dir="ltr">
                      <div dir="ltr">
                        <div dir="ltr">
                          <div dir="ltr">
                            <div dir="ltr">
                              <div dir="ltr">
                                <div dir="ltr">
                                  <div dir="ltr">
                                    <div dir="ltr">
                                      <p style="margin:0cm 0cm 12pt">Regards,</p>
                                      <p style="margin:0cm 0cm 12pt"><b><span
style="font-size:10pt;font-family:Arial,sans-serif">Didier METRAL</span></b><br>
                                      </p>
                                    </div>
                                  </div>
                                </div>
                              </div>
                            </div>
                          </div>
                        </div>
                      </div>
                    </div>
                  </div>
                </div>
              </div>
            </div>
          </div>
        </div>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <pre class="moz-quote-pre" wrap="">_______________________________________________
ZendTo mailing list
<a class="moz-txt-link-abbreviated" href="mailto:ZendTo@zend.to">ZendTo@zend.to</a>
<a class="moz-txt-link-freetext" href="http://jul.es/mailman/listinfo/zendto">http://jul.es/mailman/listinfo/zendto</a>
</pre>
    </blockquote>
    <br>
    <pre class="moz-signature" cols="72">Jules

-- 
Julian Field MEng CEng CITP MBCS MIEEE MACM

'Always do sober what you said you'd do drunk. That will teach you
 to keep your mouth shut.' - Ernest Hemingway

<a class="moz-txt-link-abbreviated" href="http://www.Zend.To">www.Zend.To</a>
Twitter: @JulesFM
</pre>
  </body>
</html>