# The ‘givenname’ and ‘surname’ are missing from the SSO attributes

**URL:** <https://community.auth0.com/t/the-givenname-and-surname-are-missing-from-the-sso-attributes/79487>\
**Category:** Get Help\
**Tags:** endpoint, auth0, saml\
**Created:** [March 8, 2022, 11:24am UTC](https://community.auth0.com/t/the-givenname-and-surname-are-missing-from-the-sso-attributes/79487 "2022-03-08T11:24:56Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![vashan](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/vashan/32/33629_2.png) [@vashan](https://community.auth0.com/u/vashan)\
**Post date:** [March 8, 2022, 11:24am UTC](https://community.auth0.com/t/the-givenname-and-surname-are-missing-from-the-sso-attributes/79487/1 "2022-03-08T11:24:56Z")

</div>

Hello Community,

My notes on this:

From the Applications screen on the Dashboard Selected the web application:

 ![image001-2](https://global.discourse-cdn.com/auth0/original/3X/3/4/34f02a0a36474e638e1090952c1bd862791fc367.png)

Then selected Settings tab and scrolled to advanced settings expanded that and selected Endpoints:

 ![image002](https://global.discourse-cdn.com/auth0/original/3X/d/1/d18d4abb1e04d777a8eb7c437ccc38bb332124f8.png)

Took the SAML Metadata URL and viewed the page: (redacted some data.)

\<SingleLogoutService Binding=“urn:oasis:names:tc:SAML:2.0:bindings:HTTP-Redirect” Location=/\>

\<SingleLogoutService Binding=“urn:oasis:names:tc:SAML:2.0:bindings:HTTP-POST” Location=/\>

urn:oasis:names:tc:SAML:1.1:nameid-format:emailAddress

urn:oasis:names:tc:SAML:2.0:nameid-format:persistent

urn:oasis:names:tc:SAML:2.0:nameid-format:transient

\<SingleSignOnService Binding=“urn:oasis:names:tc:SAML:2.0:bindings:HTTP-Redirect” Location=/\>

\<SingleSignOnService Binding=“urn:oasis:names:tc:SAML:2.0:bindings:HTTP-POST” Location=/\>

This shows Attributes named

[http://schemas.xmlsoap.org/ws/2005/05/identity/claims/emailaddress](http://schemas.xmlsoap.org/ws/2005/05/identity/claims/emailaddress)

[http://schemas.xmlsoap.org/ws/2005/05/identity/claims/givenname](http://schemas.xmlsoap.org/ws/2005/05/identity/claims/givenname)

[http://schemas.xmlsoap.org/ws/2005/05/identity/claims/name](http://schemas.xmlsoap.org/ws/2005/05/identity/claims/name)

[http://schemas.xmlsoap.org/ws/2005/05/identity/claims/surname](http://schemas.xmlsoap.org/ws/2005/05/identity/claims/surname)

When testing the Single Sign On the attributes seen are: (redacted some data.)

[http://schemas.xmlsoap.org/ws/2005/05/identity/claims/nameidentifier](http://schemas.xmlsoap.org/ws/2005/05/identity/claims/nameidentifier) = auth0|

[http://schemas.xmlsoap.org/ws/2005/05/identity/claims/emailaddress=](http://schemas.xmlsoap.org/ws/2005/05/identity/claims/emailaddress=) [support@complisoft.com](mailto:support@complisoft.com)

[http://schemas.xmlsoap.org/ws/2005/05/identity/claims/name](http://schemas.xmlsoap.org/ws/2005/05/identity/claims/name) = [support@complisoft.com](mailto:support@complisoft.com)

[http://schemas.xmlsoap.org/ws/2005/05/identity/claims/upn](http://schemas.xmlsoap.org/ws/2005/05/identity/claims/upn) = [support@complisoft.com](mailto:support@complisoft.com)

[http://schemas.auth0.com/identities/default/connection](http://schemas.auth0.com/identities/default/connection) = Username-Password-Authentication

[http://schemas.auth0.com/identities/default/provider](http://schemas.auth0.com/identities/default/provider) = auth0

[http://schemas.auth0.com/identities/default/issocial](http://schemas.auth0.com/identities/default/issocial) = false

[http://schemas.auth0.com/clientid](http://schemas.auth0.com/clientid) =

[http://schemas.auth0.com/created\_at](http://schemas.auth0.com/created_at) = Tue Mar 01 2022 13:14:47 GMT+0000 (Coordinated Universal Time)

[http://schemas.auth0.com/email\_verified](http://schemas.auth0.com/email_verified) = true

[http://schemas.auth0.com/nickname](http://schemas.auth0.com/nickname) = support

[http://schemas.auth0.com/picture](http://schemas.auth0.com/picture) = [https://s.gravatar.com/avatar/e915aafad6d134e53a53a3e272e529c5?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fsu.png](https://s.gravatar.com/avatar/e915aafad6d134e53a53a3e272e529c5?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fsu.png)

[http://schemas.auth0.com/updated\_at](http://schemas.auth0.com/updated_at) = Wed Mar 02 2022 09:34:01 GMT+0000 (Coordinated Universal Time)

The ‘givenname’ and ‘surname’ are missing

Were will I be able to find this?

Regards,  
Vashan

---

<div class="post-metadata">

**Author:** ![hassanmunir](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/hassanmunir/32/58698_2.png) [@hassanmunir](https://community.auth0.com/u/hassanmunir)\
**Post date:** [July 18, 2024, 10:34am UTC](https://community.auth0.com/t/the-givenname-and-surname-are-missing-from-the-sso-attributes/79487/2 "2024-07-18T10:34:38Z")

</div>

Do the following:

Applications → Select Application that has SSO configures → Addons → SAML 2 → Settings

```auto
{
  ...all your settings
  "mappings": {
    "user_id": "http://schemas.xmlsoap.org/ws/2005/05/identity/claims/nameidentifier",
    "email": "http://schemas.xmlsoap.org/ws/2005/05/identity/claims/emailaddress",
    "name": "http://schemas.xmlsoap.org/ws/2005/05/identity/claims/givenname",
    "nickname": "http://schemas.xmlsoap.org/ws/2005/05/identity/claims/surname"
  }
}

```

See that name and nickname are mapped to givenname ([http://schemas.xmlsoap.org/ws/2005/05/identity/claims/givenname](http://schemas.xmlsoap.org/ws/2005/05/identity/claims/givenname)) and surname ([http://schemas.xmlsoap.org/ws/2005/05/identity/claims/surname](http://schemas.xmlsoap.org/ws/2005/05/identity/claims/surname)).

You can map any property from user profile to these. For SSO to work we need these properties in our auth0 user, and map them respectively.

---

<div class="post-metadata">

**Author:** ![dawid.matuszczyk](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/dawid.matuszczyk/32/74550_2.png) [@dawid.matuszczyk](https://community.auth0.com/u/dawid.matuszczyk)\
**Post date:** [July 18, 2024, 11:14am UTC](https://community.auth0.com/t/the-givenname-and-surname-are-missing-from-the-sso-attributes/79487/3 "2024-07-18T11:14:33Z")

</div>

Thank you for providing solution to this topic @hassanmunir!

Dawid

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/auth0/original/3X/b/5/b560f266932fcce5d57f09a6595bd50518cae3f3.jpeg) [@system](https://community.auth0.com/u/system)\
**Post date:** [August 1, 2024, 11:15am UTC](https://community.auth0.com/t/the-givenname-and-surname-are-missing-from-the-sso-attributes/79487/4 "2024-08-01T11:15:17Z")

</div>

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.
