# What does one do with Invalid SessionIndex/NameID

**URL:** <https://community.auth0.com/t/what-does-one-do-with-invalid-sessionindex-nameid/198981>\
**Category:** Get Help\
**Tags:** protocols, saml\
**Created:** [April 15, 2026, 2:53pm UTC](https://community.auth0.com/t/what-does-one-do-with-invalid-sessionindex-nameid/198981 "2026-04-15T14:53:54Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![jsoref](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/jsoref/32/12921_2.png) [@jsoref](https://community.auth0.com/u/jsoref)\
**Post date:** [April 15, 2026, 2:53pm UTC](https://community.auth0.com/t/what-does-one-do-with-invalid-sessionindex-nameid/198981/1 "2026-04-15T14:53:54Z")

</div>

We got an event:

```auto
{
  "date": "...",
  "type": "flo",
  "description": "Invalid SessionIndex/NameID",
  "connection_id": "",
  "client_id": "...",
  "client_name": "...",
  "ip": "...",
  "user_agent": "Edge 146.0.0 / Windows 10.0.0",
  "details": {
    "allowed_logout_url": []
  },
  "hostname": "...",
  "user_id": "",
  "user_name": "",
  "$event_schema": {
    "version": "1.0.0"
  },
  "environment_name": "prod-us-1",
  "log_id": "90020260415064732185324000000000000001223372168442629092",
  "tenant_name": "...",
  "_id": "90020260415064732185324000000000000001223372168442629092",
  "isMobile": false,
  "location_info": {},
  "id": "90020260415064732185324000000000000001223372168442629092"
}

```

the context had:

```auto
{
  "allowed_logout_url": []
}

```

The IP address points to a shared IP used by the partner whose system is providing the SAML connection, and that partner also provides the same browser to pretty much everyone served by that IP address, so it isn’t terribly helpful.

It might be possible for us to time-correlate to other logs to our website, but I’m not terribly optimistic.

---

<div class="post-metadata">

**Author:** ![remus.ivan](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/remus.ivan/32/68771_2.png) [@remus.ivan](https://community.auth0.com/u/remus.ivan)\
**Post date:** [April 15, 2026, 8:46pm UTC](https://community.auth0.com/t/what-does-one-do-with-invalid-sessionindex-nameid/198981/3 "2026-04-15T20:46:16Z")

</div>

Hi @jsoref,

Welcome back to the Auth0 Community!

This is a “Failed Logout” event, indicated by the `"type": "flo"` in the log. The error message `"description": "Invalid SessionIndex/NameID"` points to an issue with the SAML Single Logout (SLO) process. In other terms, the the Identity Provider, so in this case Auth0, received a logout request it couldn’t validate, which is why the logout failed.

The root cause of this issue is very likely the empty `allowed_logout_url` array in the log’s `details` section. When a user logs out, the identity provider needs to redirect them back to a pre-approved URL, so the URL the user is being redirected to needs to be added to the **Allowed Logout URLs** list in your Auth0 tenant settings, as mentioned by our [Redirect users after logout](https://auth0.com/docs/authenticate/login/logout) documentation.

Please let me know if this helped.  
Best regards,  
Remus

---

<div class="post-metadata">

**Author:** ![jsoref](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/jsoref/32/12921_2.png) [@jsoref](https://community.auth0.com/u/jsoref)\
**Post date:** [April 27, 2026, 2:55pm UTC](https://community.auth0.com/t/what-does-one-do-with-invalid-sessionindex-nameid/198981/4 "2026-04-27T14:55:33Z")

</div>

Is this more likely to be caused by a client providing garbage content? The log doesn’t include starting URLs or anything, so this not particularly actionable.

---

<div class="post-metadata">

**Author:** ![remus.ivan](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/remus.ivan/32/68771_2.png) [@remus.ivan](https://community.auth0.com/u/remus.ivan)\
**Post date:** [April 29, 2026, 5:09pm UTC](https://community.auth0.com/t/what-does-one-do-with-invalid-sessionindex-nameid/198981/5 "2026-04-29T17:09:15Z")

</div>

Hi @jsoref,

You’re right that the log doesn’t pinpoint to only a specific user’s session, but this log is actionable because it points to a configuration issue in how your application handles SAML logouts.

The error **“Invalid SessionIndex/NameID”** means your application is sending a logout request to Auth0 that is missing the required information to identify which session to end.

This is an issue with your application’s code, not the user’s browser. To fix this for all users, you can try to correct the:

1. **Logout Request:** Ensure your application’s code correctly includes the `SessionIndex` and `NameID` in the SAML `LogoutRequest` it sends to Auth0.
2. **Auth0 Settings:** Add your application’s post-logout page to the **“Allowed Logout URLs”** list in your Auth0 application settings. This is a mandatory security step and can cause failures even if the logout request is perfect.

You can also check out this articles:

- [SAML Logout Request Fails with “No active session(s) found matching LogoutRequest” Error](https://support.auth0.com/center/s/article/SAML-Logout-request-fails-with-No-active-session-s-found-matching-LogoutRequest-error)
- [Error at Logout from Third Party Application “No active session(s) found matching LogoutRequest”](https://support.auth0.com/center/s/article/No-active-session-s-found-matching-LogoutRequest)
- [Single Logout with Auth0 as the SAML IdP](https://support.auth0.com/center/s/article/Single-logout-where-Auth0-is-the-SAML-IdP)

I hope this helps and if you have other questions please let me know!  
Best regards,  
Remus

---

<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:** [May 13, 2026, 5:09pm UTC](https://community.auth0.com/t/what-does-one-do-with-invalid-sessionindex-nameid/198981/6 "2026-05-13T17:09:16Z")

</div>

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