# Full name mapping when using SAML

**URL:** <https://meta.discourse.org/t/full-name-mapping-when-using-saml/100143>\
**Category:** SSO\
**Created:** [October 22, 2018, 7:14am UTC](https://meta.discourse.org/t/full-name-mapping-when-using-saml/100143 "2018-10-22T07:14:25Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![Siedlerchr](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/siedlerchr/32/242748_2.png) [@Siedlerchr](https://meta.discourse.org/u/Siedlerchr)\
**Post date:** [December 7, 2021, 9:36am UTC](https://meta.discourse.org/t/full-name-mapping-when-using-saml/100143/2 "2021-12-07T09:36:34Z")

</div>

For anyone else searching for a solution:

We had the same problem and only found a solution when looking into the soure code:

> <https://github.com/discourse/discourse-saml/blob/d5001ba62a5d8fea64cf5835dd0431c63647c0a7/lib/saml_authenticator.rb#L131-L137>

`fullName` is ignored.  
You have to have a mapping to the fields `firstName` and `lastName` for discourse in your Identity provider (We used Keycloak)

---

_[View the full topic](https://meta.discourse.org/t/full-name-mapping-when-using-saml/100143)._
