# React SDK - logout from all devices

**URL:** <https://community.auth0.com/t/react-sdk-logout-from-all-devices/176006>\
**Category:** Get Help\
**Tags:** user-password-management, user-management\
**Created:** [January 29, 2025, 12:49pm UTC](https://community.auth0.com/t/react-sdk-logout-from-all-devices/176006 "2025-01-29T12:49:40Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![felix5](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/felix5/32/61986_2.png) [@felix5](https://community.auth0.com/u/felix5)\
**Post date:** [January 29, 2025, 12:49pm UTC](https://community.auth0.com/t/react-sdk-logout-from-all-devices/176006/1 "2025-01-29T12:49:40Z")

</div>

Ready to post? 🔍 First, try searching for your answer.  
hey all,

We are using 2FA and refresh tokens and we would like to know:

1. what is the recommended way to logout a user from all known devices? I did not find any option in the SDK to do that.
2. is there any way to get a list of all known devices for a user via the SDK?

Thanks!

---

<div class="post-metadata">

**Author:** ![Fario\_Consulting](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/fario_consulting/32/60590_2.png) [@Fario\_Consulting](https://community.auth0.com/u/Fario_Consulting)\
**Post date:** [January 31, 2025, 12:47pm UTC](https://community.auth0.com/t/react-sdk-logout-from-all-devices/176006/3 "2025-01-31T12:47:48Z")

</div>

Hi,  
You could look into using the Management API’s Logout endpoint…it will ensure that users are logged out of all sessions and need to re-authenticate

---

<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:** [February 24, 2025, 1:42am UTC](https://community.auth0.com/t/react-sdk-logout-from-all-devices/176006/4 "2025-02-24T01:42:59Z")

</div>

Hi @felix5

Welcome to the Auth0 Community!

You can manage users’ session from the Management API endpoint, which you can find more about here → [Manage User Sessions with Auth0 Management API](https://auth0.com/docs/manage-users/sessions/manage-user-sessions-with-auth0-management-api)

Thanks  
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:** [March 10, 2025, 1:43am UTC](https://community.auth0.com/t/react-sdk-logout-from-all-devices/176006/5 "2025-03-10T01:43:34Z")

</div>

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