React SDK - logout from all devices

Ready to post? :mag: 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!

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

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

Thanks
Dawid

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