# SAML logout request NameID case sensitivity

**URL:** <https://community.auth0.com/t/saml-logout-request-nameid-case-sensitivity/197261>\
**Category:** Get Help\
**Tags:** application, addons\
**Created:** [February 13, 2026, 9:34am UTC](https://community.auth0.com/t/saml-logout-request-nameid-case-sensitivity/197261 "2026-02-13T09:34:40Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![elster](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/elster/32/14596_2.png) [@elster](https://community.auth0.com/u/elster)\
**Post date:** [February 13, 2026, 9:34am UTC](https://community.auth0.com/t/saml-logout-request-nameid-case-sensitivity/197261/1 "2026-02-13T09:34:40Z")

</div>

**Feature:** Support case sensitivity of NameID in SAML logout request

**Description:** We have a customer complaint that their SAML SLO (processed by Auth0’s SAML2 WEB APP Add-On) doesn’t work because they send the content of the NameID field in lowercase letters while the corresponding Auth0 user attribute is in uppercase letters. Would it be possible to support case insensitivity on Auth0 side or is there any other workaround or solution for this problem. I found this post in the community forum: [https://community.auth0.com/t/auth0-saml-logout-nameid-changed-to-lowercase-in-saml-logout-request/31590/2](https://community.auth0.com/t/auth0-saml-logout-nameid-changed-to-lowercase-in-saml-logout-request/31590/2) which describes exactly this problem.

---

<div class="post-metadata">

**Author:** ![nik.baleca](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/nik.baleca/32/68749_2.png) [@nik.baleca](https://community.auth0.com/u/nik.baleca)\
**Post date:** [March 4, 2026, 5:59pm UTC](https://community.auth0.com/t/saml-logout-request-nameid-case-sensitivity/197261/2 "2026-03-04T17:59:17Z")

</div>

Hi @elster

I have moved your topic from the Product Feedback page to the Get Help one for the following reasons:

- According to the SAML Core Specification, the `NameID` is an opaque identifier. The Service Provider must store it exactly as received in the SAML Assertion and return that **exact same string** in the `<LogoutRequest>` . By lowercasing the identifier, the SP is technically violating the specification.
- When Auth0 receives a `LogoutRequest` , it looks up the active session using the exact `NameID` string provided. If the user’s Auth0 ID is `auth0|User123` but the SP sends `auth0|user123` , Auth0 cannot safely assume they are the same user (as identifiers in some systems are case-sensitive) and aborts the logout.
- The ideal solution is to inform the customer/Service Provider that their SAML implementation is altering the `NameID` payload. They need to update their system to store and transmit the `NameID` preserving its original exact casing.
- If the SP cannot or will not fix their implementation, you can intercept the SAML login process on the Auth0 side and force the `NameID` to be lowercase _before_ it is sent to the SP. If you choose this option, ensure that your underlying user base does not rely on case-sensitivity for uniqueness. For example, if your database treats `UserA` and `usera` as two completely separate accounts, lowercasing the `NameID` could technically cause ID collisions in the SAML assertion, though this is exceedingly rare in modern identity systems (Auth0 standard database connections are case-insensitive for emails, and generated IDs are unique).

If you have more questions on the matter, let me know!

Kind Regards,  
Nik

---

<div class="post-metadata">

**Author:** ![JFoxUK](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/jfoxuk/32/78058_2.png) [@JFoxUK](https://community.auth0.com/u/JFoxUK)\
**Post date:** [March 4, 2026, 8:41pm UTC](https://community.auth0.com/t/saml-logout-request-nameid-case-sensitivity/197261/3 "2026-03-04T20:41:23Z")

</div>

I see Nik has answered and provided a solution but out of curiosity, is this the customer’s service provider/platform/software that is changing it to lower case or is it just stored incorrectly to start with on that system?

---

<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:** [March 18, 2026, 9:25pm UTC](https://community.auth0.com/t/saml-logout-request-nameid-case-sensitivity/197261/5 "2026-03-18T21:25:54Z")

</div>

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